@layer reset, layout, controls, responsive;

@layer reset {
  :root {
    color-scheme: light;
    --paper: #fcfaff;
    --white: #fff;
    --ink: #21182c;
    --sub: #65596e;
    --violet: #5935a6;
    --line: #e5dcee;
    --lilac: #f2eafa;
    font: 100%/1.65 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
  }

  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure, blockquote, ol { margin: 0; }
  h1, h2, h3, strong { line-height: 1.22; }
  h2 { font-size: clamp(1.75rem, 3.4vw, 2.8rem); letter-spacing: -.04em; }
  h3 { font-size: 1.12rem; letter-spacing: -.015em; }
  p { overflow-wrap: break-word; }
  a { color: inherit; text-decoration: none; }
  button, input { font: inherit; }
  button, summary, label { cursor: pointer; }
  button { color: inherit; }
  img { display: block; max-width: 100%; object-fit: cover; }
  fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
  :focus-visible { outline: 3px solid #5734bc; outline-offset: 4px; }
  ::selection { color: #271945; background: #dec9ff; }
}

@layer layout {
  .h6j3wn9q { width: min(100% - 5rem, 77.5rem); margin-inline: auto; }
  .r7s4pw9c { padding-block: clamp(3.3rem, 7vw, 6rem); }
  .n9f4bv2p, .b6f2xt8m:not(:focus) {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* Masthead and full navigation */
  .d5n2vy8c {
    position: sticky;
    top: 0;
    z-index: 4;
    border-bottom: 1px solid var(--line);
    background: #fcfafff2;
    backdrop-filter: blur(12px);
  }

  .e8s5qd1r {
    min-height: 4.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .e8s5qd1r h1 { font-size: clamp(1.06rem, 2vw, 1.43rem); white-space: nowrap; }
  .p2g8cj4x, .c4x9dz3v, .k6x9hf3p { display: flex; align-items: center; gap: .7rem; }
  .k6x9hf3p { font-size: .91rem; gap: clamp(.9rem, 2.8vw, 2.45rem); color: var(--sub); }
  .k6x9hf3p a:hover, .v4n8yx5k a:hover { color: var(--violet); }

  .y7f3ks9a {
    display: block;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: .62rem;
    background: linear-gradient(140deg, #6036ac, #a873db);
    position: relative;
  }

  .y7f3ks9a::before, .y7f3ks9a::after {
    content: "";
    position: absolute;
    top: .58rem;
    width: .45rem;
    height: .84rem;
    background: white;
    border-radius: .13rem .15rem .05rem .05rem;
  }

  .y7f3ks9a::before { left: .48rem; transform: skewY(12deg); }
  .y7f3ks9a::after { right: .48rem; transform: skewY(-12deg); }

  .u2b6nm8s:popover-open {
    inset: 4.85rem max(1.25rem, calc((100vw - 77.5rem) / 2)) auto auto;
    margin: 0;
    width: min(23.5rem, 100vw - 2.5rem);
    max-height: min(33rem, 100dvh - 6rem);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: .8rem;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 12px 42px #41295925;
  }

  .u2b6nm8s > div { display: flex; justify-content: space-between; align-items: center; padding: .15rem .55rem .55rem; }
  .u2b6nm8s button { border: 0; background: var(--lilac); border-radius: .4rem; min-width: 2.6rem; min-height: 2.6rem; font-size: 1.3rem; }
  .u2b6nm8s a { display: block; padding: .52rem .65rem; border-radius: .45rem; }
  .u2b6nm8s a:hover { background: var(--lilac); }
  .b6f2xt8m:focus { position: fixed; inset: 1rem auto auto 1rem; padding: .65rem .95rem; background: white; z-index: 5; }

  /* Lead story and horizontally paged covers */
  .z2q7ma4e {
    margin-block-start: clamp(1.25rem, 4vw, 3.4rem);
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    min-height: 29.5rem;
    border-radius: 1.8rem;
    background: radial-gradient(ellipse at 20% 12%, #f7eafa 0, transparent 66%), #f1ebfa;
    border: 1px solid #e9ddf2;
  }

  .w3p8dy6k { align-self: center; padding: clamp(1.6rem, 4.25vw, 4.4rem); min-width: 0; }
  .f8g2qw5c { display: flex; align-items: center; gap: .42em; font-weight: 700; color: var(--violet); font-size: .82rem; letter-spacing: .06em; }
  .f8g2qw5c span { font-size: .98rem; }
  .w3p8dy6k .f8g2qw5c { display: inline-flex; border: 1px solid #e4d3f0; background: #faf4ff; padding: .23rem .72rem; border-radius: 10rem; }
  .w3p8dy6k h2 { margin-block: .95rem 1rem; font-size: clamp(2.45rem, 5.05vw, 5rem); font-weight: 850; line-height: 1.08; letter-spacing: -.067em; }
  .w3p8dy6k h2 span { color: var(--violet); }
  .g4r8cn6v { font-size: clamp(1.02rem, 1.68vw, 1.34rem); font-weight: 750; }
  .v9k2ec6z { max-width: 25rem; color: var(--sub); margin-block-start: .5rem; }
  .n4v6he2k { display: flex; gap: .66rem; flex-wrap: wrap; margin-block-start: 1.65rem; }

  .q3v7sf9m {
    min-width: 0;
    position: relative;
    margin: .7rem;
    border: 1px solid #e0d3ec;
    border-radius: 1.36rem;
    background: #fffaff75;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: clip;
  }

  .x4t9pb6n { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.12rem; color: #514363; font-size: .77rem; letter-spacing: .08em; font-weight: 720; }
  .x4t9pb6n i { display: inline-block; width: .52rem; height: .52rem; border-radius: 50%; background: #8454c1; margin-right: .28rem; }
  .x4t9pb6n > span:last-child { font-variant-numeric: tabular-nums; }
  .b7h4df8k {
    min-width: 0;
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .b7h4df8k::-webkit-scrollbar { display: none; }
  .b7h4df8k:focus-visible { outline-offset: -4px; }
  .f6r2xz9j { min-width: 0; scroll-snap-align: start; display: grid; grid-template-rows: 1fr auto; }
  .d7j6wx2m {
    min-height: 21.25rem;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    overflow: clip;
    background:
      radial-gradient(#fff7ffad 1px, transparent 1px) 0 0 / 13px 13px,
      linear-gradient(140deg, #f2d9f9, #ded0fb);
  }

  [data-swatch="life-1"] .d7j6wx2m { background-image: radial-gradient(#fff8e2a0 1px, transparent 1px), linear-gradient(140deg, #fce5d3, #f4cbe0); }
  [data-swatch="fantasy-2"] .d7j6wx2m { background-image: radial-gradient(#ffffeba0 1px, transparent 1px), linear-gradient(140deg, #eff2c9, #d9edd7); }
  .d7j6wx2m::before, .d7j6wx2m::after {
    content: "";
    z-index: -1;
    position: absolute;
    width: min(24rem, 84%);
    height: 69%;
    border: 1px solid #fff;
    border-radius: 50%;
    transform: rotate(-27deg);
  }

  .d7j6wx2m::after { transform: rotate(25deg); }
  .d7j6wx2m > span { position: absolute; color: #6948ad; font-size: clamp(1.4rem, 4vw, 3.8rem); line-height: 1; }
  .d7j6wx2m > span:first-child { top: 18%; right: 15%; }
  .d7j6wx2m > span:last-child { bottom: 19%; left: 14%; opacity: .78; }

  .z7a2kn6v {
    width: clamp(9.25rem, 16vw, 12.1rem);
    aspect-ratio: 5 / 7;
    display: block;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: .38rem .75rem .75rem .38rem;
    background: #f9f5ff;
    box-shadow: 6px 7px 0 #fcf2ff, 9px 11px 0 #a588cb6b, 0 1.7rem 2.5rem #55307a4f;
    transform: rotate(-8deg);
    transition: transform .26s ease;
  }

  .z7a2kn6v:hover, .z7a2kn6v:focus-visible { transform: rotate(-4deg) scale(1.025); }
  .z7a2kn6v img { width: 100%; height: 100%; color: var(--sub); font-size: .82rem; }
  [data-cover-unavailable] .z7a2kn6v {
    width: min(85%, 24rem);
    aspect-ratio: auto;
    padding: .65rem 1rem;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    color: #382659;
    font-size: clamp(1.65rem, 3.1vw, 2.9rem);
    font-weight: 850;
  }
  [data-cover-unavailable] .z7a2kn6v::after { content: attr(data-work-name); }
  [data-cover-unavailable] .z7a2kn6v img { display: none; }
  .f6r2xz9j figcaption { padding: .72rem 6.9rem .78rem 1.1rem; min-height: 6.05rem; background: #fffaff; display: grid; align-content: start; gap: .13rem; }
  .f6r2xz9j figcaption > span { font-size: .72rem; color: var(--violet); font-weight: 700; }
  .f6r2xz9j figcaption > a { font-weight: 780; line-height: 1.3; width: fit-content; }
  .f6r2xz9j figcaption > a:hover { color: var(--violet); }
  .f6r2xz9j figcaption > p { color: var(--sub); font-size: .78rem; }
  .e4m7wq2s { position: absolute; right: .8rem; bottom: 1.02rem; display: flex; gap: .35rem; }
  :root:not([data-enhanced]) [data-controls] { display: none; }

  /* Recommendations and feature cards */
  .c9d3kx8b { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-block-end: 1.45rem; }
  .c9d3kx8b h2, .u8f4qh2s h2, .a7h3xm6d h2, .s7y4rv6j h2, .a5m8tw2q h2 { margin-top: .3rem; }
  .c9d3kx8b > a { font-size: .87rem; color: var(--violet); font-weight: 740; white-space: nowrap; }
  .c9d3kx8b > p { font-size: .92rem; color: var(--sub); }
  .x5b7nz4h { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 2.2vw, 1.65rem); }
  [data-tone="0"] { --card-tone: #ebe3fe; }
  [data-tone="1"] { --card-tone: #f9dfeb; }
  [data-tone="2"] { --card-tone: #edf0d1; }
  [data-tone="3"] { --card-tone: #dfebfa; }
  [data-tone="4"] { --card-tone: #e7eff7; }
  [data-tone="5"] { --card-tone: #f5e2d7; }

  .m4t9fa6r {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 1.05rem;
    background: white;
    min-width: 0;
    transition: translate .22s ease, box-shadow .22s ease;
  }

  .m4t9fa6r:hover, .m4t9fa6r:focus-within { translate: 0 -4px; box-shadow: 0 12px 24px #523b6820; }
  .s8r6mk2p { aspect-ratio: 5 / 5.6; display: block; position: relative; isolation: isolate; overflow: hidden; border-radius: 1rem 1rem 0 0; background: var(--card-tone); }
  .s8r6mk2p img { width: 100%; height: 100%; object-position: center 24%; transition: scale .26s ease; color: var(--sub); }
  .s8r6mk2p:hover img, .s8r6mk2p:focus-visible img { scale: 1.04; }
  .l6q2kx7e { position: absolute; inset: .75rem auto auto .75rem; border-radius: 6rem; padding: .21rem .55rem; color: #332348; background: #fff9; backdrop-filter: blur(8px); font-size: .73rem; font-weight: 750; box-shadow: 0 0 0 1px #fff7; }
  .y5q7rx3w { padding: .95rem 1rem 1.05rem; flex: 1; display: flex; align-items: flex-start; flex-direction: column; gap: .48rem; }
  .y5q7rx3w p { color: var(--sub); margin-bottom: .22rem; font-size: .88rem; }
  .e7d4vf9b { color: var(--violet); margin-top: auto; font-weight: 750; font-size: .8rem; }
  .e7d4vf9b:hover { text-decoration: underline; }

  .k3s9az7m { background: #f5f0fa; border-block: 1px solid #eae0f2; }
  .u8f4qh2s { padding-block: clamp(2.5rem, 5.4vw, 4.25rem); display: grid; grid-template-columns: 1fr 3.6fr; gap: 2rem; align-items: center; }
  .j6m3rp8x { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .j6m3rp8x article { background: white; border: 1px solid var(--line); border-radius: .95rem; padding: 1.1rem 1rem; }
  .j6m3rp8x article > span { display: grid; place-items: center; width: 2.2rem; aspect-ratio: 1; border-radius: .66rem; color: var(--violet); background: var(--lilac); font-size: 1.18rem; margin-bottom: .85rem; }
  .j6m3rp8x article > p { margin-block: .45rem; color: var(--sub); font-size: .9rem; }
  .j6m3rp8x article > a, .n8h2xd7k li a { color: var(--violet); font-weight: 720; font-size: .83rem; text-decoration: underline; text-underline-offset: .19em; }

  /* Catalogue and native filters */
  .vg4q8p2f { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 0 1rem; }
  .vg4q8p2f label { position: relative; }
  .vg4q8p2f input { position: absolute; inline-size: 1px; block-size: 1px; inset: 50% auto auto 50%; opacity: 0; }
  .vg4q8p2f label span { display: block; padding: .37rem .85rem; border: 1px solid var(--line); border-radius: 5rem; background: white; font-size: .89rem; font-weight: 650; }
  .vg4q8p2f label:hover span { border-color: #a78ec8; }
  .vg4q8p2f input:checked + span { background: #e8dbfa; border-color: #d9c5ed; color: #42247a; }
  .vg4q8p2f input:focus-visible + span { outline: 3px solid #5734bc; outline-offset: 3px; }

  .m2j7dg8q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: start; }
  .m2j7dg8q article { display: grid; grid-template-columns: clamp(3.8rem, 7vw, 5.3rem) minmax(0, 1fr); align-items: start; gap: 1rem; padding: .78rem; border: 1px solid var(--line); border-radius: .85rem; background: white; }
  .m2j7dg8q article:target { border-color: #9066c3; box-shadow: 0 0 0 .2rem #e4d4f8; }
  .m2j7dg8q img { width: 100%; height: auto; aspect-ratio: 5 / 7; border-radius: .43rem; background: var(--card-tone); color: var(--sub); font-size: .63rem; }
  .m2j7dg8q article > div { align-self: center; }
  .m2j7dg8q article > div > p { color: var(--sub); font-size: .76rem; margin-block-end: .2rem; }
  .m2j7dg8q details { margin-top: .43rem; }
  .m2j7dg8q summary { font-size: .83rem; color: var(--violet); font-weight: 700; width: fit-content; }
  .m2j7dg8q details p { color: var(--sub); font-size: .9rem; margin-block: .48rem; }
  .m2j7dg8q details a { font-size: .83rem; text-decoration: underline; text-underline-offset: .19em; }
  .br7n2kc5:has(input[value="fantasy"]:checked) [data-kind]:not([data-kind="fantasy"]):not(:target),
  .br7n2kc5:has(input[value="life"]:checked) [data-kind]:not([data-kind="life"]):not(:target),
  .br7n2kc5:has(input[value="sci"]:checked) [data-kind]:not([data-kind="sci"]):not(:target),
  .br7n2kc5:has(input[value="history"]:checked) [data-kind]:not([data-kind="history"]):not(:target) { display: none; }

  /* Editorial ranking and interactive device preview */
  .c6j8py2m { display: grid; grid-template-columns: 1.02fr 1fr; gap: 1rem; }
  .t7d2kb4f, .a7h3xm6d { border: 1px solid var(--line); border-radius: 1.24rem; padding: clamp(1.1rem, 3.1vw, 2.35rem); min-width: 0; }
  .t7d2kb4f { background: #fff; }
  .t7d2kb4f .c9d3kx8b { margin-bottom: .46rem; }
  .t7d2kb4f > p, .a7h3xm6d > p:not(.f8g2qw5c) { font-size: .91rem; color: var(--sub); }
  .t7d2kb4f ol { list-style: none; padding: 0; margin-block-start: 1.08rem; }
  .t7d2kb4f li { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: .75rem; align-items: center; border-top: 1px solid var(--line); padding: .87rem .2rem; }
  .t7d2kb4f li > span:first-child { color: var(--violet); font-size: 1.13rem; font-weight: 800; font-variant-numeric: tabular-nums; }
  .t7d2kb4f li > span:last-child { color: var(--violet); }
  .t7d2kb4f li a { font-weight: 750; }
  .t7d2kb4f li a:hover { color: var(--violet); }
  .t7d2kb4f small { display: block; font-size: .81rem; color: var(--sub); }
  .a7h3xm6d { background: radial-gradient(ellipse at 88% 98%, #d9e7b8, transparent 65%), #f1f4e6; border-color: #dee6ca; }
  .a7h3xm6d > p:not(.f8g2qw5c) { margin-block: .35rem .8rem; }
  .mp4w9zd8 { display: grid; border: 5px solid #30293c; border-radius: 1.05rem; width: min(100%, 13.3rem); margin-inline: auto; background: white; padding: .5rem; overflow: hidden; box-shadow: 0 .65rem 1.3rem #21271020; transition: width .27s ease, border-radius .27s ease; }
  .j9pf3s7c { display: grid; justify-items: center; margin-bottom: .4rem; gap: .32rem; font-weight: 760; font-size: .74rem; }
  .j9pf3s7c span { display: block; background: #372a41; width: 1.4rem; height: .23rem; border-radius: 1rem; }
  .y3x8dv5e { border: 1px solid var(--line); border-radius: .56rem; overflow: hidden; display: grid; grid-template-columns: 2.65rem 1fr; align-items: center; gap: .4rem; background: #fffafd; }
  .y3x8dv5e img { width: 100%; height: 100%; aspect-ratio: 5 / 7; background: #ecd9ee; }
  .y3x8dv5e small, .y3x8dv5e strong, .y3x8dv5e a { display: block; font-size: .7rem; }
  .y3x8dv5e a, .y3x8dv5e small { color: var(--violet); }
  .y3x8dv5e a:hover { text-decoration: underline; }
  .a7h3xm6d:has(input[value="desktop"]:checked) .mp4w9zd8 { width: min(100%, 22rem); border-radius: .55rem; }
  .a7h3xm6d:has(input[value="desktop"]:checked) .j9pf3s7c { display: flex; justify-content: start; padding: .06rem .29rem .25rem; border-bottom: 1px solid var(--line); }
  .a7h3xm6d:has(input[value="desktop"]:checked) .j9pf3s7c span { width: .43rem; height: .43rem; background: #975db1; box-shadow: .62rem 0 #d9b4e5, 1.24rem 0 #e4d6ed; margin-right: 1.28rem; }

  /* Guide, testimonials, FAQ and download */
  .n8h2xd7k ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .n8h2xd7k li { border-top: 2px solid #ddc8f1; padding: .8rem 0 0; }
  .n8h2xd7k li > span { display: grid; place-items: center; width: 1.85rem; aspect-ratio: 1; border-radius: 50%; background: var(--lilac); color: var(--violet); font-weight: 750; margin-block-end: .35rem; }
  .n8h2xd7k li p { color: var(--sub); font-size: .89rem; margin-block: .2rem .52rem; }
  .p4j7dq6a { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .p4j7dq6a figure { border-radius: .8rem; border: 1px solid var(--line); padding: 1.2rem; background: #fff; display: grid; gap: .75rem; }
  .p4j7dq6a figcaption { font-size: .81rem; color: var(--violet); font-weight: 720; align-self: end; }
  .s7y4rv6j { display: grid; grid-template-columns: .76fr 1.7fr; gap: clamp(1rem, 5vw, 5rem); }
  .q8n5yr7z { border-top: 1px solid var(--line); }
  .q8n5yr7z details { border-bottom: 1px solid var(--line); padding-inline: .25rem; }
  .q8n5yr7z summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem .1rem; font-weight: 740; }
  .q8n5yr7z summary::-webkit-details-marker { display: none; }
  .q8n5yr7z summary::after { content: "+"; color: var(--violet); display: grid; place-items: center; width: 1.65rem; aspect-ratio: 1; background: var(--lilac); border-radius: 50%; flex: 0 0 auto; font-size: .95rem; }
  .q8n5yr7z details[open] summary::after { content: "−"; }
  .q8n5yr7z details > p { color: var(--sub); padding-block: 0 .9rem; }

  .a5m8tw2q {
    margin-block-end: clamp(3rem, 6.4vw, 5.5rem);
    padding: clamp(1.25rem, 4.1vw, 3.1rem);
    border-radius: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    color: #fff;
    background: radial-gradient(ellipse at 90% 90%, #8559aa99, transparent 54%), #3c2866;
  }

  .a5m8tw2q .f8g2qw5c, .a5m8tw2q p { color: #f2e5ff; }
  .a5m8tw2q p:last-child { margin-top: .51rem; }

  .g9q3bn8x { background: #f4edf8; border-top: 1px solid var(--line); }
  .v4n8yx5k { display: grid; grid-template-columns: 1.13fr 1fr; gap: clamp(1.25rem, 6vw, 5rem); padding-block: 2.4rem 1.8rem; }
  .v4n8yx5k h2 { font-size: 1.23rem; margin-block-end: .7rem; letter-spacing: 0; }
  .v4n8yx5k p, .v4n8yx5k nav { color: var(--sub); font-size: .88rem; }
  .v4n8yx5k nav > div { display: flex; flex-wrap: wrap; gap: .4rem 1.05rem; }
  .e9m2zc7k { padding-block: .85rem; border-top: 1px solid var(--line); color: var(--sub); font-size: .82rem; }
}

@layer controls {
  .s2q9fn7a, .t5y1pu7x {
    display: inline-flex;
    align-items: center;
    gap: .56rem;
    justify-content: center;
    border-radius: .7rem;
    white-space: nowrap;
    padding: .7rem .98rem;
    font-size: .9rem;
    font-weight: 750;
    min-height: 2.75rem;
    transition: translate .19s ease, box-shadow .19s ease, background-color .19s ease;
  }

  .s2q9fn7a { background: linear-gradient(126deg, #563397, #864db7); color: #fff; box-shadow: 0 .36rem .88rem #66419338; }
  .t5y1pu7x { border: 1px solid #d9c9e8; color: #4b3173; background: #fffcffad; }
  .a5m8tw2q .s2q9fn7a { background: linear-gradient(130deg, #fff4fd, #f1d7fa); color: #422878; }
  .a5m8tw2q .s2q9fn7a:focus-visible { outline-color: white; }
  .s2q9fn7a:hover, .t5y1pu7x:hover { translate: 0 -2px; box-shadow: 0 .4rem .95rem #66419338; }
  .c4x9dz3v .t5y1pu7x { min-height: 2.45rem; padding-block: .35rem; }
  .m8w4kj3g, .e4m7wq2s button { background: white; color: var(--violet); border: 1px solid var(--line); min-width: 2.6rem; min-height: 2.6rem; border-radius: .62rem; }
  .m8w4kj3g { padding-inline: .55rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 750; }
  .e4m7wq2s button:hover, .m8w4kj3g:hover { background: var(--lilac); }

  [data-reveal="pending"] { opacity: .18; transform: translateY(.95rem); }
  [data-reveal="ready"] { transition: opacity .5s ease, transform .5s ease, translate .22s ease, box-shadow .22s ease; }
  [data-reveal]:focus-within, [data-reveal]:target { opacity: 1; transform: none; }
}

@layer responsive {
  @media (max-width: 980px) {
    .h6j3wn9q { width: min(100% - 3rem, 77.5rem); }
    .k6x9hf3p { gap: .8rem; }
    .w3p8dy6k { padding: 1.5rem; }
    .u8f4qh2s { grid-template-columns: 1fr; gap: 1.1rem; }
    .u8f4qh2s br { display: none; }
  }

  @media (max-width: 760px) {
    :root { scroll-padding-top: 4.8rem; }
    .h6j3wn9q { width: calc(100% - 2rem); }
    .e8s5qd1r { min-height: 3.95rem; gap: .45rem; }
    .e8s5qd1r .p2g8cj4x { gap: .4rem; }
    .y7f3ks9a { scale: .9; margin-inline-start: -.12rem; }
    .k6x9hf3p { display: none; }
    .u2b6nm8s:popover-open { top: 4.1rem; }
    .z2q7ma4e { grid-template-columns: 1fr; border-radius: 1.24rem; }
    .w3p8dy6k { padding: clamp(1.25rem, 5.3vw, 2.6rem); }
    .w3p8dy6k h2 { font-size: clamp(2.65rem, 8.4vw, 4.2rem); }
    .q3v7sf9m { border-radius: .9rem; margin: .55rem; }
    .d7j6wx2m { min-height: 15.6rem; }
    .z7a2kn6v { width: clamp(8.1rem, 27vw, 11.5rem); }
    .x5b7nz4h { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m2j7dg8q, .c6j8py2m, .s7y4rv6j, .p4j7dq6a, .v4n8yx5k { grid-template-columns: minmax(0, 1fr); }
  }

  @media (max-width: 490px) {
    .e8s5qd1r .t5y1pu7x { font-size: .76rem; padding-inline: .48rem; gap: .22rem; }
    .m8w4kj3g { font-size: .77rem; gap: .2rem; }
    .c4x9dz3v { gap: .35rem; }
    .w3p8dy6k h2 { font-size: clamp(2.05rem, 9.1vw, 3rem); }
    .n4v6he2k { margin-block-start: 1rem; }
    .n4v6he2k a { font-size: .78rem; padding-inline: .62rem; }
    .c9d3kx8b:has(> p) { align-items: start; flex-direction: column; gap: .35rem; }
    .y5q7rx3w { padding: .68rem; }
    .y5q7rx3w p { font-size: .81rem; }
    .l6q2kx7e { inset: .45rem auto auto .45rem; }
    .j6m3rp8x, .n8h2xd7k ol { grid-template-columns: minmax(0, 1fr); }
    .a5m8tw2q { align-items: flex-start; flex-direction: column; }
  }

  @media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    [data-reveal="pending"] { opacity: 1; transform: none; }
    .m4t9fa6r:hover, .m4t9fa6r:focus-within, .s2q9fn7a:hover, .t5y1pu7x:hover { translate: none; }
    .s8r6mk2p:hover img, .s8r6mk2p:focus-visible img { scale: none; }
  }
}
