@layer base, shell, editorial, interaction, responsive;

@layer base {
  :root {
    color-scheme: light;
    --page: #fbf8ee;
    --paper: #fffdf6;
    --ink: #29233a;
    --muted: #625963;
    --line: #e3dac7;
    --purple: #524078;
    --purple-deep: #342748;
    --lime: #ecf48e;
    --font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
    --display: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); line-height: 1.65; }
  h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
  h2, h3, h4 { line-height: 1.25; }
  img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
  button, select, summary { font: inherit; color: inherit; }
  button, summary { cursor: pointer; }
  button:disabled { cursor: default; opacity: .5; }
  :focus-visible { outline: 3px solid #806421; outline-offset: 4px; }
  [hidden], [data-js] { display: none !important; }
  html[data-script="ready"] [data-js]:not([hidden]) { display: flex !important; }
  html[data-script="ready"] select[data-js]:not([hidden]) { display: inline-block !important; }
  [id] { scroll-margin-top: 1.25rem; }
  [data-tone="sage"] { --tone: #cddfc5; --wash: #e7edde; }
  [data-tone="lilac"] { --tone: #c8b8e1; --wash: #ede4f5; }
  [data-tone="peach"] { --tone: #efb9a0; --wash: #f8e2d5; }
  [data-tone="stone"] { --tone: #bcc6d6; --wash: #e4e9ef; }
  [data-tone="ochre"] { --tone: #edd19b; --wash: #f8edd4; }
  [data-tone="rose"] { --tone: #e6bccb; --wash: #f4e3e9; }
}

@layer shell {
  .c14zadcbel { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
  .czed8vmhg7 { position: fixed; z-index: 5; inset: .6rem auto auto .6rem; padding: .6rem 1rem; background: var(--paper); transform: translateY(-150%); }
  .czed8vmhg7:focus { transform: none; }
  .erm90ji58b { background: var(--paper); border-bottom: 1px solid var(--line); }
  .erm90ji58b > div { display: grid; min-height: 74px; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .y90jqho729 { font-size: 1.36rem; line-height: 1; letter-spacing: -.04em; }
  .y90jqho729 a { display: flex; align-items: center; gap: .65rem; text-decoration: none; white-space: nowrap; }
  .a7258b2t0j { display: grid; width: 37px; height: 36px; place-items: center; background: var(--lime); border: 1px solid var(--ink); border-radius: 11px 11px 3px 11px; box-shadow: 2px 2px 0 var(--ink); font-size: .95rem; }
  .id0fyxgfeh { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 40px); font-size: .9rem; }
  .id0fyxgfeh a, .alo3mtsjel { text-decoration: none; white-space: nowrap; }
  .id0fyxgfeh a:hover, .id0fyxgfeh a:focus-visible { text-decoration: underline; }
  .alo3mtsjel { padding: .42rem .85rem; border: 1px solid var(--line); border-radius: 9px; background: #f2edfb; font-size: .87rem; font-weight: 700; }
  .mv2tcbil0f { display: none; position: relative; }
  .mv2tcbil0f summary { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 8px; list-style: none; white-space: nowrap; }
  .mv2tcbil0f summary::-webkit-details-marker { display: none; }
  .mv2tcbil0f nav { position: absolute; inset: calc(100% + .55rem) 0 auto auto; z-index: 4; width: min(260px, 82vw); max-height: 65svh; overflow-y: auto; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 24px #392c3c19; }
  .mv2tcbil0f nav a { display: block; padding: .48rem .62rem; text-decoration: none; }
  .mv2tcbil0f nav a:hover, .mv2tcbil0f nav a:focus-visible { background: var(--wash, #f2edfb); }
}

@layer editorial {
  .oni1g7i5w3 { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(28px, 5vw, 72px); min-height: 490px; padding: clamp(35px, 6vw, 78px) 0 35px; }
  .ilkbyt4za5 { display: grid; justify-items: start; gap: 1rem; }
  .una1cvmh8n { width: fit-content; border: 1px solid currentColor; border-radius: 100px; padding: .2rem .7rem; color: #625243; font-size: .8rem; letter-spacing: .1em; font-weight: 700; }
  .ilkbyt4za5 h2 { font-size: clamp(2.45rem, 5.5vw, 5.2rem); font-weight: 900; letter-spacing: -.095em; line-height: 1.13; }
  .ilkbyt4za5 mark { color: var(--purple-deep); background: linear-gradient(transparent 67%, var(--lime) 67%, var(--lime) 93%, transparent 93%); }
  .ilkbyt4za5 > p:nth-of-type(2) { font-size: clamp(1rem, 1.58vw, 1.25rem); }
  .ilkbyt4za5 > p:nth-of-type(3) { max-width: 33em; color: var(--muted); }
  .ilkbyt4za5 > div, .sn6h8rm1oj > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .25rem; }
  .e9gjmxwne9, .eni1ovqdcb { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .65rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .e9gjmxwne9 { color: #fff; background: linear-gradient(115deg, #574078, #704b89); box-shadow: 0 4px 0 #332447; }
  .eni1ovqdcb { color: var(--ink); border-color: var(--line); background: var(--paper); }
  .e9gjmxwne9:hover, .eni1ovqdcb:hover, .alo3mtsjel:hover { filter: brightness(.94); }

  .e5wfml47ep { margin: 0; min-width: 0; }
  .a3yhwrehgf { display: flex; overflow: auto hidden; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; border: 1px solid #d4c9b5; border-radius: 17px 17px 54px 17px; background: #e6e0d4; }
  .a3yhwrehgf::-webkit-scrollbar { display: none; }
  .mpszihs7e9 { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; flex: 0 0 100%; min-width: 0; min-height: 360px; padding: 20px; gap: 0; overflow: hidden; isolation: isolate; scroll-snap-align: start; background: var(--wash); }
  .wvml4byxkv { position: relative; overflow: hidden; min-height: 300px; order: 2; isolation: isolate; border-radius: 10px 10px 37px 10px; background: var(--tone); }
  .wvml4byxkv::before { position: absolute; content: ""; z-index: -1; inset: 10% -26% -10% 14%; border: 1px solid #33264b24; border-radius: 50%; box-shadow: 0 0 0 12px #fbf8ee36, 0 0 0 26px #fbf8ee29, 0 0 0 43px #fbf8ee20; transform: rotate(-32deg); }
  .wvml4byxkv img { position: absolute; inset: 0; object-position: center; }
  .yt4fe1w7et { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(12px, 2.8vw, 32px) clamp(12px, 2vw, 28px) clamp(16px, 3.4vw, 39px) 8px; }
  .yt4fe1w7et::before { content: ""; width: 44px; height: 8px; margin-block: 0 auto; border-radius: 50% 6px 6px 50%; background: var(--purple-deep); opacity: .7; }
  .yt4fe1w7et p:first-of-type { color: #535058; font-size: .78rem; font-weight: 700; }
  .yt4fe1w7et h3 { margin: .55rem 0; font-family: var(--display); font-size: clamp(1.55rem, 3.1vw, 2.6rem); font-weight: 900; letter-spacing: -.08em; }
  .yt4fe1w7et p:nth-of-type(2) { font-size: .87rem; }
  .yt4fe1w7et a { margin-top: 1.1rem; font-size: .85rem; font-weight: 800; }
  .knixgb2xwv { min-height: 52px; align-items: center; justify-content: space-between; padding-top: .45rem; }
  .knixgb2xwv > div { display: flex; gap: .4rem; align-items: center; }
  .knixgb2xwv button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-weight: 700; }
  .knixgb2xwv button:hover { background: #f1e8f8; }
  .ctknqdo7qh button { border: 0; width: 31px; height: 40px; padding: 0; background: transparent; }
  .ctknqdo7qh button::before { content: ""; width: 8px; height: 8px; border: 1px solid #665871; border-radius: 12px; }
  .ctknqdo7qh button[aria-current="true"]::before { width: 22px; background: var(--purple); }

  .gx4j2h4jut { display: grid; grid-template-columns: .72fr repeat(3, 1fr); gap: 1rem; align-items: stretch; padding: .95rem; border-radius: 14px; background: #f0ebde; }
  .gx4j2h4jut > h2 { align-self: center; padding: .3rem .4rem; font-size: 1.07rem; }
  .i1gnqp4vax { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem .85rem; background: var(--paper); border: 1px solid #ece3d2; border-radius: 9px; }
  .i1gnqp4vax > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; background: #eae1f4; border-radius: 7px; font-weight: 900; }
  .i1gnqp4vax h3 { font-size: .96rem; margin-bottom: .26rem; }
  .i1gnqp4vax p { font-size: .83rem; color: var(--muted); }

  .kf6pgnu5on, .ulobq1onu1, .yf6xkbm5wr { display: grid; gap: clamp(22px, 4vw, 54px); margin-top: clamp(48px, 7vw, 94px); align-items: start; }
  .kf6pgnu5on { grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); }
  .ezuts3e10b { margin-bottom: 1.15rem; }
  .ezuts3e10b h2, .sn6h8rm1oj h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.06em; }
  .ezuts3e10b p { margin-top: .35rem; color: var(--muted); font-size: .93rem; }
  .stgr65w7m9 { display: grid; gap: .65rem; }
  .grm583ylcf { display: grid; grid-template-columns: minmax(52px, 74px) 1fr; gap: 1rem; align-items: center; min-height: 103px; padding: .58rem .8rem .58rem .58rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
  .grm583ylcf:hover { background: var(--wash); }
  .a1gz2tkvud { overflow: hidden; align-self: stretch; min-width: 0; background: var(--wash); border-radius: 6px; }
  .grm583ylcf .a1gz2tkvud { height: 88px; }
  .grm583ylcf h3 { font-size: 1.18rem; }
  .grm583ylcf p:not(.u3els7i947) { font-size: .89rem; color: var(--muted); }
  .grm583ylcf a, .g3utgvi5cv a { display: inline-block; margin-top: .28rem; color: #533a78; font-weight: 700; font-size: .83rem; }
  .u3els7i947 { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .045em; }
  .u9gf6t0j6p { padding: clamp(16px, 2.8vw, 30px); border: 1px solid #ddcdea; border-radius: 16px 16px 40px 16px; background: #f0e7f5; }
  .u9gf6t0j6p .ezuts3e10b h2 { font-size: clamp(1.42rem, 2.4vw, 2rem); }
  .gni9gvml87 { margin: 0; padding: 0; list-style: none; }
  .gni9gvml87 li { display: grid; grid-template-columns: 36px 1fr auto; gap: .65rem; align-items: center; padding: .64rem 0; border-top: 1px solid #dcccdf; }
  .gni9gvml87 li > span { font-variant-numeric: tabular-nums; font-weight: 800; color: #665680; }
  .gni9gvml87 li:first-child > span { color: #422b61; }
  .gni9gvml87 a { text-decoration: none; }
  .gni9gvml87 a:hover strong { text-decoration: underline; }
  .gni9gvml87 small { display: block; color: var(--muted); }
  .u9gf6t0j6p > p { margin-top: .7rem; color: #62566c; font-size: .78rem; }

  .ehofixwv6d { margin-top: clamp(48px, 7vw, 94px); padding-top: 1.75rem; border-top: 1px solid var(--line); }
  .sva5wf6x0b { align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
  .sva5wf6x0b button { min-height: 40px; padding: .35rem .83rem; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; }
  .sva5wf6x0b button[aria-pressed="true"] { border-color: var(--purple-deep); color: #fff; background: var(--purple-deep); }
  .sva5wf6x0b button:hover:not([aria-pressed="true"]) { background: #f4edfc; }
  .sva5wf6x0b span { margin-left: auto; color: var(--muted); font-size: .85rem; }
  .m9cfed8jm9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
  .g3utgvi5cv { display: grid; grid-template-columns: minmax(66px, 29%) minmax(0, 1fr); min-height: 151px; gap: .85rem; padding: .62rem; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
  .g3utgvi5cv:hover { box-shadow: 0 7px 16px #49313d12; border-color: #c0aeb7; }
  .g3utgvi5cv .a1gz2tkvud { position: relative; }
  .g3utgvi5cv img { position: absolute; inset: 0; }
  .g3utgvi5cv > div:nth-child(2) { align-self: center; }
  .g3utgvi5cv h3 { font-size: 1.15rem; margin: .12rem 0; }
  .g3utgvi5cv p:not(.u3els7i947) { font-size: .85rem; color: var(--muted); }

  .ulobq1onu1 { grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr); }
  .qn2t8nql8z { padding: clamp(14px, 2.7vw, 30px); color: #f9f2fc; border-radius: 22px 22px 32px 22px; background: var(--purple-deep); }
  .ctonm9cv2t { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .7rem; font-size: .88rem; }
  .ctonm9cv2t select { width: min(60%, 12rem); min-height: 39px; padding: .3rem .45rem; border: 1px solid #e9d9f2; border-radius: 6px; background: var(--paper); color: var(--ink); }
  .qzqp8jmlgn { position: relative; min-height: 224px; padding: clamp(17px, 4vw, 42px); color: var(--ink); border: 1px solid #f4e9cb; border-radius: 9px; background: linear-gradient(135deg, #fffcf1, #fbefcf); }
  .qzqp8jmlgn h3 { margin-top: .35rem; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.55rem); }
  .qzqp8jmlgn h4 { margin: .65rem 0 .3rem; font-size: .94rem; color: #544371; }
  .qzqp8jmlgn p:last-child { max-width: 42em; }
  .edsji9cjut { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .8rem; }
  .edsji9cjut button { min-height: 38px; padding: .25rem .75rem; color: #fff; background: #4d3d69; border: 1px solid #a197b3; border-radius: 7px; }
  .edsji9cjut button:hover:not(:disabled) { background: #63517d; }
  .edsji9cjut span { font-variant-numeric: tabular-nums; }
  .ejatkvqxcn { display: block; width: fit-content; margin: .75rem auto 0; color: #f4efa1; font-size: .87rem; }
  .sfitwzuh4b { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); background: var(--paper); border-radius: 15px; }
  .m9kv6tsvm1 { display: grid; gap: .65rem; margin: 0 0 1.3rem; padding: 0; list-style: none; counter-reset: instruction; }
  .m9kv6tsvm1 li { position: relative; padding: .52rem 0 .52rem 2.55rem; counter-increment: instruction; }
  .m9kv6tsvm1 li::before { content: counter(instruction); position: absolute; display: grid; place-items: center; width: 30px; height: 30px; inset: .52rem auto auto 0; background: var(--lime); border-radius: 50%; font-size: .85rem; font-weight: 800; }
  .m9kv6tsvm1 h3 { font-size: 1rem; }
  .m9kv6tsvm1 p { margin-top: .25rem; color: var(--muted); font-size: .86rem; }

  .yf6xkbm5wr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .oxsb2ds32x { display: grid; gap: .55rem; }
  .oxsb2ds32x figure { padding: .64rem .85rem; border-left: 3px solid #a891be; background: #f5efed; border-radius: 0 9px 9px 0; }
  .oxsb2ds32x blockquote { font-size: .93rem; }
  .oxsb2ds32x figcaption { margin-top: .2rem; color: var(--muted); font-size: .78rem; }
  .g7m14j2l87 details { border-bottom: 1px solid var(--line); }
  .g7m14j2l87 details:first-of-type { border-top: 1px solid var(--line); }
  .g7m14j2l87 summary { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .65rem 0; font-size: .95rem; font-weight: 700; list-style: none; }
  .g7m14j2l87 summary::-webkit-details-marker { display: none; }
  .g7m14j2l87 summary::after { content: "+"; color: #5b4478; font-size: 1.25rem; line-height: 1; }
  .g7m14j2l87 details[open] summary::after { content: "−"; }
  .g7m14j2l87 details p { padding-bottom: .75rem; color: var(--muted); font-size: .9rem; }

  .ql8j69szyx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 6vw, 82px); align-items: center; margin-top: clamp(48px, 7vw, 94px); padding: clamp(22px, 5vw, 64px); border-radius: 16px 16px 48px 16px; background: linear-gradient(120deg, #eee7f6, #ebdfeb 52%, #faead5); }
  .sn6h8rm1oj { display: grid; justify-items: start; gap: .65rem; }
  .sn6h8rm1oj > p:not(.una1cvmh8n) { max-width: 44em; }
  .ql8j69szyx > aside { min-width: 180px; padding: 1rem 1.3rem; border: 1px solid #dac9b7; outline: 5px solid #fffcf36a; border-radius: 6px 6px 20px 6px; background: #fff9eb; }
  .ql8j69szyx > aside p { font-weight: 800; }
  .ql8j69szyx ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem; margin: .45rem 0 0; padding: 0; color: var(--muted); font-size: .88rem; list-style: none; }
  .ql8j69szyx li::before { content: "□"; margin-right: .25rem; }

  .g5k76t0vq1 { margin-top: clamp(50px, 8vw, 109px); background: #eeeadf; border-top: 1px solid var(--line); }
  .g5k76t0vq1 > div { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: clamp(20px, 7vw, 100px); padding-top: clamp(25px, 5vw, 56px); }
  .g5k76t0vq1 h2 { font-size: 1.3rem; margin-bottom: .65rem; }
  .g5k76t0vq1 section p { color: var(--muted); font-size: .9rem; }
  .a3axoz6xcj div { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .87rem; }
  .adczixwzyd { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: .7rem; margin-top: 1.35rem; padding: .85rem 0; border-top: 1px solid #d8ccba; color: var(--muted); font-size: .85rem; }
}

@layer interaction {
  .e9gjmxwne9, .eni1ovqdcb, .grm583ylcf, .g3utgvi5cv { transition: background-color .18s, border-color .18s, box-shadow .18s, filter .18s; }
  .kl0z2l0nax { animation: welcome-in .42s ease-out both; }
  @keyframes welcome-in {
    from { opacity: .58; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@layer responsive {
  @media (max-width: 1040px) {
    .gx4j2h4jut { grid-template-columns: repeat(3, 1fr); }
    .gx4j2h4jut h2 { grid-column: 1 / -1; }
    .m9cfed8jm9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 850px) {
    .c14zadcbel { width: calc(100% - 44px); }
    .oni1g7i5w3 { gap: 23px; min-height: auto; }
    .mpszihs7e9 { min-height: 315px; padding: 13px; }
    .wvml4byxkv { min-height: 270px; }
    .yt4fe1w7et { padding-left: 3px; padding-right: 10px; }
    .erm90ji58b > div { gap: 12px; }
    .id0fyxgfeh { gap: 18px; }
  }

  @media (max-width: 700px) {
    .erm90ji58b > div { min-height: 62px; grid-template-columns: 1fr auto auto; }
    .id0fyxgfeh { display: none; }
    .mv2tcbil0f { display: block; }
    .oni1g7i5w3, .kf6pgnu5on, .ulobq1onu1, .yf6xkbm5wr { grid-template-columns: minmax(0, 1fr); }
    .oni1g7i5w3 { padding-top: 30px; padding-bottom: 23px; }
    .ilkbyt4za5 { gap: .75rem; }
    .ilkbyt4za5 h2 { font-size: clamp(2.55rem, 10vw, 4.2rem); }
    .mpszihs7e9 { min-height: 300px; }
    .wvml4byxkv { min-height: 270px; }
    .yt4fe1w7et { padding: 12px 12px 12px 5px; }
    .gx4j2h4jut { grid-template-columns: 1fr; gap: .45rem; }
    .kf6pgnu5on, .ulobq1onu1, .yf6xkbm5wr { gap: 30px; }
    .ql8j69szyx { grid-template-columns: 1fr; }
    .ql8j69szyx > aside { display: none; }
    .g5k76t0vq1 > div { grid-template-columns: 1fr; row-gap: 1.1rem; }
  }

  @media (max-width: 445px) {
    .c14zadcbel { width: calc(100% - 32px); }
    .erm90ji58b > div { gap: .45rem; }
    .y90jqho729 { font-size: 1.19rem; }
    .y90jqho729 a { gap: .5rem; }
    .a7258b2t0j { width: 31px; height: 30px; }
    .alo3mtsjel { padding: .33rem .42rem; font-size: .78rem; }
    .mv2tcbil0f summary { padding: .3rem .42rem; font-size: .84rem; }
    .mpszihs7e9 { min-height: 257px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
    .wvml4byxkv { min-height: 230px; }
    .yt4fe1w7et h3 { font-size: 1.35rem; }
    .yt4fe1w7et p:nth-of-type(2) { font-size: .8rem; }
    .yt4fe1w7et a { margin-top: .65rem; }
    .m9cfed8jm9 { grid-template-columns: 1fr; }
    .g3utgvi5cv { min-height: 126px; }
    .grm583ylcf .a1gz2tkvud { height: 76px; }
    .sva5wf6x0b span { margin-left: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }
}
