@layer reset, base, layout, parts, responsive, motion;

/* 题字: 百子柜宋 (寒蝉活宋体抽稀改名, OFL) */
@font-face { font-family: "BZG Song"; src: url(/fonts/title.woff2?h=1e33a3ad) format("woff2"); font-display: swap; }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, ol, ul, dl, dd, figure, table { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  img, picture, svg { display: block; max-width: 100%; }
  img { height: auto; }
  button { font: inherit; color: inherit; cursor: pointer; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    --moon: #e6eff1;       /* 月白 */
    --paper: #f5f9f8;
    --bean: #dfeae3;       /* 豆青 */
    --lotus: #ece6ee;      /* 藕荷 */
    --ink: #16324a;        /* 石青兑墨 */
    --ink-2: #3f5a70;
    --rule: #9db5c3;
    --azur: #2468ab;       /* 石青 */
    --azur-d: #14467a;
    --night: #112c45;
    --on-wood: #0b2544;    /* 浅木上的字 */
    --wood: #5c3923;
    --wood-d: #1a0f09;
    --gold: #e9d6a6;
    --brass: #d8ab52;
    --cinnabar: #b5362a;   /* 朱砂 */
    --song: "BZG Song", "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
    --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    --focus: var(--azur-d);
    /* 抽屉上的铜环 */
    --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 34'%3E%3Cpath d='M13 1.2c2.6 0 3.6 2 3.6 3.8 1.9 0 3.8 1.2 3.8 3.5s-1.900 3.600-3.800 3.600c0 1.800-1 3.700-3.600 3.700s-3.600-1.900-3.600-3.700c-1.900 0-3.800-1.300-3.800-3.600S7.500 5 9.400 5c0-1.800 1-3.800 3.600-3.800z' fill='%23b98a37' stroke='%2322130a' stroke-width='1.100'/%3E%3Ccircle cx='13' cy='20.500' r='9' fill='none' stroke='%231f1108' stroke-width='4.800'/%3E%3Ccircle cx='13' cy='20.500' r='9' fill='none' stroke='%23c99b45' stroke-width='3'/%3E%3Cpath d='M5.200 25a9 9 0 0 0 8.800 4.500' fill='none' stroke='%23f2dc9c' stroke-width='1.200' stroke-linecap='round'/%3E%3Cpath d='M21.500 17.500a9 9 0 0 0-3-4.200' fill='none' stroke='%237d5a22' stroke-width='1.200' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='8.500' r='2.700' fill='%23ecd089' stroke='%2322130a' stroke-width='1.100'/%3E%3C/svg%3E");
    --bar: 56px;
    --n: 16;
    --m: 10;
    --cw: calc(100vw / var(--n));
    --base: .6;            /* 柜脚占几行 */
    --vh: 100vh;
    --rh: max(54px, (var(--vh) - var(--bar)) / (var(--m) + var(--base)));
    scroll-padding-top: 72px;
    color-scheme: light;
  }
  @supports (height: 100svh) { :root { --vh: 100svh; } }
  html { background: var(--moon); }
  body { font: 16px/1.8 var(--sans); color: var(--ink); background: var(--moon); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
  h1, h2, h3 { font-weight: 400; line-height: 1.25; }
  .t { font-family: var(--song); font-weight: 400; }
  a { color: inherit; text-underline-offset: .2em; }
  code { font: 500 .93em/1.6 ui-monospace, Menlo, Consolas, monospace; }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nb { white-space: nowrap; }
  .skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 8px 14px; background: var(--paper); }
  .skip:focus { left: 12px; }
}

