@layer base, layout, components, adaptations;

@layer base {
  :root {
    color-scheme: light;
    --ink: #201936;
    --dim: #514864;
    --surface: #faf9ff;
    --line: #e4def1;
    --accent: #5426bd;
    --focus: #3b6abd;
    --radius: 24px;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.65;
    scroll-padding-top: 92px;
    scroll-behavior: smooth;
  }

  *, *::before, *::after { box-sizing: border-box; }

  body, figure, blockquote, h1, h2, h3, p, ul, ol { margin: 0; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; }
  a, button, summary { -webkit-tap-highlight-color: transparent; }
  [hidden] { display: none !important; }

  :focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
  }

  h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -.035em; }
  h3 { font-size: 1.125rem; line-height: 1.35; }
  p { color: var(--dim); }
  img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
  main { padding-bottom: clamp(42px, 7vw, 100px); }

  [data-tone="lavender"] { --tint: #ebdfff; --shade: #7255a6; --deep: #32244d; }
  [data-tone="plum"] { --tint: #efddea; --shade: #8b5571; --deep: #442439; }
  [data-tone="blush"] { --tint: #ffe5de; --shade: #a16a76; --deep: #482d41; }
  [data-tone="mint"] { --tint: #d8efe6; --shade: #51776e; --deep: #294744; }
  [data-tone="blue"] { --tint: #dce7fb; --shade: #566a9a; --deep: #2c3760; }
  [data-tone="peach"] { --tint: #f9e6d4; --shade: #a3745e; --deep: #493030; }
}

@layer layout {
  .p6fj0yt42 { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
  .e9x4sf2p7, .z7vr1y4m3 { padding-block: clamp(40px, 5.4vw, 78px); }
  .z7vr1y4m3 { padding-top: 0; }

  .h1mg9tn60 {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
  }

  .h1mg9tn60 p { margin-top: 8px; }
  .b0yg4ca35 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .y2k5bm8d1, .b5s8xfk30, .f3tn0wq51 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

@layer components {
  .l8c0wu3na {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 30;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    transform: translateY(-160%);
  }

  .l8c0wu3na:focus { transform: translateY(0); }

  .m2ux0fk73 {
    position: sticky;
    z-index: 10;
    top: 0;
    background: #faf9fff5;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .q4sn5xu07 {
    position: relative;
    min-height: 70px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
  }

  .j8y1sm2ke { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 800; }
  .i8z2smq50 {
    position: relative;
    display: inline-block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(145deg, #8854f0, #5522bc);
  }

  .i8z2smq50::before, .i8z2smq50::after { position: absolute; content: ""; }
  .i8z2smq50::before { inset: 8px 7px; border: 1.5px solid white; border-radius: 4px; }
  .i8z2smq50::after {
    top: 12px;
    left: 14px;
    border-width: 4px 0 4px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
  }

  .d9t5wk4l0 { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
  .d9t5wk4l0 a { font-size: .9375rem; font-weight: 700; padding-block: 8px; }
  .d9t5wk4l0 a:hover, .r8mq0hx47:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
  .d9t5wk4l0 .n8v5eh3p1 {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--accent);
    background: #eee6fe;
  }

  .c0v2mrp61 {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .9375rem;
    font-weight: 700;
  }

  .c0v2mrp61 span {
    width: 15px;
    height: 10px;
    border-block: 2px solid currentColor;
  }

  .g2hk4nm61 {
    display: grid;
    grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
    align-items: center;
    gap: clamp(20px, 4vw, 60px);
    margin-top: 20px;
    border: 1px solid #e9dfff;
    border-radius: 32px;
    padding: clamp(26px, 4vw, 58px);
    padding-right: clamp(18px, 3vw, 44px);
    background: radial-gradient(ellipse at 88% 0%, #e1d3ff 0%, transparent 58%),
      linear-gradient(140deg, #f8f2ff 10%, #f3ebff 62%, #ebf7f3);
  }

  .s6nm3cj20 h1 { margin-bottom: 14px; font-size: 1rem; color: var(--accent); letter-spacing: .14em; }
  .s6nm3cj20 h1 a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .s6nm3cj20 h2 {
    font-size: clamp(2.8rem, 4.9vw, 5rem);
    line-height: 1.12;
    letter-spacing: -.08em;
    font-weight: 900;
  }

  .s6nm3cj20 em { font-style: normal; color: #6330cb; }
  .s6nm3cj20 > p:first-of-type { margin-top: 15px; font-size: clamp(1rem, 1.65vw, 1.22rem); color: var(--ink); font-weight: 750; }
  .s6nm3cj20 > p + p { margin-top: 7px; max-width: 25em; }
  .s6nm3cj20 .b0yg4ca35 { margin-top: 24px; }

  .a7k39mdq2, .x2pu75jd1 {
    display: inline-flex;
    min-height: 46px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 750;
    font-size: .9375rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  }

  .a7k39mdq2 {
    color: #fff;
    background: linear-gradient(115deg, #5122b9, #783fdb);
    box-shadow: 0 8px 18px #5822b62e;
  }

  .x2pu75jd1 { background: #fff; color: var(--accent); border-color: #d9c9fb; }
  .a7k39mdq2:hover, .x2pu75jd1:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #49269d39; }
  .f4e7hqa29 { min-width: 0; }

  .t2gr6nc18 {
    --snap-width: 79%;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #a992c9 transparent;
    border-radius: 19px;
  }

  [data-enhanced] .t2gr6nc18 { scrollbar-width: none; }
  .t2gr6nc18::after { content: ""; flex: 0 0 calc(100% - var(--snap-width) - 12px); }

  .t2gr6nc18 figure {
    position: relative;
    isolation: isolate;
    flex: 0 0 var(--snap-width);
    height: clamp(330px, 34vw, 455px);
    overflow: hidden;
    border-radius: 19px;
    scroll-snap-align: start;
    background: linear-gradient(145deg, var(--shade), var(--deep));
  }

  .t2gr6nc18 img { position: absolute; inset: 0; }
  .t2gr6nc18 figure::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(0deg, #150c21eb 0%, #150c21ac 21%, transparent 52%);
    pointer-events: none;
  }

  .t2gr6nc18 figcaption {
    position: absolute;
    z-index: 1;
    bottom: 19px;
    left: 22px;
    right: 18px;
    display: grid;
    gap: 2px;
    color: white;
  }

  .t2gr6nc18 figcaption span { font-size: .875rem; font-weight: 650; color: #fcf6ff; }
  .t2gr6nc18 figcaption strong { font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.2; }

  .u6z3bg8f2, .u6z3bg8f2 > div { display: flex; align-items: center; }
  .u6z3bg8f2 { justify-content: space-between; margin-top: 12px; }
  .u6z3bg8f2 > div { gap: 7px; }

  .u6z3bg8f2 button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #ffffffb5;
    color: var(--accent);
    font-size: 1.55rem;
    line-height: 1;
  }

  .u6z3bg8f2 button:hover { background: #fff; border-color: #c4a9fa; }
  .u6z3bg8f2 [data-poster-index] { width: 28px; background: none; border: 0; }
  .u6z3bg8f2 [data-poster-index] span { width: 9px; height: 9px; border-radius: 99px; background: #a38cce; transition: width .18s ease; }
  .u6z3bg8f2 [aria-pressed="true"] span { width: 22px; background: var(--accent); }

  .r8mq0hx47 { color: var(--accent); font-weight: 750; }
  .w8q7bkz32 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34%;
    gap: 12px;
    min-height: 185px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--tint);
    transition: box-shadow .2s ease, translate .2s ease;
  }

  .w8q7bkz32 > div { align-self: center; padding: 16px 0 16px 18px; }
  .w8q7bkz32 figure { min-width: 0; overflow: hidden; background: var(--shade); }
  .w8q7bkz32:has(img[hidden]) > div { padding-right: 18px; }
  .w8q7bkz32 figure:has(img[hidden]), .j2fx9pq50 figure:has(img[hidden]) { display: none; }
  .w8q7bkz32 h3 { margin-block: 4px 7px; font-size: 1.35rem; }
  .w8q7bkz32 p:first-child { font-size: .875rem; font-weight: 700; color: var(--deep); }
  .w8q7bkz32 p:nth-of-type(2) { font-size: .9375rem; }
  .w8q7bkz32 a { color: var(--deep); font-weight: 750; font-size: .875rem; display: inline-block; margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; }
  .w8q7bkz32:hover, .j2fx9pq50:hover { translate: 0 -3px; box-shadow: 0 12px 28px #37205e19; }

  .b5s8xfk30 article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 21px 22px;
  }

  .b5s8xfk30 article > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #eee6ff;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 750;
  }

  .b5s8xfk30 article p { margin-top: 7px; }
  .n5xkw9f42 { background: #f0eaff; border-block: 1px solid #e6def6; }
  .c8ep2mq40 { display: flex; flex-wrap: wrap; gap: 8px; }
  .c8ep2mq40 button {
    padding: 7px 16px;
    min-height: 40px;
    border: 1px solid #d9cdef;
    border-radius: 99px;
    background: #fff;
    font-size: .9375rem;
    font-weight: 700;
  }

  .c8ep2mq40 button:hover { border-color: var(--accent); }
  .c8ep2mq40 [aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
  .k2sn8jz40 { margin-block: 12px 14px; font-size: .875rem; }
  .w7b1tpq66 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .j2fx9pq50 {
    display: grid;
    grid-template-columns: 32% minmax(0, 1fr);
    border: 1px solid #e5dcf4;
    border-radius: 18px;
    background: white;
    overflow: hidden;
    transition: box-shadow .2s ease, translate .2s ease;
    scroll-margin-top: 6px;
  }

  .j2fx9pq50:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
  .j2fx9pq50 figure { background: var(--tint); overflow: hidden; }
  .j2fx9pq50 > div { padding: 15px 14px; }
  .j2fx9pq50 h3 { margin-block: 4px 7px; }
  .j2fx9pq50 p:not(.v0jq3sz72) { font-size: .9375rem; }
  .j2fx9pq50 a { display: inline-block; margin-top: 8px; font-size: .875rem; }
  .v0jq3sz72 { font-size: .8125rem; }

  .k4x7njf61 {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(25px, 6vw, 92px);
    align-items: center;
    margin-block: clamp(42px, 7vw, 96px);
  }

  .d3v1gnm60 > p { margin-top: 10px; }
  .d3v1gnm60 > p + p { max-width: 26em; }
  .d3v1gnm60 > a { margin-top: 19px; }
  .e8n3xrz47 { list-style: none; padding: 0; border-top: 1px solid var(--line); }
  .e8n3xrz47 li {
    display: grid;
    grid-template-columns: 29px 1fr 12px;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding-inline: 12px;
    border-bottom: 1px solid var(--line);
  }

  .e8n3xrz47 li > span { color: var(--accent); font-variant-numeric: tabular-nums; }
  .e8n3xrz47 a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-block: 12px; }
  .e8n3xrz47 a:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
  .e8n3xrz47 a span { text-align: right; color: var(--dim); font-size: .875rem; }

  .n4wr7ph50 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(20px, 5vw, 70px);
    padding: clamp(22px, 5.2vw, 70px);
    border-radius: 28px;
    background: #e7f4ef;
  }

  .n4wr7ph50 p { margin-top: 13px; max-width: 29em; }
  .n4wr7ph50 a { margin-top: 18px; border-color: #c4dfd4; }
  .x9eg2kd46 { display: grid; justify-items: center; gap: 10px; }
  .x9eg2kd46 figcaption { color: #38554c; font-size: .875rem; }

  .a8j5tgq32 {
    width: min(292px, 100%);
    padding: 17px 12px 10px;
    border: 5px solid #254539;
    border-radius: 24px;
    background: white;
    box-shadow: 13px 14px 0 #beded2;
  }

  .a8j5tgq32 > p { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--ink); font-weight: 800; }
  .a8j5tgq32 > div:first-of-type { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
  .a8j5tgq32 > div:first-of-type span { padding: 3px 9px; font-size: .8125rem; background: #efe7ff; color: var(--accent); border-radius: 99px; }
  .a8j5tgq32 > div:last-of-type { display: grid; grid-template-columns: 68px 1fr; background: #f2ecfb; border-radius: 11px; overflow: hidden; }
  .a8j5tgq32 figure { height: 86px; background: var(--tint); overflow: hidden; }
  .a8j5tgq32 div > p { display: grid; align-content: center; gap: 2px; margin: 0; padding: 7px 10px; font-size: .8125rem; }

  .f3tn0wq51 { list-style: none; padding: 0; counter-reset: steps; }
  .f3tn0wq51 li {
    counter-increment: steps;
    padding: 16px 14px 12px 0;
    border-top: 2px solid #daccf0;
  }

  .f3tn0wq51 li::before {
    content: counter(steps, decimal-leading-zero);
    display: block;
    margin-bottom: 9px;
    color: var(--accent);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }

  .f3tn0wq51 p { margin-top: 7px; }
  .f3tn0wq51 a, .k1rg6yz53 a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .m8nk5ej40 article { display: grid; align-content: space-between; gap: 12px; background: #f5efff; }
  .m8nk5ej40 article p { font-size: .875rem; color: #60469b; font-weight: 700; }

  .m5x3cgq20 {
    display: grid;
    grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr);
    gap: 28px;
    margin-bottom: clamp(42px, 6vw, 78px);
  }

  .m5x3cgq20 h2 + p { margin-top: 9px; }
  .k1rg6yz53 { display: grid; gap: 8px; }
  .k1rg6yz53 details {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
  }

  .k1rg6yz53 summary {
    position: relative;
    padding: 13px 42px 13px 15px;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
  }

  .k1rg6yz53 summary::-webkit-details-marker { display: none; }
  .k1rg6yz53 summary::after { content: "+"; position: absolute; right: 15px; color: var(--accent); font-size: 1.2rem; line-height: 1.35; }
  .k1rg6yz53 details[open] summary::after { content: "−"; }
  .k1rg6yz53 details p { padding: 0 15px 14px; }

  .u4k1mjc72 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(24px, 4.5vw, 58px);
    border: 1px solid #e4d3ff;
    border-radius: 24px;
    background: linear-gradient(113deg, #f0e2ff 0%, #e6ddff 65%, #e4f5ef);
  }

  .u4k1mjc72 p { margin-top: 10px; }
  .m7pr4dh92 { background: #f0ecf8; border-top: 1px solid var(--line); }

  .v0db6mg24 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: clamp(25px, 6vw, 90px);
    padding-block: 34px;
  }

  .m7pr4dh92 h2 { margin-bottom: 10px; font-size: 1.18rem; letter-spacing: normal; }
  .m7pr4dh92 ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 0; list-style: none; }
  .m7pr4dh92 nav a, .g6kw4az21 { font-size: .875rem; color: var(--dim); }
  .m7pr4dh92 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

  .g6kw4az21 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-block: 13px;
    border-top: 1px solid #ded5ed;
  }

  [data-entered] { animation: v7b3nkq1 .48s cubic-bezier(.2,.65,.35,1) both; }
  @keyframes v7b3nkq1 {
    from { opacity: .68; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@layer adaptations {
  @media (max-width: 1060px) {
    .p6fj0yt42 { width: calc(100% - 52px); }
    .w7b1tpq66 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .w8q7bkz32 { grid-template-columns: minmax(0, 1fr) 30%; }
  }

  @media (max-width: 830px) {
    .p6fj0yt42 { width: calc(100% - 36px); }
    .q4sn5xu07 { min-height: 62px; }
    [data-enhanced] .c0v2mrp61 { display: inline-flex; }
    [data-enhanced] .d9t5wk4l0 {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      width: min(320px, 100%);
      display: none;
      padding: 10px;
      gap: 3px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: white;
      box-shadow: 0 12px 30px #34265d25;
    }

    [data-enhanced] [data-menu-open] { display: grid; }
    .d9t5wk4l0 a { padding-inline: 12px; }
    .d9t5wk4l0 .n8v5eh3p1 { border-radius: 9px; }
    .g2hk4nm61 { gap: 23px; border-radius: 24px; }
    .s6nm3cj20 h2 { font-size: clamp(2.4rem, 5.7vw, 3.6rem); }
    .y2k5bm8d1 { grid-template-columns: 1fr; }
    .w8q7bkz32 { grid-template-columns: minmax(0, 1fr) minmax(94px, 27%); min-height: 145px; }
    .m7pr4dh92 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 630px) {
    :root { scroll-padding-top: 78px; }

    .g2hk4nm61, .k4x7njf61, .n4wr7ph50, .m5x3cgq20, .v0db6mg24 { grid-template-columns: minmax(0, 1fr); }
    .g2hk4nm61 { margin-top: 12px; padding: 20px; }
    .s6nm3cj20 h1 { margin-bottom: 9px; }
    .s6nm3cj20 h2 { font-size: clamp(2.5rem, 10.5vw, 3.7rem); }
    .s6nm3cj20 .b0yg4ca35 { margin-top: 16px; }
    .t2gr6nc18 { --snap-width: 84%; border-radius: 14px; }
    .t2gr6nc18 figure { height: clamp(230px, 71vw, 365px); border-radius: 14px; }
    .u6z3bg8f2 { margin-top: 7px; }
    .u6z3bg8f2 button { width: 40px; height: 40px; }
    .u6z3bg8f2 [data-poster-index] { width: 36px; }
    .h1mg9tn60 { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 17px; }
    .b5s8xfk30, .f3tn0wq51, .w7b1tpq66 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .b5s8xfk30 article { padding: 15px 17px; }
    .f3tn0wq51 li { padding: 11px 0; }
    .j2fx9pq50 { grid-template-columns: minmax(78px, 28%) minmax(0, 1fr); }
    .m5x3cgq20 { gap: 16px; }
  }

  .w8q7bkz32:has(img[hidden]), .j2fx9pq50:has(img[hidden]) { grid-template-columns: minmax(0, 1fr); }

  @media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
}
