@layer reset, frame, showcase, editorial, utility, motion;

@layer reset {
  :root {
    color-scheme: light;
    --paper: #f9f8ff;
    --white: #fff;
    --ink: #1b1d3e;
    --muted: #555872;
    --violet: #5433cb;
    --line: #e3e0f1;
    --round: 22px;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    scroll-padding-top: 96px;
    scroll-behavior: smooth;
  }

  *, *::before, *::after { box-sizing: border-box; }
  body { margin: 0; line-height: 1.65; }
  h1, h2, h3, p, figure, blockquote { margin: 0; }
  h2 { font-size: clamp(1.55rem, 2.9vw, 2.18rem); line-height: 1.22; letter-spacing: -.035em; }
  h3 { line-height: 1.35; }
  a { color: inherit; text-decoration: none; }
  button { color: inherit; font: inherit; cursor: pointer; }
  img { display: block; width: 100%; height: 100%; object-fit: cover; }
  img[data-unavailable] { opacity: 0; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 3px solid #5428d6; outline-offset: 4px; }
  ::selection { background: #dfd3ff; color: var(--ink); }
}

@layer frame {
  .x7m4r3pu { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
  .g9m2d7ar { position: fixed; z-index: 9; top: 8px; left: 8px; padding: 6px 15px; background: var(--white); transform: translateY(-160%); }
  .g9m2d7ar:focus { transform: none; }
  .n2a8gf5v { position: sticky; z-index: 5; top: 0; background: #fdfcff; border-bottom: 1px solid var(--line); }
  .n2a8gf5v .x7m4r3pu { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
  .n2a8gf5v h1 { font-size: 1.42rem; letter-spacing: -.055em; }
  .v8q4t5es { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
  .k7n4qp2w { display: grid; place-items: center; height: 32px; width: 32px; border-radius: 10px; color: #fff; background: linear-gradient(137deg, #6645dc, #5378ed); }
  .k7n4qp2w::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; }
  .k7n4qp2w::after { content: ""; position: absolute; width: 23px; height: 7px; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-35deg); }
  .u9v5rh2f { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); color: var(--muted); font-size: .92rem; font-weight: 600; }
  .u9v5rh2f a:hover, .h8d5np2z a:hover { color: var(--violet); }
  .d8v4yf6k, .q3s5fj8h summary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 41px; padding: 3px 15px; border: 1px solid #dcd3fb; border-radius: 999px; background: #f1ebff; font-weight: 700; color: #492bb0; font-size: .88rem; }
  .d8v4yf6k:hover, .q3s5fj8h summary:hover { background: #e7dcff; }
  .q3s5fj8h { display: none; }
  .q3s5fj8h summary { cursor: pointer; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  .q3s5fj8h nav { position: absolute; top: 100%; inset-inline: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; padding: 14px 24px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px #27204d18; }
  .q3s5fj8h nav a { padding: 8px 10px; border-radius: 8px; }
  .q3s5fj8h nav a:hover { background: #f1ebff; }
  .b6pw3ts9 { display: grid; gap: 8px; margin-bottom: 24px; }
  .b6pw3ts9 p { color: var(--muted); }

  @media (max-width: 980px) {
    .x7m4r3pu { width: calc(100% - 56px); }
  }

  @media (max-width: 760px) {
    :root { scroll-padding-top: 76px; }
    .x7m4r3pu { width: calc(100% - 32px); }
    .n2a8gf5v .x7m4r3pu { min-height: 60px; gap: 10px; }
    .u9v5rh2f { display: none; }
    .d8v4yf6k { margin-inline-start: auto; }
    .q3s5fj8h { display: block; }
  }

  @media (max-width: 375px) {
    .d8v4yf6k { display: none; }
  }
}

@layer showcase {
  .p6kf29dz { margin-top: 26px; }
  .f8ar3w5u { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 28px; }
  .f8ar3w5u::-webkit-scrollbar { display: none; }
  .j5d3ts8n {
    --tint: #eee8ff;
    --glow: #d7e2ff;
    --orb: #f7d797;
    --shade: #412f82;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(430px, 42vw, 535px);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    scroll-snap-align: start;
    background: linear-gradient(110deg, var(--tint) 35%, var(--glow));
  }
  .j5d3ts8n:nth-child(2) { --tint: #fff0dd; --glow: #f2dcf5; --orb: #ffcc94; --shade: #733646; }
  .j5d3ts8n:nth-child(3) { --tint: #e5f6ed; --glow: #d9eaff; --orb: #b1dbbc; --shade: #164b58; }
  .j5d3ts8n::before { content: ""; position: absolute; z-index: -1; inset: 9% 2% auto auto; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--orb); }
  .j5d3ts8n::after { content: ""; position: absolute; z-index: -1; top: -23%; right: -12%; width: 74%; height: 128%; border: 1px solid #fff9; border-radius: 50%; transform: rotate(-26deg); }
  .m6xr8y4c { align-self: center; position: relative; z-index: 1; padding: 40px 4px 42px clamp(28px, 5vw, 70px); }
  .s9ux24ke { color: var(--shade); font-size: .84rem; font-weight: 750; letter-spacing: .055em; }
  .s9ux24ke span { margin-inline-end: 5px; }
  .m6xr8y4c h2 { margin: 16px 0; font-size: clamp(2.65rem, 5.35vw, 5.2rem); line-height: 1.03; letter-spacing: -.078em; }
  .m6xr8y4c h2 span { color: var(--shade); }
  .m6xr8y4c .v3zw7hp5 { margin-bottom: 7px; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--ink); font-weight: 760; }
  .m6xr8y4c p:not([class]) { max-width: 34ch; color: #41415d; font-size: .94rem; }
  .a2ry5w87 { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 23px; }
  .t7r9n4sj, .c9qh37dk { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 8px 17px; border-radius: 11px; font-size: .9rem; font-weight: 740; }
  .t7r9n4sj { color: white; background: linear-gradient(116deg, #6138cb, #4260d1); box-shadow: 0 6px 16px #5136a433; }
  .t7r9n4sj:hover { box-shadow: 0 8px 20px #5136a45c; transform: translateY(-2px); }
  .c9qh37dk { color: #342866; background: #ffffffa9; border: 1px solid #9e8acf55; }
  .c9qh37dk:hover { background: var(--white); }
  .h2m4yf9b { display: grid; grid-template: 1fr / 1fr; position: relative; min-height: 0; margin: 24px 27px 24px 0; padding: 5px; overflow: hidden; border-radius: 32% 18px 18px 18px / 28% 18px 18px 18px; background: #ffffff5c; box-shadow: inset 0 0 0 1px #fff8; }
  .h2m4yf9b img { grid-area: 1 / 1; align-self: stretch; height: 100%; max-height: 487px; border-radius: inherit; color: var(--shade); background: linear-gradient(145deg, #5853a337, #fff4 52%, #7f6dcc55); }
  .h2m4yf9b figcaption { grid-area: 1 / 1; justify-self: end; align-self: end; z-index: 1; margin: 12px; padding: 11px 15px; border-radius: 11px; background: #fffffff2; box-shadow: 0 2px 13px #33245b24; font-size: .97rem; font-weight: 750; }
  .h2m4yf9b figcaption span { display: block; color: var(--muted); font-size: .74rem; font-weight: 500; }
  .p5f8av3x { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .w6nm2z8j, .g3jv9rz4 { display: flex; gap: 6px; align-items: center; }
  .w6nm2z8j { flex-wrap: wrap; }
  .p5f8av3x button { min-height: 38px; padding: 4px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: .86rem; }
  .p5f8av3x button:hover, .p5f8av3x [aria-current="true"] { color: #4a29b5; background: #eee8ff; }
  .g3jv9rz4 button { width: 42px; padding: 2px; border-color: var(--line); background: var(--white); font-size: 1.1rem; }

  @media (max-width: 760px) {
    .p6kf29dz { margin-top: 16px; }
    .f8ar3w5u { border-radius: 20px; }
    .j5d3ts8n { grid-template-columns: 1fr; grid-template-rows: 1fr minmax(172px, 43vw); }
    .j5d3ts8n::before { top: auto; bottom: -8%; right: -3%; width: 72%; }
    .m6xr8y4c { padding: 22px 20px 18px; }
    .m6xr8y4c h2 { margin-block: 10px; }
    .m6xr8y4c h2 br { display: none; }
    .m6xr8y4c p:not([class]) { max-width: 45ch; }
    .a2ry5w87 { margin-top: 15px; }
    .h2m4yf9b { margin: 0 12px 12px; border-radius: 15% 12px 12px 12px / 32% 12px 12px 12px; }
    .h2m4yf9b figcaption { margin: 8px; padding: 7px 11px; }
    .p5f8av3x button { padding-inline: 8px; }
    .g3jv9rz4 button { width: 35px; }
  }

  @media (max-width: 390px) {
    .m6xr8y4c h2 { font-size: 2.28rem; }
    .w6nm2z8j { gap: 2px; }
    .p5f8av3x button { font-size: .78rem; padding-inline: 5px; }
  }
}

@layer editorial {
  .e3dz64av { padding-block: 33px 52px; }
  .e3dz64av h2 { margin-bottom: 17px; font-size: 1.35rem; }
  .y6h3wc8a { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .y6h3wc8a article { display: grid; grid-template-columns: auto 1fr; align-content: start; align-items: center; column-gap: 10px; row-gap: 6px; min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
  .y6h3wc8a article:hover { border-color: #ab99e7; }
  .y6h3wc8a span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #eee8ff; color: var(--violet); }
  .y6h3wc8a h3 { font-size: .98rem; }
  .y6h3wc8a p { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
  .r5j9bn2u { background: #eff0fc; padding-block: clamp(32px, 5vw, 65px); }
  .z3a6kv8t { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); gap: 24px; align-items: start; }
  .f4th58jw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .f4th58jw article { min-width: 0; border-radius: 16px; background: var(--white); box-shadow: 0 6px 16px #2921440a; }
  .f4th58jw a { display: block; border-radius: 16px 16px 0 0; }
  .k4vs9e3r { position: relative; overflow: hidden; background: #e5ddf6; }
  .k4vs9e3r img { position: absolute; inset: 0; }
  .f4th58jw .k4vs9e3r { aspect-ratio: 1.82; border-radius: 16px 16px 0 0; }
  .f4th58jw article:nth-child(2) .k4vs9e3r { background: #d9e8fb; }
  .b3dk7w2f { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 13px 16px 6px; }
  .b3dk7w2f p { color: var(--violet); font-size: .77rem; margin-bottom: 4px; }
  .b3dk7w2f span { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--violet); background: #eee8ff; }
  .f4th58jw a:hover .b3dk7w2f span { color: white; background: var(--violet); }
  .f4th58jw article > p { padding: 2px 16px 17px; color: var(--muted); font-size: .89rem; }
  .n5tw72je { padding: clamp(20px, 3vw, 35px); border-radius: var(--round); color: #faf7ff; background: #272248; }
  .n5tw72je h2 { font-size: 1.68rem; }
  .n5tw72je p { margin: 7px 0 11px; color: #d5cfee; font-size: .88rem; }
  .n5tw72je ol { list-style: none; padding: 0; margin: 0; counter-reset: ranking; }
  .n5tw72je li { counter-increment: ranking; border-top: 1px solid #ffffff2e; }
  .n5tw72je a { display: grid; grid-template-columns: 32px 1fr auto; gap: 1px 10px; align-items: center; padding: 12px 0; border-radius: 5px; }
  .n5tw72je a::before { content: counter(ranking, decimal-leading-zero); grid-row: span 2; align-self: center; color: #d1baff; font-size: 1rem; font-variant-numeric: tabular-nums; }
  .n5tw72je a::after { content: "↗"; grid-column: 3; grid-row: 1 / span 2; color: #d1baff; }
  .n5tw72je a:hover strong { color: #d1baff; }
  .n5tw72je small { grid-column: 2; color: #d5cfee; }
  .n5tw72je a:focus-visible { outline-color: #dfcfff; }
  .i7j52afs { padding-block: clamp(42px, 6vw, 82px); }
  .r5a3hg7u { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 0 0 16px; border: 0; min-width: 0; }
  .r5a3hg7u legend { float: left; padding: 7px 9px 7px 0; color: var(--muted); font-size: .87rem; }
  .r5a3hg7u label { position: relative; cursor: pointer; }
  .r5a3hg7u input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .r5a3hg7u label span { display: block; min-width: 58px; padding: 5px 11px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; }
  .r5a3hg7u label:hover span { border-color: #a894e6; }
  .r5a3hg7u input:checked + span { color: white; border-color: var(--violet); background: var(--violet); }
  .r5a3hg7u input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
  .r5a3hg7u output { margin-inline-start: auto; color: var(--muted); font-size: .85rem; white-space: nowrap; }
  .v6n3kq8h { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; align-items: stretch; }
  .v6n3kq8h article { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
  .v6n3kq8h article:target, .v6n3kq8h article:hover { border-color: #9573ea; box-shadow: 0 5px 18px #482b891a; }
  .v6n3kq8h .k4vs9e3r { aspect-ratio: .92; border-radius: 13px 13px 0 0; }
  .v6n3kq8h article:nth-child(3n + 2) .k4vs9e3r { background: #f1e2d6; }
  .v6n3kq8h article:nth-child(3n) .k4vs9e3r { background: #dceaf8; }
  .v6n3kq8h article > div:last-child { padding: 12px 12px 16px; }
  .v6n3kq8h h3 { margin-block: 5px; font-size: 1rem; }
  .v6n3kq8h p { color: var(--muted); font-size: .83rem; }
  .v6n3kq8h p:first-child { color: var(--violet); font-size: .74rem; }

  @media (max-width: 1100px) {
    .v6n3kq8h { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v6n3kq8h .k4vs9e3r { aspect-ratio: 1.3; }
  }

  @media (max-width: 760px) {
    .e3dz64av { padding-block: 26px 35px; }
    .y6h3wc8a { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .y6h3wc8a article { padding: 12px; }
    .z3a6kv8t { grid-template-columns: 1fr; }
    .f4th58jw { gap: 8px; }
    .f4th58jw article > p, .b3dk7w2f { padding-inline: 10px; }
    .b3dk7w2f { align-items: start; }
    .b3dk7w2f h3 { font-size: .97rem; }
    .b3dk7w2f span { width: 22px; height: 22px; font-size: .75rem; }
    .v6n3kq8h { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  }

  @media (max-width: 510px) {
    .r5a3hg7u legend { float: none; width: 100%; }
    .r5a3hg7u { gap: 6px; }
    .r5a3hg7u label span { min-width: 43px; padding-inline: 6px; }
  }
}

@layer utility {
  .e4fn8vs9 { display: grid; grid-template-columns: 1.46fr 1fr; gap: 25px; }
  .h6zv5d2g { display: grid; grid-template-columns: 1fr minmax(140px, .82fr); align-items: center; gap: 12px; padding: 25px 25px 0; overflow: hidden; border-radius: var(--round); background: linear-gradient(117deg, #e5efff, #eee4fc); }
  .h6zv5d2g > div:first-child { padding-bottom: 25px; }
  .h6zv5d2g p { margin: 11px 0; color: var(--muted); }
  .h6zv5d2g .c9qh37dk { margin-top: 6px; }
  .y4r8dc6m { align-self: end; display: grid; gap: 5px; padding: 7px 10px 20px; border: 5px solid #2d2b50; border-bottom: 0; box-shadow: 8px 14px 0 #a79cca40; border-radius: 21px 21px 0 0; background: #fff; }
  .y4r8dc6m p:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px; margin: 4px 0; color: var(--ink); font-size: .93rem; font-weight: 700; }
  .y4r8dc6m p span { font-size: .65rem; color: var(--violet); }
  .y4r8dc6m img { height: 112px; border-radius: 8px; background: #e5ddf6; }
  .y4r8dc6m small { color: var(--violet); font-size: .72rem; }
  .y4r8dc6m a { display: flex; justify-content: space-between; font-weight: 750; }
  .y4r8dc6m a:hover { color: var(--violet); }
  .y4r8dc6m p:last-child { margin: 0; font-size: .75rem; }
  .h7tr5z9b { padding: 23px; border-radius: var(--round); border: 1px solid var(--line); background: var(--white); }
  .h7tr5z9b h2 { font-size: clamp(1.38rem, 2.4vw, 1.85rem); }
  .h7tr5z9b ol { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: guide; }
  .h7tr5z9b li { display: grid; grid-template-columns: 27px 1fr; gap: 11px; align-items: start; padding: 8px 0; counter-increment: guide; }
  .h7tr5z9b li::before { content: counter(guide); display: grid; place-items: center; height: 27px; border-radius: 7px; background: #eee8ff; color: var(--violet); font-weight: 700; font-size: .8rem; }
  .h7tr5z9b h3 { margin-bottom: 3px; font-size: .98rem; }
  .h7tr5z9b p { color: var(--muted); font-size: .88rem; }
  .h7tr5z9b a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
  .o4zp7yf6 { padding-block: clamp(38px, 6vw, 75px); }
  .e7nw59d3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .e7nw59d3 figure { display: grid; align-content: space-between; gap: 12px; padding: 20px; border-radius: 0 13px 13px 0; border-left: 3px solid #ad96f9; background: #f0ebff; }
  .e7nw59d3 figcaption { color: var(--muted); font-size: .8rem; }
  .v8c3d2pz { display: grid; grid-template-columns: 1.23fr 1fr; align-items: start; gap: 30px; padding-bottom: clamp(44px, 6vw, 74px); }
  .u6g7z3as h2 { margin-bottom: 12px; }
  .u6g7z3as details { border-bottom: 1px solid var(--line); }
  .u6g7z3as summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 12px; list-style: none; font-weight: 650; cursor: pointer; }
  .u6g7z3as summary::after { content: "+"; flex: 0 0 27px; height: 27px; text-align: center; border-radius: 7px; background: #ede8f9; color: var(--violet); }
  .u6g7z3as summary:hover { color: var(--violet); }
  .u6g7z3as details[open] summary::after { content: "−"; }
  .u6g7z3as details p { padding: 0 26px 12px 0; color: var(--muted); font-size: .92rem; }
  .w3qy8f2n { position: relative; isolation: isolate; overflow: hidden; min-height: 223px; padding: clamp(23px, 3.4vw, 41px); border-radius: var(--round); background: #e8e3ff; }
  .w3qy8f2n::after { content: ""; position: absolute; z-index: -1; right: -15%; bottom: -72%; width: 65%; aspect-ratio: 1; border: clamp(16px, 3vw, 34px) solid #faf6ff89; border-radius: 50%; }
  .w3qy8f2n p { color: var(--muted); margin: 11px 0 19px; }
  .a7g4mk28 { padding-block: 36px 20px; background: #eeedf8; border-top: 1px solid var(--line); }
  .t4mz7cu3 { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 5vw, 70px); }
  .t4mz7cu3 h2 { margin-bottom: 11px; font-size: 1.23rem; }
  .t4mz7cu3 p { color: var(--muted); font-size: .91rem; }
  .h8d5np2z ul { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; list-style: none; font-size: .87rem; }
  .n6bg4fs7 { border-top: 1px solid #d9d7e9; padding-top: 13px; margin-top: 25px; color: var(--muted); font-size: .81rem; }

  @media (max-width: 760px) {
    .e4fn8vs9, .v8c3d2pz, .t4mz7cu3 { grid-template-columns: 1fr; gap: 21px; }
    .h6zv5d2g { padding: 18px 14px 0; }
    .h6zv5d2g h2 { font-size: 1.39rem; }
    .y4r8dc6m img { height: 85px; }
    .e7nw59d3 { grid-template-columns: 1fr; gap: 9px; }
    .e7nw59d3 figure { gap: 5px; padding: 14px 16px; }
  }

  @media (max-width: 365px) {
    .h6zv5d2g { grid-template-columns: 1fr; }
    .h6zv5d2g > div:first-child { padding-bottom: 2px; }
    .y4r8dc6m { width: min(230px, 94%); justify-self: center; }
  }
}

@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    a, button, .y6h3wc8a article, .v6n3kq8h article { transition: color 170ms, background-color 170ms, border-color 170ms, box-shadow 170ms, transform 170ms; }
    .k4vs9e3r img { transition: transform 280ms ease; }
    .f4th58jw a:hover img, .v6n3kq8h article:hover img { transform: scale(1.045); }
    [data-reveal].v2k7mt93 { opacity: 0; transform: translateY(13px); transition: opacity 360ms ease, transform 360ms ease; }
    [data-reveal].v2k7mt93:focus-within, [data-reveal].v2k7mt93:target { opacity: 1; transform: none; }
    [data-reveal] { transition: opacity 360ms ease, transform 360ms ease; }
  }

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