@layer layout {
  .wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
  .sec { padding-block: 112px; position: relative; }
  .sec > .wrap { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 64px; align-items: start; }
  .story, .setup { background: var(--moon); }
  .play { background: var(--bean); }
  .req { background: var(--lotus); }
  .shots { background: var(--night); color: #dfe9ee; --focus: var(--brass); }
  .faq { background: #24140b; color: var(--gold); --focus: var(--brass); }
  .big { font-size: 21px; line-height: 1.7; max-width: 32em; }
  .sub { margin-top: 4px; font-size: 15px; opacity: .84; }
  h3.t { font-size: 26px; }
}

@layer parts {
  /* 顶栏 */
  .bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 30px; height: var(--bar); padding-inline: 32px; background: var(--wood-d); color: var(--gold); --focus: var(--brass); box-shadow: 0 1px 0 #4a2e1c; }
  .brand { font-size: 25px; text-decoration: none; }
  .bar nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
  .bar nav a { text-decoration: none; padding: 6px 0; }
  .bar nav a:hover { color: #fff; box-shadow: 0 2px 0 var(--brass); }
  .pill { border: 0; padding: 7px 20px 8px; font-size: 18px; line-height: 1.3; color: #fff; background: var(--azur); border-radius: 2px; box-shadow: inset 0 1px 0 #7db4e6, inset 0 -2px 0 var(--azur-d); }
  .pill:hover { background: #2d78c2; }

  /* ---- 首屏: 百子柜 ---- */
  .hero { position: relative; overflow: hidden; background: #160c06; --focus: #ffe1a0; }
  .stage { position: relative; height: calc(var(--rh) * (var(--m) + var(--base))); overflow: hidden; }
  .wall, .desk { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-template-rows: repeat(var(--m), var(--rh)); }
  .wall > h1, .cells { display: contents; }
  .desk { z-index: 10; pointer-events: none; }
  .desk > * { pointer-events: auto; }
  .wall::before { content: ""; position: absolute; inset: auto 0 0; height: calc(var(--rh) * var(--base)); background: linear-gradient(#0b0502, transparent 22%), url(/img/wl-1-1200.webp?h=164432af) 0 0 / 100% 100%; box-shadow: inset 0 5px 0 -2px #6f482c, inset 0 -3px 0 #120904; }
  .wall::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: radial-gradient(70% 78% at 45% 30%, rgb(255 214 140 / .13), transparent 60%), radial-gradient(118% 112% at 46% 36%, transparent 52%, rgb(8 4 1 / .62)); }

  .d { position: relative; display: block; padding: 0; border: 0; background: none; min-width: 0; font-style: normal; text-align: left; }
  .d > b { position: absolute; z-index: 1; inset: 3px; display: block; pointer-events: none; border-radius: 2px; transform-origin: 50% 0;
    background: var(--ring) 50% 55% / auto min(calc(var(--rh) * .4), calc(var(--cw) * .35)) no-repeat, var(--wd) 0 0 / 100% 100%;
    box-shadow: inset 0 0 0 1px #24140b, inset 0 2px 0 #8a5f3d, inset 2px 0 0 #6f482c, inset 0 -3px 1px #27160c, inset -2px 0 1px #2a180d; }
  .d > b::before, .d > b::after { content: attr(data-a); position: absolute; top: 52%; left: 9%; translate: 0 -50%; font: 400 min(calc(var(--cw) * .225), calc(var(--rh) * .27)) / 1 var(--song); color: #c9ab74; text-shadow: 0 -1px 0 #1c0f07; }
  .d > b::after { content: attr(data-b); left: auto; right: 9%; }
  .w0 { --wd: url(/img/wd-0-300.webp?h=a816ab79); } .w1 { --wd: url(/img/wd-1-300.webp?h=8a7fd2ff); } .w2 { --wd: url(/img/wd-2-300.webp?h=e4a83810); }
  .w3 { --wd: url(/img/wd-3-300.webp?h=32449b80); } .w4 { --wd: url(/img/wd-4-300.webp?h=1200cb3a); } .w5 { --wd: url(/img/wd-5-300.webp?h=21d5dfe0); }

  /* 抽屉肚: 拉开才看得到 */
  .d::before { content: ""; position: absolute; inset: 4px 4px 34%; visibility: hidden; pointer-events: none; clip-path: polygon(2% 0, 98% 0, 105% 100%, -5% 100%);
    background: linear-gradient(#0b0502 2%, rgb(11 5 2 / .6) 22%, rgb(11 5 2 / 0) 66%), var(--lin, #3a2616); }
  :is(.p0, .p1, .p2)::after { content: ""; position: absolute; left: 50%; bottom: 27%; width: 104%; aspect-ratio: 220 / 150; translate: -50% 0; pointer-events: none; transform-origin: 50% 100%; transform: scale(.8, 0); background: var(--tr, none) 50% 100% / contain no-repeat; }
  .p0 { --lin: #6d4a1c; } .p1 { --lin: #5c2330; } .p2 { --lin: #3c4a2a; }
  .f-mum { --lin: #7d2436; } .f-peony { --lin: #1d5b70; } .f-lotus { --lin: #2f6a50; } .f-bell { --lin: #9a7420; } .f-plum { --lin: #24566b; } .f-anth { --lin: #223f7a; } .f-lily { --lin: #7a2a3c; } .f-camellia { --lin: #24566b; } .f-hibiscus { --lin: #8a6a1e; } .f-daylily { --lin: #23467c; } .f-narcissus { --lin: #7a2a3c; } .f-magnolia { --lin: #2f6a50; }
  .f-mum, .fl-mum { --bl: url(/img/fl-mum-560.webp?h=35e80c92); } .f-peony, .fl-peony { --bl: url(/img/fl-peony-560.webp?h=bc200299); } .f-lotus, .fl-lotus { --bl: url(/img/fl-lotus-560.webp?h=5d0ddde2); } .f-bell, .fl-bell { --bl: url(/img/fl-bell-560.webp?h=dcd4d246); }
  .f-plum, .fl-plum { --bl: url(/img/fl-plum-560.webp?h=c05b0033); } .f-anth, .fl-anth { --bl: url(/img/fl-anth-560.webp?h=291930c5); } .f-lily, .fl-lily { --bl: url(/img/fl-lily-560.webp?h=1bef4929); } .f-camellia, .fl-camellia { --bl: url(/img/fl-camellia-560.webp?h=9ba92fca); }
  .f-hibiscus, .fl-hibiscus { --bl: url(/img/fl-hibiscus-560.webp?h=fab65ec1); } .f-daylily, .fl-daylily { --bl: url(/img/fl-daylily-560.webp?h=098e9063); } .f-narcissus, .fl-narcissus { --bl: url(/img/fl-narcissus-560.webp?h=0bcf2baf); } .f-magnolia, .fl-magnolia { --bl: url(/img/fl-magnolia-560.webp?h=60473b45); }
  @supports (background-image: image-set(url("/a") type("image/avif"))) {
    .f-mum, .fl-mum { --bl: image-set(url(/img/fl-mum-560.avif?h=e3e4dab3) type("image/avif"), url(/img/fl-mum-560.webp?h=35e80c92) type("image/webp")); } .f-peony, .fl-peony { --bl: image-set(url(/img/fl-peony-560.avif?h=3a435517) type("image/avif"), url(/img/fl-peony-560.webp?h=bc200299) type("image/webp")); }
    .f-lotus, .fl-lotus { --bl: image-set(url(/img/fl-lotus-560.avif?h=becc9dbc) type("image/avif"), url(/img/fl-lotus-560.webp?h=5d0ddde2) type("image/webp")); } .f-bell, .fl-bell { --bl: image-set(url(/img/fl-bell-560.avif?h=d50a99c9) type("image/avif"), url(/img/fl-bell-560.webp?h=dcd4d246) type("image/webp")); }
    .f-plum, .fl-plum { --bl: image-set(url(/img/fl-plum-560.avif?h=c8d985fd) type("image/avif"), url(/img/fl-plum-560.webp?h=c05b0033) type("image/webp")); } .f-anth, .fl-anth { --bl: image-set(url(/img/fl-anth-560.avif?h=7408a0e0) type("image/avif"), url(/img/fl-anth-560.webp?h=291930c5) type("image/webp")); }
    .f-lily, .fl-lily { --bl: image-set(url(/img/fl-lily-560.avif?h=fbf05753) type("image/avif"), url(/img/fl-lily-560.webp?h=1bef4929) type("image/webp")); } .f-camellia, .fl-camellia { --bl: image-set(url(/img/fl-camellia-560.avif?h=9dc8899d) type("image/avif"), url(/img/fl-camellia-560.webp?h=9ba92fca) type("image/webp")); }
    .f-hibiscus, .fl-hibiscus { --bl: image-set(url(/img/fl-hibiscus-560.avif?h=cef5ce04) type("image/avif"), url(/img/fl-hibiscus-560.webp?h=fab65ec1) type("image/webp")); } .f-daylily, .fl-daylily { --bl: image-set(url(/img/fl-daylily-560.avif?h=8d92b9b8) type("image/avif"), url(/img/fl-daylily-560.webp?h=098e9063) type("image/webp")); }
    .f-narcissus, .fl-narcissus { --bl: image-set(url(/img/fl-narcissus-560.avif?h=77100049) type("image/avif"), url(/img/fl-narcissus-560.webp?h=0bcf2baf) type("image/webp")); } .f-magnolia, .fl-magnolia { --bl: image-set(url(/img/fl-magnolia-560.avif?h=c9c427ef) type("image/avif"), url(/img/fl-magnolia-560.webp?h=60473b45) type("image/webp")); }
  }
  .f::after { content: ""; position: absolute; left: calc(50% + var(--sx, 0px)); bottom: 33%; width: var(--bw, calc(var(--cw) * 2.1)); aspect-ratio: 280 / 360; translate: -50% 0; pointer-events: none; transform-origin: 50% 100%; transform: scale(.3, 0); opacity: 0; background: 50% 100% / contain no-repeat; }

  .d.on { z-index: 3; }
  .d.on::before { visibility: visible; }
  .d.on > b { transform: translateY(46%) scale(1.13); }
  .d.on > b, .card > b { box-shadow: inset 0 0 0 1px #24140b, inset 0 2px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -3px 1px #27160c, inset -2px 0 1px #2a180d, 0 3px 3px #0a0502, 0 14px 14px -3px rgb(8 4 1 / .85); }
  .d.on > b::before, .d.on > b::after { color: #f2e0b0; }
  .f.on::after { background-image: var(--bl); transform: none; opacity: 1; }
  .warm .f::after { background-image: var(--bl); }

  .cells > i:nth-child(n + 139) { display: none; }   /* 正好铺满 16 × 10, 多的不要 */
  /* 首屏开着的几格 */
  .o1 { grid-area: 5 / 5; --bw: min(var(--cw) * 2.95, var(--rh) * 3.5); }
  .o2 { grid-area: 8 / 8; --bw: min(var(--cw) * 3.1, var(--rh) * 3.7); z-index: 5 !important; }
  .o3 { grid-area: 10 / 6; --bw: min(var(--cw) * 2.5, var(--rh) * 3); z-index: 5 !important; }
  .o4 { grid-area: 4 / 10; --bw: min(var(--cw) * 2.7, var(--rh) * 2.8); }
  .o5 { grid-area: 10 / 10; --bw: min(var(--cw) * 2.5, var(--rh) * 3); z-index: 5 !important; }
  .o6 { grid-area: 3 / 15; --bw: min(var(--cw) * 1.75, var(--rh) * 2); }
  .k-pav { grid-area: 4 / 7; } .k-port { grid-area: 3 / 12; }
  .card .pc { position: absolute; left: 50%; bottom: 20%; width: var(--pw); translate: -50% 0; pointer-events: none; border: 5px solid #eef4f5; border-bottom: 0; box-shadow: 0 5px 9px rgb(8 4 1 / .7); transform-origin: 50% 100%; }
  .card .pc img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; }
  .k-pav { --pw: min(var(--cw) * 2.2, var(--rh) * 3); --ar: 4 / 3; --lin: #2d5a6d; } .k-port { --pw: min(var(--cw) * 1.5, var(--rh) * 1.8); --ar: 166 / 223; --lin: #7a2a22; }
  .k-pav .pc { pointer-events: auto; }
  .card:focus-visible { outline: none; }
  .card:focus-visible .pc { outline: 4px solid var(--focus); outline-offset: 3px; }

  /* 名字五格 */
  .big { z-index: 2; }
  .b1 { grid-area: 1 / 2 / 3 / 4; --hw: url(/img/wh-0-440.webp?h=642c2a0e); } .b2 { grid-area: 3 / 2 / 5 / 4; --hw: url(/img/wh-1-440.webp?h=5b62e557); } .b3 { grid-area: 5 / 2 / 7 / 4; --hw: url(/img/wh-2-440.webp?h=1c61b941); }
  .b4 { grid-area: 7 / 2 / 9 / 4; --hw: url(/img/wh-0-440.webp?h=642c2a0e); } .b5 { grid-area: 9 / 2 / 11 / 4; --hw: url(/img/wh-1-440.webp?h=5b62e557); }
  .big > b { inset: 4px; display: grid; place-items: center; padding-bottom: calc(var(--rh) * .34); font-family: var(--song); font-weight: 400; font-size: min(calc(var(--cw) * 1.32), calc(var(--rh) * 1.34)); line-height: 1; color: #123c6c; text-shadow: 0 -1px 0 #081c36, 0 2px 0 #f3d6a2;
    background: var(--ring) 50% calc(100% - var(--rh) * .05) / auto calc(var(--rh) * .4) no-repeat, var(--hw) 0 0 / 100% 100%;
    box-shadow: inset 0 0 0 1px #4a2c10, inset 0 3px 0 #f1cf95, inset 3px 0 0 #dcae6a, inset 0 -5px 2px #82531f, inset -3px 0 2px #8a5a26, 0 4px 7px #0a0502; }
  .big > b::before { content: ""; left: 9px; right: 9px; top: 9px; bottom: 9px; translate: none; border: 1.5px solid #82531f; box-shadow: 0 1px 0 #efd09b, inset 0 1px 0 #efd09b; }
  .big > b::after { content: attr(data-c); position: static; translate: none; font: inherit; color: inherit; text-shadow: inherit; }
  .big::before { --lin: #1d4f7c; inset: 5px 5px 40%; }
  .big::after { content: ""; position: absolute; left: 50%; bottom: 46%; width: calc(var(--cw) * 1.62); aspect-ratio: 4 / 3; translate: -50% 0; pointer-events: none; transform-origin: 50% 100%; transform: translateY(62%); opacity: 0; border: 5px solid #eef4f5; border-bottom: 0; background: 50% 42% / cover no-repeat; }
  .b1::after { width: min(calc(var(--cw) * 1.28), calc(var(--rh) * 1.4)); }

  /* 方笺 + 下载抽屉 */
  .slip { grid-area: 4 / 11 / 9 / 16; align-self: end; justify-self: center; position: relative; width: calc(var(--cw) * 4.1); min-width: 316px; padding: 1.9em 2em 2.8em; font-size: clamp(16px, var(--cw) * .172, 25px); background: var(--paper); color: var(--ink); box-shadow: 0 10px 20px rgb(8 4 1 / .7); }
  .slip::before { content: ""; position: absolute; inset: 10px 10px 0; pointer-events: none; border: 3px solid var(--azur); border-bottom: 0; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--azur); }
  .slip .en { font-size: max(22px, var(--cw) * .3); line-height: 1.2; white-space: nowrap; }
  .slip .lead { margin-top: .5em; font-size: 1.03em; line-height: 1.75; }
  .facts { display: grid; grid-template-columns: auto auto; gap: .5em 1.6em; margin-top: 1em; padding-top: .9em; border-top: 1px solid var(--rule); width: calc(100% - 4em); }
  .facts dt { font-size: max(13px, .8em); line-height: 1.4; color: var(--ink-2); }
  .facts dd { font-weight: 700; line-height: 1.5; }
  .facts small { display: block; font-size: max(13px, .8em); font-weight: 400; }
  .seal { position: absolute; right: 1.15em; bottom: 1.75em; display: grid; place-items: center; width: 1.7em; height: 2.75em; padding: 4px; writing-mode: vertical-rl; font-style: normal; font-size: 1.68em; line-height: 1; letter-spacing: .04em; color: #fbf3ea; background: var(--cinnabar); border-radius: 4px 6px 3px 5px; box-shadow: inset 0 0 0 2px var(--cinnabar), inset 0 0 0 3.5px #f3d9cf; rotate: 1.6deg; }
  .cta { grid-area: 9 / 11 / 11 / 16; position: relative; display: flex; gap: 12px; align-items: start; padding: 0 calc(var(--cw) * .12); margin-top: calc(var(--rh) * -.02); }
  .cta > button { flex: 1; min-width: 0; height: calc(var(--rh) * 1.36); min-height: 72px; }

  .dl-btn, .alt-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 10px 70px; font-size: 24px; line-height: 1.2; text-decoration: none; white-space: nowrap; border-radius: 3px; color: #fff; background: var(--azur);
    box-shadow: inset 0 0 0 2px #0e2e52, inset 0 4px 0 #78b2e6, inset 0 -5px 2px #144a80, 0 3px 4px rgb(8 4 1 / .6); }
  .dl-btn::before, .dl-btn::after, .alt-btn::before, .alt-btn::after { content: ""; position: absolute; top: 50%; left: 22px; width: 28px; height: 37px; translate: 0 -44%; background: var(--ring) 0 0 / 100% 100%; }
  .dl-btn::after, .alt-btn::after { left: auto; right: 22px; }
  .dl-btn:hover { background: #2d78c2; }
  .alt-btn { color: var(--on-wood); background: url(/img/wh-1-440.webp?h=5b62e557) 0 0 / 100% 100%; box-shadow: inset 0 0 0 2px #4a2c10, inset 0 4px 0 #f1cf95, inset 0 -5px 2px #82531f, 0 3px 4px rgb(8 4 1 / .6); }
  .cta .dl-btn, .cta .alt-btn { font-size: calc(var(--cw) * .38); box-shadow: inset 0 0 0 2px #0e2e52, inset 0 5px 0 #78b2e6, inset 0 -6px 2px #144a80, 0 4px 5px #0a0502, 0 20px 22px -6px rgb(8 4 1 / .9); }
  .cta .alt-btn { box-shadow: inset 0 0 0 2px #4a2c10, inset 0 5px 0 #f1cf95, inset 0 -6px 2px #82531f, 0 4px 5px #0a0502, 0 20px 22px -6px rgb(8 4 1 / .9); }
  .cta > button:only-child::before, .cta > button:only-child::after { width: auto; height: 43%; aspect-ratio: 26 / 34; left: 8%; }
  .cta > button:only-child::after { left: auto; right: 8%; }
  /* 有安卓包: 两格并排, 各挂一个环 */
  .cta > button:not(:only-child) { padding: 0 12px 0 calc(var(--cw) * .58); font-size: calc(var(--cw) * .29); }
  .cta > button:not(:only-child)::before { left: calc(var(--cw) * .15); width: auto; height: 38%; aspect-ratio: 26 / 34; }
  .cta > button:not(:only-child)::after { content: none; }
  .hint { position: absolute; left: calc(100% / var(--n) * 6.7); bottom: 0; display: grid; align-items: center; height: calc(var(--rh) * var(--base)); font-size: 14px; color: #c9ab74; pointer-events: none; }
  .toc { display: none; }

  /* ---- 节标题: 一格抽屉, 上面长一株花 ---- */
  .rail { position: sticky; top: 84px; padding-top: 206px; width: 178px; }
  .rail::before { content: ""; position: absolute; left: 50%; bottom: 62px; width: 168px; aspect-ratio: 280 / 360; translate: -50% 0; background: var(--bl) 50% 100% / contain no-repeat; transform-origin: 50% 100%; }
  .lab { position: relative; display: grid; grid-template-columns: 1fr 34px 1fr; justify-items: center; align-items: center; height: 92px; font-size: 40px; line-height: 1; color: #f2e0b0; text-shadow: 0 -1px 0 #1c0f07; border-radius: 3px;
    background: var(--ring) 50% 56% / auto 44px no-repeat, url(/img/wd-2-300.webp?h=e4a83810) 0 0 / 100% 100%;
    box-shadow: inset 0 0 0 1px #24140b, inset 0 3px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -4px 1px #27160c, inset -2px 0 1px #2a180d, 0 10px 14px -4px rgb(20 10 4 / .5); }
  .lab span:last-child { grid-column: 3; }

  /* 故事 */
  .story-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: start; }
  .leaf { --pitch: 46px; --px: 24px; position: relative; writing-mode: vertical-rl; width: calc(var(--pitch) * 7 + var(--px) * 2 + 8px); height: 452px; padding: 30px var(--px); font-size: 23px; line-height: var(--pitch); background: var(--paper); border: 4px solid var(--azur-d); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--azur-d); }
  .leaf { text-wrap: wrap; }
  .leaf { font-feature-settings: "vert"; }
  .leaf p { background: repeating-linear-gradient(to left, transparent 0 calc(var(--pitch) - 1px), var(--rule) calc(var(--pitch) - 1px) var(--pitch)); }
  .story figure img { width: 100%; }
  figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
  .story .pic picture { border: 6px solid #3a2416; }
  .credit { display: grid; gap: 6px; margin-top: 24px; font-size: 15px; line-height: 1.7; }
  .credit div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
  .credit dt { color: var(--ink-2); }

  /* 玩法: 图谱的一叶, 中间是版心 */
  .spread { display: grid; grid-template-columns: 1fr 50px 1fr; margin-top: 32px; background: var(--paper); border: 4px solid var(--azur-d); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--azur-d); padding: 5px; }
  .spread ul { display: grid; grid-template-columns: 1fr 1fr; }
  .spread li { position: relative; padding: 22px 20px 18px 16px; border: 0 solid var(--rule); }
  .spread li:nth-child(odd) { border-right-width: 1px; }
  .spread li:nth-child(-n+2) { border-bottom-width: 1px; }
  .spread li img { width: 88%; }
  .spread li b { position: absolute; right: 12px; top: 14px; padding: 8px 4px 6px; writing-mode: vertical-rl; font-size: 22px; line-height: 1.1; letter-spacing: .06em; background: var(--paper); border: 1.5px solid var(--azur-d); }
  .spine { display: flex; flex-direction: column; align-items: center; border-inline: 1px solid var(--azur-d); font-size: 19px; letter-spacing: .14em; }
  .spine span { writing-mode: vertical-rl; margin-block: 14px; flex: none; text-align: center; }
  .spine i { width: 100%; flex: 1 1 84px; min-height: 24px; background: var(--azur-d); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); }
  .spine i:last-child { clip-path: polygon(0 0, 50% 26%, 100% 0, 100% 100%, 0 100%); }

  .hud { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; margin-top: 48px; align-items: start; }
  .hud-pic { position: relative; }
  .hud-pic > i { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; pointer-events: none; font: 700 15px/1 var(--sans); color: #fff; background: var(--cinnabar); box-shadow: 0 0 0 2px #fff; }
  .hud-pic .cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hud ol { counter-reset: h; display: grid; gap: 8px; margin: 12px 0 28px; font-size: 15px; line-height: 1.65; }
  .hud li { counter-increment: h; display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
  .hud li::before { content: counter(h); display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; font: 700 13px/1 var(--sans); color: #fff; background: var(--cinnabar); }
  .keys { display: grid; gap: 10px; margin-top: 14px; font-size: 15px; }
  .keys div { display: flex; align-items: center; gap: 14px; }
  .keys dt { display: flex; gap: 4px; min-width: 140px; }
  kbd { display: grid; place-items: center; min-width: 32px; height: 34px; padding: 0 8px; font: 700 15px/1 var(--sans); color: var(--on-wood); border-radius: 3px; background: url(/img/wh-1-440.webp?h=5b62e557) 0 0 / 220px auto; box-shadow: inset 0 0 0 1px #4a2c10, inset 0 2px 0 #f1cf95, inset 0 -4px 1px #82531f; }

  /* 画面: 一张图插在一格抽屉里 */
  .shot { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
  .shot picture { overflow: hidden; background: #0a1a28; }
  .shot img { width: 100%; height: 100%; object-fit: cover; }
  .shots .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 38px 22px; margin-top: 34px; align-items: end; }
  .g1, .g6 { grid-column: span 4; } .g2, .g5 { grid-column: span 2; } .g3, .g4 { grid-column: span 3; }
  .shots .shot { position: relative; }
  .shots .shot picture { position: relative; margin-inline: 14px; border: 5px solid #eef4f5; border-bottom: 0; }
  .shots .shot picture { aspect-ratio: 16 / 9; } .g2 .shot picture { aspect-ratio: 4 / 4.6 !important; } .g6 .shot picture { aspect-ratio: 2.2 !important; } .g5 .shot picture { aspect-ratio: 716 / 476 !important; }
  .g2 .shot img { object-position: 52% 60%; } .g5 .shot img { object-position: 46% 50%; }
  .shots .cap { position: relative; display: flex; align-items: center; min-height: 62px; padding: 8px 64px 8px 22px; font: 400 21px/1.3 var(--song); color: #f2e0b0; text-shadow: 0 -1px 0 #1c0f07; border-radius: 3px;
    background: var(--ring) calc(100% - 22px) 55% / auto 36px no-repeat, url(/img/wl-0-1200.webp?h=c99711bb) 0 0 / 100% 100%;
    box-shadow: inset 0 0 0 1px #24140b, inset 0 3px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -4px 1px #27160c, 0 12px 16px -6px rgb(0 0 0 / .7); }

  /* 配置 */
  .req-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 52px; align-items: start; }
  .rx-paper { padding: 34px 36px 30px; background: var(--paper); border: 4px solid var(--azur-d); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--azur-d); }
  table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
  caption { padding-bottom: 12px; text-align: left; font-size: 14px; color: var(--ink-2); }
  thead th { padding: 4px 0 8px; text-align: left; font-size: 23px; font-weight: 400; color: var(--azur-d); }
  tbody th { width: 92px; text-align: left; font-size: 21px; font-weight: 400; }
  tbody tr > * { padding: 10px 12px 10px 0; border-top: 1px solid var(--rule); vertical-align: baseline; }
  .note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14.5px; }
  .opts dl { display: grid; gap: 12px; margin: 16px 0 18px; font-size: 15.5px; line-height: 1.7; }
  .opts div { display: grid; grid-template-columns: 52px 1fr; gap: 12px; }
  .opts dt { font-weight: 700; }

  /* 安装 */
  .how-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .how h3:not(:first-child) { margin-top: 36px; }
  .steps { counter-reset: s; display: grid; gap: 14px; margin-top: 18px; }
  .steps li { counter-increment: s; position: relative; padding-left: 48px; min-height: 34px; }
  .steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; font: 400 22px/1 var(--song); color: var(--on-wood); border-radius: 3px; background: url(/img/wh-0-440.webp?h=642c2a0e) 0 0 / 220px auto; box-shadow: inset 0 0 0 1px #4a2c10, inset 0 2px 0 #f1cf95, inset 0 -4px 1px #82531f; }
  .how > p { margin-top: 8px; }
  .path { overflow-wrap: anywhere; padding: 10px 14px; background: var(--paper); border-left: 4px solid var(--azur); }
  .figs { display: grid; gap: 36px; }
  .nest-in { position: relative; height: 262px; max-width: 420px; margin-inline: auto; }
  .nest-in > * { position: absolute; left: 50%; translate: -50% 0; }
  .nest-in i { clip-path: polygon(7% 0, 93% 0, 101% 100%, -1% 100%); background: linear-gradient(#0b0502, #4a2e1b 80%, #5c3923); }
  .t1 { bottom: 70px; width: 94%; height: 92px; } .t2 { bottom: 128px; width: 54%; height: 66px; }
  .nest-in p { display: grid; place-items: center; border-radius: 3px; line-height: 1.2; }
  .tag { bottom: 136px; width: 138px; height: 124px; padding-bottom: 34px; font-size: 28px; color: var(--on-wood); background: url(/img/wh-2-440.webp?h=1c61b941) 0 0 / 100% 100%; box-shadow: inset 0 0 0 1px #4a2c10, inset 0 3px 0 #f1cf95, inset 3px 0 0 #dcae6a, 0 4px 8px rgb(20 10 4 / .5); }
  .f1, .f2 { color: #f2e0b0; text-shadow: 0 -1px 0 #1c0f07; background: var(--ring) 22px 56% / auto 34px no-repeat, var(--ring) calc(100% - 22px) 56% / auto 34px no-repeat, url(/img/wl-1-1200.webp?h=164432af) 0 0 / 100% 100%; box-shadow: inset 0 0 0 1px #24140b, inset 0 3px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -4px 1px #27160c, 0 10px 14px -4px rgb(20 10 4 / .55); }
  .f2 { bottom: 66px; width: 60%; height: 78px; font-size: 30px; background-image: var(--ring), var(--ring), url(/img/wl-0-1200.webp?h=c99711bb); }
  .f1 { bottom: 0; width: 100%; height: 84px; font-size: 28px; }
  .opt-in { max-width: 400px; margin-inline: auto; padding: 18px 24px 20px; background: #101317; color: #e8e6df; border: 1px solid #2d333a; }
  .opt-in > p:first-child { font-size: 24px; }
  .opt-in > i { display: block; height: 10px; margin-top: 16px; background: linear-gradient(90deg, #3a4148 0 34%, transparent 34% 62%, #3a4148 62%); }
  .opt-in .row { display: flex; align-items: center; gap: 12px; margin: 14px -12px 0; padding: 8px 12px; background: #24303c; font-size: 15px; box-shadow: 0 0 0 2px var(--brass); }
  .opt-in .row span { margin-right: auto; } .opt-in .row b { color: var(--brass); font-size: 13px; } .opt-in em { font-style: normal; font-size: 20px; line-height: 1.2; }
  .figs figcaption { text-align: center; }

  /* 戥子 */
  .weigh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 20px 48px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); }
  .eta { display: grid; gap: 2px; justify-items: start; margin-top: 12px; }
  .eta output { font-size: 40px; line-height: 1.2; color: var(--azur-d); font-variant-numeric: tabular-nums; }
  .eta span { font-size: 15px; color: var(--ink-2); }
  .yard { --tilt: 0deg; position: relative; height: 292px; }
  .yard .cord { position: absolute; left: 24.5%; top: 0; width: 34px; translate: -50% 0; z-index: 2; }
  .beam { position: absolute; left: 0; right: 0; top: 52px; height: 16px; border-radius: 10px 4px 4px 10px; transform-origin: 24.5% 50%; rotate: var(--tilt); background: linear-gradient(#f6ecd2, #e2cf9f 45%, #b99a5e); box-shadow: 0 0 0 1.5px #2a180c; }
  .beam .pan { position: absolute; left: 6px; top: 4px; width: 170px; max-width: none; rotate: calc(var(--tilt) * -1); transform-origin: 50% 3%; }
  .pan-n { position: absolute; left: 6px; bottom: 0; width: 170px; text-align: center; font-size: 22px; line-height: 1.2; }
  .beam input { position: absolute; left: 31%; right: 0; top: 0; width: 69%; height: 16px; margin: 0; appearance: none; background: none; cursor: pointer; }
  .beam input::-webkit-slider-runnable-track { height: 16px; }
  .beam input::-moz-range-track { height: 16px; background: none; }
  .beam input::-webkit-slider-thumb { appearance: none; width: 48px; height: 100px; margin-top: -4px; border: 0; background: var(--wt) 50% 0 / 100% 100% no-repeat; }
  .beam input::-moz-range-thumb { width: 48px; height: 100px; border: 0; border-radius: 0; background: var(--wt) 50% 0 / 100% 100% no-repeat; translate: 0 38px; }
  .beam { --wt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 100'%3E%3Cpath d='M14 2q10-6 20 0v20q-10 6-20 0z' fill='none' stroke='%237a2418' stroke-width='2.500'/%3E%3Cpath d='M24 22v22' stroke='%237a2418' stroke-width='3'/%3E%3Cpath d='M18 42h12l3 8H15z' fill='%23c99b45' stroke='%2322130a' stroke-width='1.500'/%3E%3Cpath d='M15 50h18c10 6 13 18 11 34-1 9-8 14-20 14S5 93 4 84C2 68 5 56 15 50z' fill='%23c99b45' stroke='%2322130a' stroke-width='2'/%3E%3Cpath d='M11 62c-3 8-3 18-1 24' fill='none' stroke='%23f2dc9c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .stars { position: absolute; left: calc(31% + 24px); right: 24px; top: -30px; display: flex; justify-content: space-between; pointer-events: none; font-size: 14px; line-height: 1; font-weight: 700; }
  .stars li { position: relative; width: 0; display: grid; justify-items: center; white-space: nowrap; }
  .stars li::after { content: ""; position: absolute; top: 34px; width: 8px; height: 8px; border-radius: 50%; background: #b07d2c; box-shadow: 0 0 0 1px #2a180c; }
  .room { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 16px 48px; margin-top: 20px; align-items: start; }
  .room ul { display: grid; gap: 12px; grid-row: span 2; }
  .room li { display: flex; align-items: center; gap: 14px; width: calc(var(--v) / 9.1 * 100%); min-height: 50px; padding: 0 18px; color: #f2e0b0; font-size: 15px; border-radius: 3px; background: url(/img/wl-0-1200.webp?h=c99711bb) 0 0 / 100% 100%; box-shadow: inset 0 0 0 1px #24140b, inset 0 3px 0 #a3754d, inset 0 -4px 1px #27160c; }
  .room li:first-child { background-image: url(/img/wh-2-440.webp?h=1c61b941); color: var(--on-wood); box-shadow: inset 0 0 0 1px #4a2c10, inset 0 3px 0 #f1cf95, inset 0 -4px 1px #82531f; }
  .room li b { font-size: 18px; }
  .room p { font-size: 15.5px; }

  .file { margin-top: 64px; padding: 34px 38px 30px; background: var(--paper); border: 4px solid var(--azur-d); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--azur-d); }
  .file dl { margin-top: 12px; }
  .file dl div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
  .file dt { color: var(--ink-2); }
  .file dd { font-weight: 600; overflow-wrap: anywhere; }
  .file-act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
  .file .dl-btn { min-height: 62px; }
  .plain { border: 2px solid var(--azur-d); padding: 10px 20px; font-size: 15px; color: var(--azur-d); background: none; border-radius: 2px; }
  .plain:hover { background: #dbe8ee; }
  .second { margin-top: 30px !important; padding-top: 8px; border-top: 1px solid var(--rule); }
  .fine { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
  .dlg:has(#dl-link:not([hidden])) .fine { display: none; }

  /* 问答: 一排长抽屉 */
  .qa { display: grid; gap: 8px; padding: 10px; background: #120904; box-shadow: inset 0 0 0 2px #3a2416; }
  .qa summary { position: relative; display: flex; align-items: center; min-height: 66px; padding: 10px 70px 10px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; line-height: 1.5; color: #f4e6c0; text-shadow: 0 -1px 0 #1c0f07; border-radius: 3px;
    background: var(--ring) calc(100% - 24px) 54% / auto 38px no-repeat, url(/img/wl-0-1200.webp?h=c99711bb) 0 0 / 100% 100%;
    box-shadow: inset 0 0 0 1px #24140b, inset 0 3px 0 #8a5f3d, inset 2px 0 0 #6f482c, inset 0 -4px 1px #27160c; }
  .qa details:nth-child(even) summary { background-image: var(--ring), url(/img/wl-1-1200.webp?h=164432af); }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary:hover { color: #fff; }
  .qa details[open] summary { box-shadow: inset 0 0 0 1px #24140b, inset 0 3px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -4px 1px #27160c, 0 8px 10px -3px #000; z-index: 1; }
  .qa details > p { margin: 0 12px; padding: 22px 26px 22px; color: var(--ink); background: var(--paper); }
  .qa code { overflow-wrap: anywhere; }

  .foot { padding: 56px 0 72px; background: #120904; color: #d9c8a4; font-size: 14.5px; --focus: var(--brass); }
  .foot .wrap { display: grid; grid-template-columns: 178px 1fr; gap: 24px 64px; }
  .foot-title { font-size: 34px; line-height: 1.2; color: var(--gold); }
  .links { display: flex; gap: 22px; margin-top: 10px; }

  /* 弹窗 */
  dialog { border: 0; padding: 0; color: var(--ink); }
  dialog::backdrop { background: rgb(14 7 3 / .78); }
  .x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; background: none; }
  .x::before, .x::after { content: ""; position: absolute; left: 9px; top: 19px; width: 22px; height: 2.5px; background: currentColor; rotate: 45deg; }
  .x::after { rotate: -45deg; }
  .dlg { width: min(460px, 100% - 32px); padding: 36px 34px 30px; text-align: center; background: var(--paper); border: 4px solid var(--azur-d); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--azur-d); }
  .dlg h2 { font-size: 36px; }
  .dlg-file { margin: 8px 0 18px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
  #ts-box { min-height: 70px; display: grid; place-items: center; }
  #dl-status { margin-top: 14px; font-size: 15px; }
  #dl-link { margin-top: 16px; min-height: 58px; font-size: 22px; }
  .lb { width: min(1280px, 100% - 24px); max-width: none; max-height: calc(100svh - 24px); background: none; color: #f1e6cc; overflow: visible; --focus: var(--brass); }
  .lb picture img { width: 100%; max-height: calc(100svh - 130px); object-fit: contain; background: #0c0603; }
  .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
  .lb-nav { display: flex; align-items: center; gap: 14px; }
  .lb-nav button { position: relative; width: 44px; height: 44px; border: 0; border-radius: 3px; background: url(/img/wd-1-300.webp?h=8a7fd2ff) 0 0 / 100% 100%; box-shadow: inset 0 0 0 1px #24140b, inset 0 2px 0 #8a5f3d, inset 0 -3px 1px #27160c; }
  .lb-nav button::before { content: ""; position: absolute; inset: 15px 13px 15px 18px; border: solid #f2e0b0; border-width: 0 0 3px 3px; rotate: 45deg; width: 13px; height: 13px; }
  .lb-nav button:last-child::before { rotate: 225deg; inset: 15px 18px 15px 13px; }
  .lb .x { top: -4px; right: 0; z-index: 2; width: 46px; height: 46px; background: rgb(14 7 3 / .7); }
  .lb .x::before, .lb .x::after { left: 12px; top: 22px; }

  /* 隐私 / 条款 / 404 */
  .doc { max-width: 760px; padding-block: 84px 90px; }
  .doc h1 { font-size: 46px; margin: 20px 0 24px; }
  .doc h2 { font-size: 20px; font-weight: 700; margin: 30px 0 6px; }
  .doc p { margin-top: 10px; }
  .doc .dl-btn { margin-top: 18px; min-height: 64px; font-family: var(--song); }
  .doc .date { margin-top: 36px; font-size: 14px; color: var(--ink-2); }
}

@layer responsive {
  @media (min-width: 1001px) and (max-width: 1240px), (min-width: 1001px) and (max-height: 760px) {
    .o4, .o6 { display: none; }
    .cells > i:nth-child(n + 139) { display: block; } .cells > i:nth-child(n + 141) { display: none; }
    .k-port { grid-area: 5 / 10; --pw: min(var(--cw) * 1.7, var(--rh) * 2.7); }
    .slip { padding-top: 1.6em; }
    .seal { display: none; }
    .facts { width: 100%; }
  }
  @media (max-width: 1080px) {
    .sec > .wrap { grid-template-columns: 148px minmax(0, 1fr); gap: 40px; }
    .rail { width: 148px; padding-top: 172px; }
    .rail::before { width: 140px; bottom: 54px; }
    .lab { height: 78px; font-size: 33px; }
    .story-grid, .req-grid, .how-grid, .hud { grid-template-columns: minmax(0, 1fr); }
    .leaf { justify-self: start; }
    .foot .wrap { grid-template-columns: 148px 1fr; gap: 24px 40px; }
    .weigh, .room { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 1000px) {
    .spread { grid-template-columns: minmax(0, 1fr); }
    .spine { flex-direction: row; justify-content: center; height: 44px; border: solid var(--azur-d); border-width: 1px 0; }
    .spine span { writing-mode: horizontal-tb; margin: 0 14px; }
    .spine i { flex: 1 1 54px; width: auto; min-height: 0; height: 100%; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%); }
    .spine i:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%); }
    .spread li img { width: 78%; margin-inline: auto; }
  }
  /* 竖着的平板 */
  @media (max-width: 1000px) {
    :root { --n: 10; --m: 13; }
    .bar nav { display: none; }
    .bar .pill { margin-left: auto; }
    .b1 { grid-area: 1 / 1 / 3 / 3; } .b2 { grid-area: 3 / 1 / 5 / 3; } .b3 { grid-area: 5 / 1 / 7 / 3; } .b4 { grid-area: 7 / 1 / 9 / 3; } .b5 { grid-area: 9 / 1 / 11 / 3; }
    .o1 { grid-area: 4 / 4; --bw: calc(var(--cw) * 2.6); } .o2 { grid-area: 8 / 4; --bw: calc(var(--cw) * 2.6); } .o3 { grid-area: 13 / 2; --bw: calc(var(--cw) * 2); } .o4 { grid-area: 4 / 7; --bw: calc(var(--cw) * 2.5); }
    .cells > i:nth-child(n + 112) { display: none; }
    .o5, .o6, .k-pav { display: none; }
    .k-port { grid-area: 5 / 9; --pw: calc(var(--cw) * 1.8); }
    .hint { left: 0; right: 0; justify-content: center; }
    .slip { grid-area: 5 / 5 / 11 / 11; width: calc(var(--cw) * 5.4); }
    .cta { grid-area: 11 / 4 / 13 / 11; }
    .cta > button { height: calc(var(--rh) * 1.3); }
    .cta .dl-btn, .cta .alt-btn { font-size: 34px; }
    .cta > button:not(:only-child) { padding: 0 12px 0 62px; font-size: 30px; }
    .cta > button:not(:only-child)::before { left: 18px; }
    .toc { display: grid; grid-template-columns: repeat(6, 1fr); }
    .toc a { position: relative; display: grid; grid-template-columns: 1fr 26px 1fr; justify-items: center; align-items: center; height: 72px; margin: 3px; font-size: 25px; line-height: 1; color: #f2e0b0; text-decoration: none; text-shadow: 0 -1px 0 #1c0f07; border-radius: 2px;
      background: var(--ring) 50% 56% / auto 32px no-repeat, url(/img/wd-2-300.webp?h=e4a83810) 0 0 / 100% 100%; box-shadow: inset 0 0 0 1px #24140b, inset 0 2px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -3px 1px #27160c; }
    .toc a span:last-child { grid-column: 3; }
  }
  @media (max-width: 760px) {
    .sec { padding-block: 60px 72px; }
    .sec > .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .rail { position: relative; top: 0; width: 150px; padding-top: 132px; }
    .rail::before { width: 112px; bottom: 52px; }
    .lab { height: 72px; font-size: 32px; }
    .shots .grid { grid-template-columns: 1fr 1fr; gap: 26px 10px; }
    .shots .grid > li { grid-column: auto; } .shots .grid > :is(.g1, .g6) { grid-column: 1 / -1; }
    .g3 .shot picture, .g4 .shot picture { aspect-ratio: 1.2 !important; } .g3 .shot img { object-position: 78% 50%; }
    .g5 .shot picture { aspect-ratio: 4 / 4.6 !important; }
    .shots .shot picture { margin-inline: 8px; border-width: 4px; }
    .shots .cap { min-height: 54px; padding: 6px 12px; font-size: 18px; background-position: calc(100% - 14px) 55%, 0 0; background-size: auto 30px, 100% 100%; }
    :is(.g2, .g3, .g4, .g5) .cap { justify-content: center; text-align: center; font-size: 17px; background-image: none, url(/img/wd-2-300.webp?h=e4a83810); }
    .foot .wrap { grid-template-columns: 1fr; }
    .rx-paper, .file { padding: 26px 22px 24px; }
  }
  @media (max-width: 680px) {
    :root { --bar: 52px; --n: 7; --m: 12; --rh: calc(100vw / 7 * .94); }
    .wrap { width: calc(100% - 36px); }
    .bar { padding-inline: 16px; }
    .brand { font-size: 23px; }
    .b1 { grid-area: 1 / 1 / 3 / 3; } .b2 { grid-area: 3 / 1 / 5 / 3; } .b3 { grid-area: 5 / 1 / 7 / 3; } .b4 { grid-area: 7 / 1 / 9 / 3; } .b5 { grid-area: 9 / 1 / 11 / 3; }
    .o1 { grid-area: 4 / 4; --bw: calc(var(--cw) * 2.5); } .o4 { grid-area: 4 / 6; --bw: calc(var(--cw) * 2.5); }
    .cells > i:nth-child(n + 69) { display: none; }
    .o2, .o3, .o4, .o5, .o6 { display: none; }
    .k-port { grid-area: 4 / 6; --pw: calc(var(--cw) * 1.9); }
    .slip { grid-area: 4 / 3 / 11 / 8; width: calc(100% - 10px); min-width: 0; padding: 20px 18px 14px; font-size: 15px; }
    .slip::before { inset: 7px 7px 0; border-width: 2px; }
    .slip .en { font-size: min(21px, 5.4vw); }
    .slip .lead { margin-top: 6px; line-height: 1.7; }
    .facts { width: 100%; gap: 5px 10px; margin-top: 8px; padding-top: 8px; font-size: 14.5px; }
    .facts dt, .facts small { line-height: 1.35; }
    .seal { display: none; }
    .cta { grid-area: 11 / 1 / 13 / 8; padding: 0 5px; }
    .cta > button { height: calc(var(--rh) * 1.62); }
    .cta .dl-btn, .cta .alt-btn { font-size: 30px; }
    .cta { gap: 6px; }
    .cta > button:not(:only-child) { padding: 0 6px 0 38px; font-size: min(6.1vw, 25px); }
    .cta > button:not(:only-child)::before { left: 10px; height: 30px; }
    .toc { grid-template-columns: repeat(3, 1fr); }
    .toc a { height: 58px; }
    .leaf { --pitch: 42px; --px: 14px; height: 420px; padding: 26px var(--px); font-size: 21px; justify-self: center; }
    .big { font-size: 19px; }
    table { font-size: 14.5px; }
    tbody th { width: 70px; font-size: 19px; }
    .spread li { padding: 18px 10px 12px; }
    .spread li img { width: 88%; margin-inline: 0; }
    .spread li b { right: 6px; top: 10px; font-size: 19px; }
    .file .dl-btn { width: 100%; }
    .stars { font-size: 12px; } .stars li:first-child { translate: -4px; }
    .yard { height: 236px; }
    .hud-pic > i { width: 22px; height: 22px; font-size: 13px; }
    .f1 { font-size: 22px; } .f2 { font-size: 26px; }
    .beam .pan { width: 128px; left: 0; }
    .pan-n { width: 128px; left: 0; }
    .yard .cord { left: 20%; } .beam { transform-origin: 20% 50%; }
    .qa summary { padding-left: 18px; font-size: 16px; }
    .qa details > p { padding: 18px; }
  }
}

@layer motion {
  /* 鼠标碰到 (触屏点到) 哪格, 哪格拉开: 脚本加 .hot */
  .d.hot { z-index: 6; }
  .d.hot::before { visibility: visible; }
  .d.hot > b { transform: translateY(46%) scale(1.13); box-shadow: inset 0 0 0 1px #24140b, inset 0 2px 0 #a3754d, inset 2px 0 0 #80573a, inset 0 -3px 1px #27160c, inset -2px 0 1px #2a180d, 0 3px 3px #0a0502, 0 14px 14px -3px rgb(8 4 1 / .85); }
  .d.hot > b::before, .d.hot > b::after { color: #f2e0b0; }
  .p0.hot { --tr: url(/img/tr-a-440.webp?h=870161c9); } .p1.hot { --tr: url(/img/tr-b-440.webp?h=e817d163); } .p2.hot { --tr: url(/img/tr-c-440.webp?h=6b64434a); }
  .f.hot::after { background-image: var(--bl); transform: none; opacity: 1; }
  .b1 { --cd: url(/img/cd-swamp-320.webp?h=71244b81); } .b2 { --cd: url(/img/cd-ship-300.webp?h=3bd2e4e3); } .b3 { --cd: url(/img/cd-gather-320.webp?h=0c1481b6); } .b4 { --cd: url(/img/cd-plant-320.webp?h=20b02f42); } .b5 { --cd: url(/img/cd-swim-320.webp?h=c07325f5); }
  .warm .big::after { background-image: var(--cd); }
  .big.hot::after { background-image: var(--cd); transform: none; opacity: 1; }
  .big.hot > b::after { color: inherit; }
  /* 最上面两行花长不开, 换成一屉干花 */
  .f.low { --tr: url(/img/tr-b-440.webp?h=e817d163); } .f.low:is(.f-mum, .f-daylily, .f-lily, .f-narcissus) { --tr: url(/img/tr-a-440.webp?h=870161c9); } .f.low:is(.f-bell, .f-hibiscus) { --tr: url(/img/tr-c-440.webp?h=6b64434a); }
  .f.low::after { left: 50%; bottom: 27%; width: 104%; aspect-ratio: 220 / 150; background-image: var(--tr) !important; }
  :is(.p0, .p1, .p2).hot::after { transform: none; }
  .card.hot > b { transform: translateY(60%) scale(1.16); }
  .shots .shot:hover .cap { translate: 0 10px; }
  .big.hot > b { transform: translateY(46%) scale(1.06); box-shadow: inset 0 0 0 1px #4a2c10, inset 0 3px 0 #f1cf95, inset 3px 0 0 #dcae6a, inset 0 -5px 2px #82531f, inset -3px 0 2px #8a5a26, 0 4px 5px #0a0502, 0 18px 18px -4px rgb(8 4 1 / .9); }

  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .d > b { transition: transform .42s cubic-bezier(.3, .9, .3, 1) .16s, box-shadow .42s .16s; }
    .d { transition: z-index 0s .5s; }
    .d::before { transition: visibility 0s .6s; }
    .d:is(.on, .hot)::before { transition: none; }
    .d.hot { transition: z-index 0s; }
    .d.hot > b { transition: transform .2s cubic-bezier(.2, .9, .25, 1), box-shadow .2s; }
    :is(.f, .big)::after { transition: transform .4s cubic-bezier(.4, 0, .7, .6) .1s, opacity .3s .16s; }
    :is(.p0, .p1, .p2)::after { transition: transform .3s cubic-bezier(.4, 0, .7, .6) .16s; }
    :is(.p0, .p1, .p2).hot::after { transition: transform .34s cubic-bezier(.2, 1.4, .4, 1) .05s; }
    .big.hot::after { transition: transform .34s cubic-bezier(.2, 1.1, .35, 1) .06s, opacity .1s .06s; }
    .f.hot::after { transition: transform .5s cubic-bezier(.2, 1.35, .4, 1) .06s, opacity .12s .06s; }
    /* 进场: 名字五格从上到下推上, 别的几格拉开, 花长出来 */
    .big > b { animation: push .46s cubic-bezier(.3, 1.25, .45, 1) backwards; }
    .b2 > b { animation-delay: .09s; } .b3 > b { animation-delay: .18s; } .b4 > b { animation-delay: .27s; } .b5 > b { animation-delay: .36s; }
    @keyframes push { from { transform: translateY(20%) scale(1.13); } }
    .d.on > b { animation: pull .5s cubic-bezier(.2, .9, .25, 1) calc(.5s + var(--k, 0) * .11s) backwards; }
    @keyframes pull { from { transform: none; } }
    .f.on::after { animation: grow .8s cubic-bezier(.2, 1.25, .4, 1) calc(.62s + var(--k, 0) * .11s) backwards; }
    @keyframes grow { from { transform: scale(.3, 0); opacity: 0; } 12% { opacity: 1; } }
    .card .pc { animation: lift .6s cubic-bezier(.2, 1.1, .4, 1) calc(.62s + var(--k, 0) * .11s) backwards; }
    @keyframes lift { from { transform: translateY(70%); clip-path: inset(0 0 100% 0); } }
    .k-pav, .o4 { --k: 1; } .o2 { --k: 2; } .o6, .k-port { --k: 3; } .o3 { --k: 4; } .o5 { --k: 5; }
    .slip { animation: slip .7s cubic-bezier(.2, 1, .35, 1) .45s backwards; }
    @keyframes slip { from { transform: translateY(46%); } }
    .dl-btn, .alt-btn { transition: transform .22s cubic-bezier(.2, .9, .25, 1); }
    :is(.dl-btn, .alt-btn):hover { transform: translateY(3px) scale(1.015); }
    .shots .cap { transition: translate .3s cubic-bezier(.2, 1, .35, 1); }
    .beam { transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1); }
    .beam .pan { transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1); }
    .qa details::details-content { block-size: 0; overflow: hidden; transition: block-size .28s cubic-bezier(.2, .9, .25, 1), content-visibility .28s allow-discrete; }
    .qa details[open]::details-content { block-size: auto; }
    :root { interpolate-size: allow-keywords; }
    @supports (animation-timeline: view()) {
      .rail::before { animation: sprout linear both; animation-timeline: view(); animation-range: entry 35% cover 34%; }
      @keyframes sprout { from { transform: scale(.4, 0); } }
    }
    ::view-transition-group(shot) { animation-duration: .34s; animation-timing-function: cubic-bezier(.2, .9, .25, 1); }
  }
}
