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

/* 标题字: 小赖字体 (OFL), 首屏的手指笔画也是照它的骨架描的 */
@font-face { font-family: "WM Hand"; src: url(/fonts/title.woff2?h=e7fe343a) 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 {
    --ai: #1c2f54;
    --kon: #27426f;
    --hana: #35598a;
    --yoru: #0d172b;
    --shiro: #e7edf2;
    --snow: #f3f7fa;
    --ice: #c3d1df;
    --ink: #17233b;
    --ink-2: #38475f;
    --lamp: #ffd184;
    --mikan: #f39326;
    --wood: #2a190e;
    --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    --hand: "WM Hand", "PingFang SC", "Microsoft YaHei", sans-serif;
    /*stitch*/
    --st-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='8'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M2.2 3.7L8.9 3.3M14.4 3.2L21.4 3.6M25.9 3.3L33 3.3M38.3 3.3L45.9 3.4M50.5 3.7L58.3 3.5M62.9 3.9L69.4 3.4M74 3.4L80.7 3.9M86.1 3.7L93.3 3.5M98.4 3.2L105 3.4M110.6 3.5L117.6 3.7M122.4 3.8L129.2 3.8' stroke='%23040a18' stroke-opacity='0.42' stroke-width='2.2' transform='translate(.4 1.2)'/%3E%3Cpath d='M2.2 3.7L8.9 3.3M14.4 3.2L21.4 3.6M25.9 3.3L33 3.3M38.3 3.3L45.9 3.4M50.5 3.7L58.3 3.5M62.9 3.9L69.4 3.4M74 3.4L80.7 3.9M86.1 3.7L93.3 3.5M98.4 3.2L105 3.4M110.6 3.5L117.6 3.7M122.4 3.8L129.2 3.8' stroke='%23f1f5f8' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    --st-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='132'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M3.3 2.4L3.9 9.3M3.9 13.9L3.3 21.1M3.2 26.5L3.5 33.8M3.8 38.6L3.3 45.7M3.6 50.1L3.9 56.8M3.5 62.5L3.8 70M3.7 74L3.8 80.9M3.4 86.3L3.4 92.9M3.4 98.2L3.9 105.7M3.5 110.8L3.6 117.4M3.9 121.9L3.3 129' stroke='%23040a18' stroke-opacity='0.42' stroke-width='2.2' transform='translate(.4 1.2)'/%3E%3Cpath d='M3.3 2.4L3.9 9.3M3.9 13.9L3.3 21.1M3.2 26.5L3.5 33.8M3.8 38.6L3.3 45.7M3.6 50.1L3.9 56.8M3.5 62.5L3.8 70M3.7 74L3.8 80.9M3.4 86.3L3.4 92.9M3.4 98.2L3.9 105.7M3.5 110.8L3.6 117.4M3.9 121.9L3.3 129' stroke='%23f1f5f8' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    --st-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='124' height='124'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M10.1 3.9L17.3 4.1M22.5 3.7L29.1 4.2M34.2 4.3L41 4M46.7 4.1L53.9 3.8M58.5 4L66.2 4.2M70.6 4.2L77.2 4.1M82.2 4.3L88.7 4M94.6 4.1L102.3 4.3M106.3 4L113.8 4.3M120.3 10.8L120.2 17.4M119.9 22.9L120.1 29.9M120.1 34.4L119.9 41.4M119.9 46.5L119.7 54.2M119.9 58.8L120.2 66.5M119.7 70.8L120 78.5M119.8 82.6L119.9 89.4M119.8 94.2L119.7 100.8M120.1 106L120.2 113.5M10.2 119.7L17.7 120.3M22.5 119.8L29.1 120.1M34.8 120L42.6 119.7M46.2 119.9L52.8 120.3M58.1 119.9L65.1 120.2M69.9 120.1L77.6 119.7M82.8 120L89.8 120M94.5 120L101.8 119.9M106.8 120L114 119.8M4.3 10.1L4 17M3.9 22.4L4.1 29M4.1 33.9L3.7 41.2M4.1 46.5L3.9 53.6M3.7 58.6L3.7 66.1M3.8 70.6L4 78.3M3.9 82.5L3.9 89.4M3.9 94.3L3.9 101.5M4 106.7L4.2 113.2' stroke='%23040a18' stroke-opacity='0.42' stroke-width='2.2' transform='translate(.4 1.2)'/%3E%3Cpath d='M10.1 3.9L17.3 4.1M22.5 3.7L29.1 4.2M34.2 4.3L41 4M46.7 4.1L53.9 3.8M58.5 4L66.2 4.2M70.6 4.2L77.2 4.1M82.2 4.3L88.7 4M94.6 4.1L102.3 4.3M106.3 4L113.8 4.3M120.3 10.8L120.2 17.4M119.9 22.9L120.1 29.9M120.1 34.4L119.9 41.4M119.9 46.5L119.7 54.2M119.9 58.8L120.2 66.5M119.7 70.8L120 78.5M119.8 82.6L119.9 89.4M119.8 94.2L119.7 100.8M120.1 106L120.2 113.5M10.2 119.7L17.7 120.3M22.5 119.8L29.1 120.1M34.8 120L42.6 119.7M46.2 119.9L52.8 120.3M58.1 119.9L65.1 120.2M69.9 120.1L77.6 119.7M82.8 120L89.8 120M94.5 120L101.8 119.9M106.8 120L114 119.8M4.3 10.1L4 17M3.9 22.4L4.1 29M4.1 33.9L3.7 41.2M4.1 46.5L3.9 53.6M3.7 58.6L3.7 66.1M3.8 70.6L4 78.3M3.9 82.5L3.9 89.4M3.9 94.3L3.9 101.5M4 106.7L4.2 113.2' stroke='%23f1f5f8' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    --st-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='124' height='124'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M10.5 4.2L18 4.3M22.6 3.7L30.3 4M34.8 4.3L42.2 3.7M46.4 4L53.2 4.1M57.9 3.8L64.7 4.3M70.7 4.2L77.4 3.7M82.5 3.7L89.2 4.3M94.1 4.3L100.9 4.3M106.2 4L113.9 4.1M119.9 10.1L119.7 17.8M120.1 22.8L120.2 29.7M120.1 34L119.9 40.6M120.1 45.9L120.1 53.3M120.1 58.7L120 65.8M119.7 70.6L120.3 77.2M120.3 82.6L119.8 90.2M120.3 94.3L120.3 101.5M120.2 106.1L119.8 113.8M10.8 120.1L18.6 120.1M22.4 120.3L29.9 119.8M34.7 120.3L42.3 119.7M46 119.9L52.9 119.7M58.2 120L65.9 120.1M70.2 120.3L76.9 120.2M82.6 120.2L90.4 120.3M94.9 120.1L102.1 120.2M106.5 120L114.1 120.1M3.7 10L4 17.6M4.2 22.7L4.3 29.4M3.7 34.5L4 42.1M3.9 46L4 53.6M4.3 58.9L4 66.5M4 70.4L3.9 77.8M3.9 82.3L4.3 89M4 94.9L3.9 102.2M4.2 106L4.3 112.8' stroke='%238ea3b8' stroke-opacity='0.35' stroke-width='2.2' transform='translate(.4 1.2)'/%3E%3Cpath d='M10.5 4.2L18 4.3M22.6 3.7L30.3 4M34.8 4.3L42.2 3.7M46.4 4L53.2 4.1M57.9 3.8L64.7 4.3M70.7 4.2L77.4 3.7M82.5 3.7L89.2 4.3M94.1 4.3L100.9 4.3M106.2 4L113.9 4.1M119.9 10.1L119.7 17.8M120.1 22.8L120.2 29.7M120.1 34L119.9 40.6M120.1 45.9L120.1 53.3M120.1 58.7L120 65.8M119.7 70.6L120.3 77.2M120.3 82.6L119.8 90.2M120.3 94.3L120.3 101.5M120.2 106.1L119.8 113.8M10.8 120.1L18.6 120.1M22.4 120.3L29.9 119.8M34.7 120.3L42.3 119.7M46 119.9L52.9 119.7M58.2 120L65.9 120.1M70.2 120.3L76.9 120.2M82.6 120.2L90.4 120.3M94.9 120.1L102.1 120.2M106.5 120L114.1 120.1M3.7 10L4 17.6M4.2 22.7L4.3 29.4M3.7 34.5L4 42.1M3.9 46L4 53.6M4.3 58.9L4 66.5M4 70.4L3.9 77.8M3.9 82.3L4.3 89M4 94.9L3.9 102.2M4.2 106L4.3 112.8' stroke='%2335588a' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    --kasuri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M7.4 12.9h15.8M12.9 6.8v14.8M8.8 13.9h13.6M13.9 8v15.7M6.7 15h16.3M15 7.1v16.1M8.4 16.1h14.2M16.1 8.3v15.6M8.6 17.1h15M17.1 8.6v14.7M37.8 42.9h14.6M42.9 36.3v15M38.6 44h15.3M44 37.3v14.2M35.8 45h18.2M45 38.5v14M38.4 46h13.7M46 36.9v14.8M36.7 47.1h14.6M47.1 38.3v15.4' fill='none' stroke='%23dfe9f2' stroke-opacity='.42' stroke-width='1'/%3E%3C/svg%3E");
    --tuft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='330' height='330'%3E%3Cdefs%3E%3CradialGradient id='d' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='0' stop-color='%23020818' stop-opacity='.40'/%3E%3Cstop offset='.22' stop-color='%23020818' stop-opacity='.20'/%3E%3Cstop offset='1' stop-color='%23020818' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='p' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.07'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)'%3E%3Ccircle cx='0' cy='0' r='165.0'/%3E%3Ccircle cx='330' cy='0' r='165.0'/%3E%3Ccircle cx='0' cy='330' r='165.0'/%3E%3Ccircle cx='330' cy='330' r='165.0'/%3E%3C/g%3E%3Ccircle cx='165.0' cy='165.0' r='165.0' fill='url(%23d)'/%3E%3C/svg%3E");
    --hem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='52'%3E%3Cpath d='M0 52V9C45 9 45 5 90 5C145 5 145 10 200 10C255 10 255 4 310 4C365 4 365 9 420 9C475 9 475 5 530 5C585 5 585 10 640 10C680 10 680 9 720 9V52Z'/%3E%3C/svg%3E");
    --fl1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='480'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='99.9' cy='261.2' r='1.1' opacity='0.80'/%3E%3Ccircle cx='27.5' cy='6.3' r='1.2' opacity='0.64'/%3E%3Ccircle cx='-1.8' cy='225.7' r='1.4' opacity='0.81'/%3E%3Ccircle cx='418.2' cy='225.7' r='1.4' opacity='0.61'/%3E%3Ccircle cx='266.6' cy='416.7' r='1.3' opacity='0.82'/%3E%3Ccircle cx='26.9' cy='364' r='1.1' opacity='0.56'/%3E%3Ccircle cx='363.5' cy='226.9' r='1.5' opacity='0.84'/%3E%3Ccircle cx='386.9' cy='189.6' r='1.3' opacity='0.92'/%3E%3Ccircle cx='369.1' cy='46.8' r='0.7' opacity='0.94'/%3E%3Ccircle cx='183.2' cy='300.8' r='1' opacity='0.70'/%3E%3Ccircle cx='147.4' cy='280.8' r='1.4' opacity='0.82'/%3E%3Ccircle cx='390.2' cy='411.1' r='1.6' opacity='0.62'/%3E%3Ccircle cx='361.5' cy='463' r='1.5' opacity='0.84'/%3E%3Ccircle cx='88.7' cy='399.2' r='1.1' opacity='0.58'/%3E%3Ccircle cx='358.7' cy='-4.9' r='0.9' opacity='0.71'/%3E%3Ccircle cx='358.7' cy='475.1' r='0.9' opacity='0.61'/%3E%3Ccircle cx='123.4' cy='369' r='1.1' opacity='0.80'/%3E%3Ccircle cx='18.9' cy='344.9' r='1.2' opacity='0.94'/%3E%3Ccircle cx='212.3' cy='-0.7' r='0.8' opacity='0.79'/%3E%3Ccircle cx='212.3' cy='479.3' r='0.8' opacity='0.56'/%3E%3Ccircle cx='82.9' cy='195.8' r='1' opacity='0.57'/%3E%3Ccircle cx='364.5' cy='150.6' r='1.8' opacity='0.70'/%3E%3Ccircle cx='193.4' cy='249.6' r='1.3' opacity='0.77'/%3E%3Ccircle cx='260.5' cy='451.5' r='1.1' opacity='0.84'/%3E%3Ccircle cx='99.8' cy='144.5' r='1.5' opacity='0.77'/%3E%3Ccircle cx='4.8' cy='199.3' r='0.9' opacity='0.80'/%3E%3Ccircle cx='424.8' cy='199.3' r='0.9' opacity='0.80'/%3E%3Ccircle cx='25.2' cy='301.1' r='1.2' opacity='0.69'/%3E%3C/g%3E%3C/svg%3E");
    --fl2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='480'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='127' cy='461.9' r='1.8' opacity='0.58'/%3E%3Ccircle cx='138.6' cy='-0.4' r='1.8' opacity='0.73'/%3E%3Ccircle cx='138.6' cy='479.6' r='1.8' opacity='0.73'/%3E%3Ccircle cx='277.2' cy='92.3' r='1.8' opacity='0.64'/%3E%3Ccircle cx='11.2' cy='128' r='2.3' opacity='0.70'/%3E%3Ccircle cx='63.7' cy='124' r='1.9' opacity='0.80'/%3E%3Ccircle cx='211.2' cy='317.2' r='2' opacity='0.75'/%3E%3Ccircle cx='363.8' cy='432.7' r='1.7' opacity='0.58'/%3E%3Ccircle cx='529.8' cy='234.6' r='2.1' opacity='0.78'/%3E%3Ccircle cx='408.2' cy='422.9' r='1.7' opacity='0.90'/%3E%3Ccircle cx='75.6' cy='366.9' r='1.8' opacity='0.83'/%3E%3Ccircle cx='532' cy='404.9' r='1.7' opacity='0.61'/%3E%3Ccircle cx='296.1' cy='244.7' r='1.9' opacity='0.75'/%3E%3Ccircle cx='392.7' cy='105.6' r='1.3' opacity='0.69'/%3E%3C/g%3E%3C/svg%3E");
    --nami: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='36'%3E%3Cg fill='none' stroke-linecap='round' stroke-dasharray='5.6 3.6'%3E%3Cpath d='M-31.2 -0A36 36 0 0 1 31.2 -0M-19.8 3.6A24.5 24.5 0 0 1 19.8 3.6M-10.5 10.4A13 13 0 0 1 10.5 10.4M40.8 -0A36 36 0 0 1 103.2 -0M52.2 3.6A24.5 24.5 0 0 1 91.8 3.6M61.5 10.4A13 13 0 0 1 82.5 10.4M4.8 18A36 36 0 0 1 67.2 18M16.2 21.6A24.5 24.5 0 0 1 55.8 21.6M25.5 28.4A13 13 0 0 1 46.5 28.4M-31.2 36A36 36 0 0 1 31.2 36M-19.8 39.6A24.5 24.5 0 0 1 19.8 39.6M40.8 36A36 36 0 0 1 103.2 36M52.2 39.6A24.5 24.5 0 0 1 91.8 39.6M4.8 54A36 36 0 0 1 67.2 54' stroke='%23000' stroke-opacity='0.25' stroke-width='1.7' transform='translate(.3 1)'/%3E%3Cpath d='M-31.2 -0A36 36 0 0 1 31.2 -0M-19.8 3.6A24.5 24.5 0 0 1 19.8 3.6M-10.5 10.4A13 13 0 0 1 10.5 10.4M40.8 -0A36 36 0 0 1 103.2 -0M52.2 3.6A24.5 24.5 0 0 1 91.8 3.6M61.5 10.4A13 13 0 0 1 82.5 10.4M4.8 18A36 36 0 0 1 67.2 18M16.2 21.6A24.5 24.5 0 0 1 55.8 21.6M25.5 28.4A13 13 0 0 1 46.5 28.4M-31.2 36A36 36 0 0 1 31.2 36M-19.8 39.6A24.5 24.5 0 0 1 19.8 39.6M40.8 36A36 36 0 0 1 103.2 36M52.2 39.6A24.5 24.5 0 0 1 91.8 39.6M4.8 54A36 36 0 0 1 67.2 54' stroke='%23eef4f8' stroke-opacity='0.88' stroke-width='1.7'/%3E%3C/g%3E%3C/svg%3E");
    --yuki: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='216' height='216'%3E%3Cg fill='none' stroke-linecap='round' stroke-dasharray='6.5 4'%3E%3Cpath d='M108 100L108 8M108 78L122.7 69.5M108 78L93.3 69.5M108 58L134 43M108 58L82 43M108 38L128.8 26M108 38L87.2 26M108 22L119.3 15.5M108 22L96.7 15.5M108 86L127.1 97M114.9 104L194.6 58M134 93L148.7 101.5M134 93L134 76M151.3 83L177.3 98M151.3 83L151.3 53M168.6 73L189.4 85M168.6 73L168.6 49M182.5 65L193.7 71.5M182.5 65L182.5 52M127.1 97L127.1 119M114.9 112L194.6 158M134 123L134 140M134 123L148.7 114.5M151.3 133L151.3 163M151.3 133L177.3 118M168.6 143L168.6 167M168.6 143L189.4 131M182.5 151L182.5 164M182.5 151L193.7 144.5M127.1 119L108 130M108 116L108 208M108 138L93.3 146.5M108 138L122.7 146.5M108 158L82 173M108 158L134 173M108 178L87.2 190M108 178L128.8 190M108 194L96.7 200.5M108 194L119.3 200.5M108 130L88.9 119M101.1 112L21.4 158M82 123L67.3 114.5M82 123L82 140M64.7 133L38.7 118M64.7 133L64.7 163M47.4 143L26.6 131M47.4 143L47.4 167M33.5 151L22.3 144.5M33.5 151L33.5 164M88.9 119L88.9 97M101.1 104L21.4 58M82 93L82 76M82 93L67.3 101.5M64.7 83L64.7 53M64.7 83L38.7 98M47.4 73L47.4 49M47.4 73L26.6 85M33.5 65L33.5 52M33.5 65L22.3 71.5M88.9 97L108 86' stroke='%23000' stroke-opacity='0.27' stroke-width='2.1' transform='translate(.3 1)'/%3E%3Cpath d='M108 100L108 8M108 78L122.7 69.5M108 78L93.3 69.5M108 58L134 43M108 58L82 43M108 38L128.8 26M108 38L87.2 26M108 22L119.3 15.5M108 22L96.7 15.5M108 86L127.1 97M114.9 104L194.6 58M134 93L148.7 101.5M134 93L134 76M151.3 83L177.3 98M151.3 83L151.3 53M168.6 73L189.4 85M168.6 73L168.6 49M182.5 65L193.7 71.5M182.5 65L182.5 52M127.1 97L127.1 119M114.9 112L194.6 158M134 123L134 140M134 123L148.7 114.5M151.3 133L151.3 163M151.3 133L177.3 118M168.6 143L168.6 167M168.6 143L189.4 131M182.5 151L182.5 164M182.5 151L193.7 144.5M127.1 119L108 130M108 116L108 208M108 138L93.3 146.5M108 138L122.7 146.5M108 158L82 173M108 158L134 173M108 178L87.2 190M108 178L128.8 190M108 194L96.7 200.5M108 194L119.3 200.5M108 130L88.9 119M101.1 112L21.4 158M82 123L67.3 114.5M82 123L82 140M64.7 133L38.7 118M64.7 133L64.7 163M47.4 143L26.6 131M47.4 143L47.4 167M33.5 151L22.3 144.5M33.5 151L33.5 164M88.9 119L88.9 97M101.1 104L21.4 58M82 93L82 76M82 93L67.3 101.5M64.7 83L64.7 53M64.7 83L38.7 98M47.4 73L47.4 49M47.4 73L26.6 85M33.5 65L33.5 52M33.5 65L22.3 71.5M88.9 97L108 86' stroke='%23f4f8fb' stroke-opacity='0.95' stroke-width='2.1'/%3E%3C/g%3E%3C/svg%3E");
    /*/stitch*/
    --vh: 100vh;
    color-scheme: dark;
    scroll-padding-top: 76px;
  }
  @supports (height: 100svh) { :root { --vh: 100svh; } }
  html { background: var(--wood); }
  body { font: 17px/1.85 var(--sans); color: var(--snow); background: var(--ai); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
  h1, h2, h3 { line-height: 1.25; font-weight: 400; }
  .t { font-family: var(--hand); font-weight: 400; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--lamp); outline-offset: 4px; }
  .sewn :focus-visible { outline-color: #1d4a8f; }
  .dado :focus-visible, .bar .pill:focus-visible { outline-color: #fff; outline-offset: 7px; }
  .bar .pill:focus-visible { outline-offset: 4px; }
  .skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; background: var(--lamp); color: #2a180c; }
  .skip:focus { left: 12px; }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .defs { position: absolute; width: 0; height: 0; }
}

@layer layout {
  .wrap { width: min(1160px, 100% - 64px); margin-inline: auto; }
  h2.t { font-size: clamp(34px, 3.7vw, 54px); }
  h3.t { font-size: 27px; }
}

@layer parts {
  /* 鸭居: 顶栏就是窗框上面那根横木 */
  .bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 26px; height: 58px; padding-inline: max(24px, (100% - 1560px) / 2); color: #f8e9cf;
    background: radial-gradient(44% 200% at 50% 130%, rgb(255 192 104 / .36), transparent 72%), linear-gradient(rgb(255 206 140 / .14), rgb(0 0 0 / .18) 70%, rgb(0 0 0 / .5)), url(/img/wood-h.webp?h=346997c7) 0 0 / 640px 120px; box-shadow: 0 1px 0 rgb(0 0 0 / .8), 0 10px 18px -8px rgb(0 0 0 / .65); }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; line-height: 1; text-decoration: none; white-space: nowrap; }
  .bar nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
  .bar nav a { padding-block: 6px; text-decoration: none; }
  .bar nav a:hover { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; text-underline-offset: 7px; }
  .pill { border: 0; padding: 8px 20px; font-size: 15px; font-weight: 700; line-height: 1.4; color: #3a1d06;
    background: radial-gradient(90% 150% at 50% 30%, #fff0c6, #ffd27c 55%, #f5a846); box-shadow: 0 0 0 3px #1e1008, 0 0 18px rgb(255 190 92 / .45); }
  .pill:hover { background: radial-gradient(90% 150% at 50% 30%, #fffaf0, #ffe09c 55%, #ffbb5e); }

  /* 首屏: 老屋的两扇拉窗 */
  .hero { position: relative; overflow: clip; background: #1b110a; }
  .room { position: relative; background:
      radial-gradient(60% 90% at 50% 0, rgb(255 196 118 / .30), transparent 70%),
      linear-gradient(#54473a, #2e251d); }
  .window { --st: 20px; --pw: clamp(300px, min((100vw - 128px) / 2, (var(--vh) - 58px - 312px) * 1.3286), 820px);
    position: relative; display: grid; grid-template-columns: auto auto; width: fit-content; margin-inline: auto; padding: 8px 14px 0;
    background: linear-gradient(90deg, rgb(0 0 0 / .55), transparent 14px calc(100% - 14px), rgb(0 0 0 / .55)), url(/img/wood-v.webp?h=d0af8ba0) 0 0 / 240px 640px;
    box-shadow: 0 0 0 1px #0d0704, 0 0 50px rgb(0 0 0 / .5); }
  .sash { position: relative; padding: 18px var(--st) 26px; background:
      linear-gradient(rgb(255 205 140 / .30), rgb(255 205 140 / .04) 22px, transparent 40% 60%, rgb(0 0 0 / .42)),
      url(/img/wood-h.webp?h=346997c7) 0 0 / 640px 120px; }
  .sash::before { content: ""; position: absolute; inset: 0; background:
      linear-gradient(90deg, rgb(0 0 0 / .5), rgb(255 205 140 / .16) 5px, transparent 14px),
      linear-gradient(270deg, rgb(0 0 0 / .5), rgb(255 205 140 / .12) 5px, transparent 14px),
      url(/img/wood-v.webp?h=d0af8ba0) 0 0 / 240px 640px;
    -webkit-mask: linear-gradient(90deg, #000 var(--st), #0000 0 calc(100% - var(--st)), #000 0); mask: linear-gradient(90deg, #000 var(--st), #0000 0 calc(100% - var(--st)), #000 0); }
  .sa { z-index: 2; box-shadow: 10px 0 16px -6px rgb(0 0 0 / .75); }
  .sb { background-position: 0 0, 220px 0; }
  .pane { position: relative; width: var(--pw); aspect-ratio: 744 / 560; overflow: hidden; background: #1a2631; touch-action: pan-y; box-shadow: 0 0 0 2px #100904, 0 0 0 3px rgb(160 190 214 / .22); }
  .view img { position: absolute; left: -2%; top: -2%; width: 104%; max-width: none; height: 104%; object-fit: cover; object-position: 50% 0; translate: calc(var(--mx, 0) * -7px) calc(var(--my, 0) * -5px); }
  .fog { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
  .ink, .wipes { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .wipes path { transition: opacity 5s ease-in; }
  .wipes .gone { opacity: 0; }
  .frost { position: absolute; background: no-repeat 0 0 / 100% 100%; pointer-events: none; }
  .f1 { right: 0; bottom: 0; width: 58%; aspect-ratio: 470 / 370; background-image: url(/img/frost-bl.webp?h=4a0bee9b); transform: scaleX(-1); }
  .f2 { left: 0; top: 0; width: 44%; aspect-ratio: 360 / 270; background-image: url(/img/frost-tr.webp?h=34d65c01); transform: scaleY(-1); }
  .pane::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(118deg, transparent 30%, rgb(255 255 255 / .07) 38%, rgb(255 255 255 / .02) 46%, transparent 47%);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 12px 20px -10px rgb(6 10 16 / .75), inset 8px 0 14px -10px rgb(6 10 16 / .6), inset -8px 0 14px -10px rgb(6 10 16 / .6); }
  .snow { position: absolute; inset: -480px 0 0; background: var(--fl2), var(--fl1) 80px 0; }

  .room::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: soft-light;
    background: radial-gradient(46% 78% at 50% -6%, rgb(255 190 96 / .95), rgb(255 176 84 / .36) 48%, transparent 78%), radial-gradient(90% 120% at 50% 12%, transparent 52%, rgb(2 4 10 / .72)); }
  .lampglow { position: absolute; z-index: 5; top: -6px; left: 50%; width: min(620px, 60vw); aspect-ratio: 2.1; translate: -50% 0; pointer-events: none;
    background: radial-gradient(50% 100% at 50% 0, rgb(255 206 128 / .34), rgb(255 190 104 / .12) 46%, transparent 72%); }

  /* 窗台 */
  .ledge { position: relative; height: 30px; background: linear-gradient(rgb(255 224 176 / .60), rgb(255 214 150 / .20) 4px, rgb(255 214 150 / .10) 17px, rgb(0 0 0 / .35) 18px, rgb(0 0 0 / .55)), url(/img/wood-h.webp?h=346997c7) 90px 0 / 640px 120px; box-shadow: 0 12px 22px rgb(0 0 0 / .5); z-index: 3; }
  .still { position: absolute; right: max(26px, calc(50% - 720px)); bottom: 15px; width: clamp(150px, 17vw, 250px); overflow: visible; pointer-events: none; }
  .steam { opacity: .42; }

  /* 窗下的腰板 */
  .dado { position: relative; color: #fbeed8; background:
      radial-gradient(62% 120% at 50% -14%, rgb(255 190 104 / .26), transparent 70%),
      radial-gradient(80% 140% at 50% 0, transparent 40%, rgb(0 0 0 / .42)),
      linear-gradient(rgb(0 0 0 / .40), rgb(0 0 0 / .24) 40%, rgb(0 0 0 / .58)),
      repeating-linear-gradient(90deg, rgb(0 0 0 / .72) 0 2px, rgb(255 214 160 / .10) 2px 4px, transparent 4px 136px, rgb(0 0 0 / .25) 136px 140px),
      url(/img/wood-v.webp?h=d0af8ba0) 0 0 / 240px 640px; }
  .dado-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(36px, 5vw, 90px); align-items: center; width: min(1320px, 100% - 64px); margin-inline: auto; padding-block: 32px 72px; }
  .dado-in { position: relative; z-index: 1; }
  .hero h1 { font-size: 38px; line-height: 1.1; }
  .lead { margin-top: 12px; max-width: 30em; font-size: 18px; line-height: 1.75; text-wrap: balance; }
  .nb { white-space: nowrap; }
  .cta { display: flex; gap: 20px; }
  .dl-btn, .alt-btn { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 17px 38px; font-family: var(--hand); font-size: 27px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
  /* 亮着灯的窗 */
  .dl-btn { --bar: rgb(92 46 8 / .30); color: #371a04; background:
      linear-gradient(90deg, #0000 15px, var(--bar) 0 17px, #0000 0 calc(100% - 17px), var(--bar) 0 calc(100% - 15px), #0000 0),
      linear-gradient(#0000 11px, var(--bar) 0 13px, #0000 0 calc(100% - 13px), var(--bar) 0 calc(100% - 11px), #0000 0),
      radial-gradient(80% 150% at 50% 42%, #fff4d2, #ffdc92 46%, #f8ac48);
    box-shadow: inset 0 0 14px rgb(150 74 6 / .5), 0 0 0 4px #241307, 0 0 0 5px rgb(255 214 150 / .28), 0 0 44px 6px rgb(255 184 82 / .46); }
  .dl-btn:hover { background:
      linear-gradient(90deg, #0000 15px, var(--bar) 0 17px, #0000 0 calc(100% - 17px), var(--bar) 0 calc(100% - 15px), #0000 0),
      linear-gradient(#0000 11px, var(--bar) 0 13px, #0000 0 calc(100% - 13px), var(--bar) 0 calc(100% - 11px), #0000 0),
      radial-gradient(80% 150% at 50% 42%, #fffdf4, #ffeab8 50%, #ffc56c); box-shadow: inset 0 0 14px rgb(150 74 6 / .35), 0 0 0 4px #241307, 0 0 0 5px rgb(255 214 150 / .4), 0 0 64px 14px rgb(255 190 92 / .62); }
  /* 没点灯的那扇 */
  .alt-btn { --bar: rgb(6 12 20 / .55); color: #eaf2f8; background:
      linear-gradient(90deg, #0000 15px, var(--bar) 0 17px, #0000 0 calc(100% - 17px), var(--bar) 0 calc(100% - 15px), #0000 0),
      linear-gradient(#0000 11px, var(--bar) 0 13px, #0000 0 calc(100% - 13px), var(--bar) 0 calc(100% - 11px), #0000 0),
      linear-gradient(155deg, #466482, #2c455f 55%, #1f3349);
    box-shadow: inset 0 0 16px rgb(206 228 244 / .22), 0 0 0 4px #241307, 0 0 0 5px rgb(255 214 150 / .2); }
  .alt-btn:hover { --bar: rgb(92 46 8 / .30); color: #371a04; background:
      linear-gradient(90deg, #0000 15px, var(--bar) 0 17px, #0000 0 calc(100% - 17px), var(--bar) 0 calc(100% - 15px), #0000 0),
      linear-gradient(#0000 11px, var(--bar) 0 13px, #0000 0 calc(100% - 13px), var(--bar) 0 calc(100% - 11px), #0000 0),
      radial-gradient(80% 150% at 50% 42%, #fff1c8, #ffd588 46%, #f3a543); }
  .facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: 30px; margin-top: 24px; }
  .facts div { line-height: 1.5; }
  .facts dt { font-size: 14px; color: #dfc8a6; }
  .facts dd { font-weight: 700; }
  .facts small { display: block; font-size: 14px; font-weight: 400; }

  /* 被炉的盖被: 藏青布一块块拼起来, 拼缝边上走一道白线; 要细读的字缝在白布上 */
  .quilt { position: relative; z-index: 2; background: var(--ai); }
  .quilt::before { content: ""; position: absolute; inset: -38px 0 auto; height: 52px; z-index: 1;
    background: var(--st-h) 0 38px repeat-x, linear-gradient(rgb(0 0 0 / .10), rgb(255 206 150 / .13) 22%, rgb(0 0 0 / .10) 46%, rgb(0 0 0 / .42) 76%, rgb(0 0 0 / .70)), linear-gradient(rgb(24 8 12 / .16) 0 0), url(/img/tartan.webp?h=459eb3cb) 50% -84px / 288px; -webkit-mask: var(--hem) 50% 0; mask: var(--hem) 50% 0; }
  .dado::after { content: ""; position: absolute; inset: auto 0 0; height: 96px; background: linear-gradient(transparent, rgb(0 0 0 / .62) 62%); pointer-events: none; }
  .sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .p { position: relative; min-width: 0; padding: clamp(44px, 4.8vw, 78px); background: var(--st-v) 8px 0 repeat-y, var(--tuft) 50% 40px, var(--fig, none), url(/img/cloth.webp?h=29f92c6b) 0 0 / 288px var(--c); background-blend-mode: normal, normal, normal, soft-light;
    box-shadow: inset 1px 1px 0 rgb(2 8 22 / .5), inset 2px 2px 0 rgb(255 255 255 / .05), inset 0 0 80px rgb(3 10 28 / .26); }
  .ai { --c: var(--ai); }
  .kon { --c: var(--kon); }
  .yoru { --c: var(--yoru); }
  .kasuri { --c: #20365f; --fig: var(--kasuri); }
  /* 围巾的格子 (商店图里美雪和结衣围的那条) */
  .tartan { background: var(--st-v) 8px 0 repeat-y, var(--tuft) 50% 40px, linear-gradient(rgb(24 8 12 / .30) 0 0), url(/img/tartan.webp?h=459eb3cb) 50% 0 / 288px; background-blend-mode: normal; }
  .nami { --c: var(--hana); }
  .yuki { --c: var(--hana); }
  .nami::before, .yuki::before { content: ""; position: absolute; inset: 18px 0 0 18px; background: var(--nami); pointer-events: none; }
  .yuki { overflow: clip; }
  .yuki::before { inset: auto -70px -90px auto; width: 380px; height: 380px; background: var(--yuki) 50% / 100% no-repeat; }
  .p > * { position: relative; }
  .p::after { content: ""; position: absolute; inset: 8px 0 auto; height: 8px; background: var(--st-h) repeat-x; pointer-events: none; }
  .p > h3 + p, .p > p + p { margin-top: .9em; }
  .sub { margin-top: 14px; max-width: 34em; text-wrap: balance; }
  .sewn { position: relative; padding: clamp(30px, 3.2vw, 50px); color: var(--ink); background: url(/img/cloth.webp?h=29f92c6b) 0 0 / 288px var(--shiro); background-blend-mode: soft-light;
    box-shadow: 0 0 0 1px rgb(150 172 196 / .9), 0 2px 1px rgb(2 8 22 / .55), 0 9px 22px rgb(2 8 22 / .34), inset 0 0 46px rgb(86 112 146 / .15); }
  .sewn::after { content: ""; position: absolute; inset: 7px; border: 8px solid transparent; border-image: var(--st-b) 8 round; pointer-events: none; }

  .s-story .p-text { grid-area: 1 / 1 / 3 / 8; }
  .s-story .p-text p { margin-top: 1em; max-width: 27em; font-size: 20px; line-height: 1.9; }
  .s-story .p-text h2 { margin-bottom: 28px; }
  .s-story .wave { grid-area: 1 / 8 / 2 / 13; min-height: 180px; }
  .s-story .p-credit { grid-area: 2 / 8 / 3 / 13; }
  .prev { max-width: 600px; margin-top: 40px; padding: 30px 34px; rotate: -.6deg; }
  .s-story .p-text .prev p { margin-top: 8px; font-size: 17px; line-height: 1.8; }
  .credit div { display: grid; grid-template-columns: 6.4em 1fr; gap: 12px; padding: 5px 0; line-height: 1.7; }
  .credit dt { color: var(--ice); }

  .p-cast { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4.4vw, 72px); padding-bottom: 92px; }
  .p-cast h2 { grid-area: 1 / 1; justify-self: start; }
  .w1 { grid-area: 1 / 1; margin-top: 118px; }
  .w2 { grid-area: 1 / 2; margin-top: 6px; }
  .w3 { grid-area: 1 / 3; margin-top: 60px; }
  .disc { width: min(84%, 320px); aspect-ratio: 1; margin-inline: auto; padding: 0; overflow: hidden; border-radius: 50%; }
  .disc::after { inset: 9px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='2' stroke-dasharray='7 4.900'%3E%3Ccircle cx='150.400' cy='151.200' r='147' stroke='%238ea3b8' stroke-opacity='.35'/%3E%3Ccircle cx='150' cy='150' r='147' stroke='%2335588a'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100%; }
  .disc picture { position: absolute; inset: auto 9% 0; }
  .disc img { width: 100%; mix-blend-mode: multiply; }
  .who { width: min(100%, 430px); justify-self: center; }
  .tag { z-index: 1; margin-top: -7.5%; padding: 26px 30px 28px; rotate: -.7deg; }
  .w2 .tag { rotate: .6deg; }
  .w3 .tag { rotate: -.4deg; }
  .tag h3 { font-size: 34px; }
  .tag p { margin-top: 4px; line-height: 1.75; text-wrap: pretty; }

  .s-play .p-text { grid-column: 1 / 6; }
  .s-play .p-text > p { margin-top: 22px; max-width: 22em; font-size: 20px; }
  .ways { grid-column: 6 / 13; display: grid; gap: 22px; align-content: center; }
  .ways div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 20px; align-items: baseline; }
  .ways dt { font-size: 28px; line-height: 1.3; color: var(--lamp); }
  .ways dd { max-width: 28em; }
  .p-screen { grid-column: 1 / 13; padding-top: 52px; }
  .screen img { width: 100%; box-shadow: 0 0 0 3px #f1f5f8; }
  .notes { display: grid; grid-template-columns: 1.2fr 1.5fr auto; gap: 30px; margin-top: 0; color: #dfe8f0; }
  .notes li { position: relative; padding-top: 54px; }
  .notes li p { max-width: 15em; line-height: 1.7; }
  .n1::before, .n3::before { content: ""; position: absolute; top: 3px; width: 8px; height: 46px; background: var(--st-v) 0 0 / 8px auto repeat-y; }
  .n1::before { left: 10%; }
  .n3::before { right: 34px; }
  .n2 { display: flex; gap: 22px; align-items: center; justify-self: center; }
  .n2 img { width: 250px; mix-blend-mode: lighten; clip-path: polygon(0 0, 71% 0, 71% 30%, 100% 30%, 100% 100%, 0 100%); }
  .m-only { display: none; }

  .p-shots { grid-column: 1 / 13; }
  .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 34px; max-width: 1300px; margin: 38px auto 0; }
  .wide { grid-column: 1 / 3; }
  .shot { display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; }
  .shot picture { overflow: hidden; aspect-ratio: 2.5; background: #0a1120; box-shadow: 0 0 0 3px #f1f5f8, 0 7px 18px rgb(0 0 0 / .4); }
  .g:nth-child(2) .shot picture, .g:nth-child(3) .shot picture { aspect-ratio: 2.4; }
  .g:nth-child(5) .shot picture, .g:nth-child(6) .shot picture { aspect-ratio: 2.62; }
  .g.wide .shot picture { aspect-ratio: auto; }
  .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
  .cap { display: block; margin-top: 14px; font-size: 16px; line-height: 1.6; }
  .shot:hover .cap { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; text-underline-offset: 6px; }

  .s-setup .p-steps { grid-column: 1 / 7; }
  .s-setup .p-file { grid-column: 7 / 13; }
  .p-steps h3 { margin-top: 34px; }
  .steps { counter-reset: s; display: grid; gap: 16px; margin-top: 20px; }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
  .steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin-top: -8px; padding-top: 6px; font: 23px/1 var(--hand); color: #3b1c02;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.36' cy='.34' r='.8'%3E%3Cstop offset='0' stop-color='%23ffd08a'/%3E%3Cstop offset='.45' stop-color='%23f9a63a'/%3E%3Cstop offset='1' stop-color='%23d06f12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='23' cy='26' rx='19.500' ry='17.500' fill='url(%23g)'/%3E%3Cpath d='M23 10l-6-3.400 4 0-1.200-4 4 2.600 3.600-3-.8 4.600 4.800.7-4.800 2z' fill='%2374994a'/%3E%3C/svg%3E") 0 0 / 100%; }
  .plain { margin-top: 14px; max-width: 32em; }
  .p-file dl { margin-top: 10px; }
  .p-file dl div { display: grid; grid-template-columns: 5.4em 1fr; gap: 12px; padding: 8px 0; font-size: 16px; line-height: 1.65; border-bottom: 1px solid rgb(53 88 138 / .28); }
  .p-file dt { color: var(--ink-2); }
  .p-file dd { font-weight: 600; overflow-wrap: anywhere; }
  code { font: 500 .92em/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
  .file-act { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 24px 0 0 5px; }
  .p-file .dl-btn { font-size: 23px; padding: 13px 34px; }
  .p-file .second { margin-top: 34px; }
  .ghost { border: 0; padding: 12px 4px; font-size: 16px; text-decoration: underline; text-decoration-style: dashed; text-decoration-thickness: 2px; text-underline-offset: 7px; background: none; }
  .ghost:hover { text-decoration-style: solid; }
  .fine { margin-top: 20px; font-size: 15px; color: var(--ink-2); }

  .s-req .p-h { grid-column: 1 / 5; }
  .s-req .p-spec { grid-column: 5 / 13; }
  .spec { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.6; }
  .spec th, .spec td { padding: 11px 14px 11px 0; text-align: left; vertical-align: top; font-weight: 500; border-bottom: 1px solid rgb(53 88 138 / .28); }
  .spec tbody th { width: 6em; color: var(--ink-2); }
  .spec thead th { font-weight: 700; }

  .s-faq .p-h { grid-column: 1 / 5; }
  .s-faq .p-qa { grid-column: 5 / 13; }
  .qa details { border-bottom: 1px solid rgb(53 88 138 / .32); }
  .qa details:last-child { border-bottom: 0; }
  .qa summary { position: relative; padding: 18px 48px 18px 0; font-size: 18px; font-weight: 600; line-height: 1.6; cursor: pointer; list-style: none; }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 20px; height: 20px; translate: 0 -50%;
    background: linear-gradient(#35588a 0 0) 50% 50% / 100% 2.500px no-repeat, linear-gradient(#35588a 0 0) 50% 50% / 2.500px 100% no-repeat; }
  .qa details[open] summary::after { background-size: 100% 2.500px, 0 0; }
  .qa p { padding: 0 40px 20px 0; }

  /* 页脚: 雪夜的村子, 灯还亮着 */
  .village { width: 100%; height: clamp(190px, 18.75vw, 330px); max-width: none; }
  .foot .wrap { padding-block: 10px 60px; }
  .foot { position: relative; font-size: 15px; background: linear-gradient(#0c1730, #16294c clamp(150px, 15vw, 260px), #1a2e54 clamp(189px, 18.7vw, 329px)); }
  .foot-title { margin-bottom: 8px; font-size: 34px; color: var(--snow); }
  .foot p { color: #d3dfec; }
  .links { display: flex; gap: 22px; margin-top: 10px; }

  /* 弹窗 */
  dialog { border: 0; padding: 0; color: var(--snow); }
  dialog::backdrop { background: rgb(6 12 24 / .72); backdrop-filter: blur(7px); }
  .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; font-size: 26px; line-height: 1; background: none; }
  .x:hover { color: var(--lamp); }
  .dlg { width: min(460px, 100% - 32px); padding: 40px 34px 34px; text-align: center; background: url(/img/cloth.webp?h=29f92c6b) 0 0 / 288px var(--kon); background-blend-mode: soft-light; box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
  .dlg::after { content: ""; position: absolute; inset: 8px; border: 8px solid transparent; border-image: var(--st-w) 8 round; pointer-events: none; }
  .dlg .x { z-index: 1; }
  .dlg h2 { font-size: 38px; }
  .dlg-file { margin: 8px 0 18px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; color: var(--ice); }
  #ts-box { min-height: 70px; display: grid; place-items: center; }
  #dl-status { margin-top: 14px; font-size: 16px; line-height: 1.7; }
  #dl-link { margin-top: 22px; font-size: 20px; }
  .lb { width: min(1280px, 100% - 24px); max-height: calc(100svh - 24px); background: none; overflow: visible; }
  .lb picture img { width: 100%; height: auto; max-height: calc(100svh - 150px); object-fit: contain; }
  #lb-cap { margin-top: 12px; text-align: center; }
  .lb-nav { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 8px; }
  .lb-nav button { width: 44px; height: 44px; border: 0; font-size: 26px; line-height: 1; background: var(--kon); }
  .lb .x { top: -46px; right: 0; }

  /* 隐私 / 条款 / 404 */
  .doc-page { min-height: var(--vh); background: url(/img/cloth.webp?h=29f92c6b) 0 0 / 288px var(--ai); background-blend-mode: soft-light; }
  .doc { max-width: 720px; padding-block: 90px 80px; }
  .doc h1 { margin: 20px 0 28px; font-size: 46px; }
  .doc h2 { margin: 32px 0 8px; font-size: 20px; font-weight: 700; }
  .doc p { margin-top: 10px; color: #d6e0ea; }
  .doc .dl-btn { margin-top: 22px; font-size: 24px; color: #371a04; }
  .doc .date { margin-top: 38px; font-size: 15px; }
  .back { color: var(--lamp); text-underline-offset: 5px; }
}

@layer responsive {
  @media (min-width: 1560px) {
    .p-shots { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(0, 1300px); column-gap: 60px; align-items: start; }
    .p-shots h2 { grid-area: 1 / 1; }
    .p-shots .sub { grid-area: 1 / 1; margin-top: 82px; }
    .p-shots .grid { grid-area: 1 / 2; margin-top: 12px; width: 100%; }
  }
  @media (max-width: 1080px) {
    .s-story .p-text, .s-story .wave, .s-story .p-credit, .s-play .p-text, .ways, .s-setup .p-steps, .s-setup .p-file, .s-req .p-h, .s-req .p-spec, .s-faq .p-h, .s-faq .p-qa { grid-area: auto; grid-column: 1 / 13; }
    .s-story .wave { min-height: 110px; padding: 0; }
    .s-req .p-h, .s-faq .p-h { padding-block: 50px 44px; }
    .p-cast h2 { grid-area: 1 / 1 / 2 / 4; }
    .w1, .w2, .w3 { grid-area: 2 / auto; margin-top: 34px; }
    .tag { padding: 24px 22px; }
  }
  @media (max-width: 880px) {
    .dado-in { grid-template-columns: 1fr; }
  }
  @media (max-width: 760px) {
    body { font-size: 16.500px; }
    .bar { height: 52px; gap: 12px; padding-inline: 14px; }
    .bar nav { display: none; }
    .bar .pill { margin-left: auto; }
    .brand { font-size: 23px; }
    .room::after { mix-blend-mode: normal; background: radial-gradient(74% 46% at 50% -3%, rgb(255 190 96 / .34), rgb(255 180 90 / .12) 52%, transparent 80%), radial-gradient(100% 90% at 50% 26%, transparent 62%, rgb(2 4 10 / .14)); }
    .window { --st: 9px; --pw: calc(100vw - 32px); grid-template-columns: 1fr; padding: 5px 7px 0; }
    .sash { padding: 8px var(--st) 9px; }
    .sb { padding-bottom: 14px; }
    .sa { box-shadow: 0 8px 12px -5px rgb(0 0 0 / .7); }
    /* 第二块窗只留一条: 外面的景和雾一起往上提一点, 脸正好在中间 */
    .pb { --lift: calc(var(--pw) * .034); aspect-ratio: 744 / 356; }
    .pb .view img { top: calc(-2% - var(--lift)); height: calc(104% + 2 * var(--lift)); }
    .pb .fog { top: calc(-1 * var(--lift)); height: calc(100% + var(--lift)); }
    .ledge { height: 22px; }
    .still { width: 118px; right: 14px; bottom: 11px; }
    .dado-in { display: flex; flex-direction: column; align-items: stretch; gap: 16px; width: auto; margin-inline: 20px; padding-block: 18px 56px; }
    .get { display: contents; }
    .cta { order: 1; gap: 18px; padding-inline: 4px; }
    .cta > * { flex: 1; padding: 14px 4px; font-size: 22px; }
    .say { order: 2; }
    .hero h1 { font-size: 31px; }
    .lead { margin-top: 8px; font-size: 16.500px; line-height: 1.7; }
    .facts { order: 3; grid-template-columns: auto auto; gap: 4px clamp(12px, 5.6vw, 24px); margin-top: 0; white-space: nowrap; }
    .facts div { display: flex; gap: .7em; align-items: baseline; }
    .facts small { display: block; }
    .p { padding: 46px 26px 44px 30px; }
    h2.t { font-size: 36px; }
    .s-story .p-text p { font-size: 17.500px; }
    .prev { margin-top: 30px; padding: 26px 26px 28px; }
    .s-story .p-text .prev p { font-size: 16.500px; }
    .p-cast { display: block; padding: 46px 16px 56px 26px; }
    .who { display: grid; grid-template-columns: 40% 1fr; align-items: center; margin-top: 34px; }
    .disc { width: 112%; margin: 0; }
    .disc::after { inset: 6px; }
    .tag { margin: 0 0 0 -2px; padding: 20px 20px 22px 30px; }
    .w2 { grid-template-columns: 1fr 40%; }
    .w2 .disc { order: 2; justify-self: end; }
    .w2 .tag { margin: 0 -2px 0 0; padding: 20px 30px 22px 22px; }
    .tag h3 { font-size: 28px; }
    .tag p { font-size: 15.500px; line-height: 1.7; }
    .s-play .p-text > p { font-size: 17.500px; }
    .ways div { grid-template-columns: 1fr; gap: 2px; }
    .p-screen { padding-top: 40px; }
    .screen { overflow: hidden; box-shadow: 0 0 0 3px #f1f5f8; }
    .screen img { width: 200%; max-width: none; box-shadow: none; }
    .notes { grid-template-columns: 1fr; gap: 22px; }
    .notes li { padding-top: 0; }
    .notes .n1 { padding-top: 46px; }
    .n1::before { left: 14%; height: 40px; }
    .n3::before { display: none; }
    .n2, .n3 { display: grid; grid-template-columns: 52% 1fr; gap: 18px; align-items: center; justify-self: stretch; }
    .n2 img { width: 100%; }
    .n3 { grid-template-columns: 96px 1fr; order: -1; }
    .notes .n1 { order: -2; }
    .m-only { display: block; }
    .grid { grid-template-columns: 1fr; gap: 30px; margin-top: 28px; }
    .wide { grid-column: auto; }
    .grid .g .shot picture { aspect-ratio: 1.95; }
    .g .shot img { object-position: 100% 0; }
    .g:first-child .shot img { object-position: 74% 0; }
    .yuki::before { inset: auto -46px -64px auto; width: 210px; height: 210px; opacity: .55; }
    .s-req .p-h { padding-bottom: 110px; }
    .grid .g:last-child .shot picture { aspect-ratio: 2.62; }
    .steps li { grid-template-columns: 42px 1fr; gap: 12px; }
    .steps li::before { width: 42px; height: 42px; font-size: 21px; }
    .p-file, .p-spec, .p-qa { padding-inline: 24px 16px; }
    .sewn { padding: 32px 24px; }
    .p-file dl div { grid-template-columns: 4.6em 1fr; }
    .p-file .dl-btn { flex: 1; }
    .spec { font-size: 15.500px; }
    .spec th, .spec td { padding-right: 10px; }
    .spec tbody th { width: 4.2em; }
    .qa summary { font-size: 17px; }
    .qa p { padding-right: 0; }
  }
  @media (max-width: 760px) and (max-height: 740px) {
    .pb { --lift: calc(var(--pw) * .055); aspect-ratio: 744 / 296; }
    .dado-in { padding-top: 15px; }
  }
}

@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    .ink path { stroke-dasharray: 1 1.2; animation: write var(--t) var(--d) cubic-bezier(.45, .05, .55, 1) both; }
    @keyframes write { from { stroke-dashoffset: 1.1; } to { stroke-dashoffset: 0; } }
    .ink .dr path { animation: run var(--t) var(--d) cubic-bezier(.5, 0, .9, .6) both; }
    @keyframes run { from { stroke-dashoffset: 1.1; } 35% { stroke-dashoffset: .8; } 55% { stroke-dashoffset: .72; } to { stroke-dashoffset: 0; } }
    .bead { animation: fall var(--t) var(--d) cubic-bezier(.5, 0, .9, .6) both; }
    @keyframes fall { from { translate: 0 calc(var(--n) * -1); opacity: 0; } 12% { opacity: 1; } 35% { translate: 0 calc(var(--n) * -.8); } 55% { translate: 0 calc(var(--n) * -.72); } to { translate: 0 0; } }
    .view img { transition: translate .5s cubic-bezier(.2, .7, .3, 1); }
    .snow { animation: snow 24s linear infinite; }
    @keyframes snow { to { translate: 0 480px; } }
    .steam path { animation: steam 5.500s ease-in-out infinite alternate; }
    .steam path + path { animation-delay: -2.300s; }
    .away .snow, .away .steam path { animation-play-state: paused; }
    @keyframes steam { from { translate: -3px 5px; opacity: .45; } to { translate: 4px -7px; opacity: 1; } }
    :root { interpolate-size: allow-keywords; }
    .qa details::details-content { block-size: 0; overflow: clip; transition: block-size .28s ease, content-visibility .28s allow-discrete; }
    .qa details[open]::details-content { block-size: auto; }
    html { scroll-behavior: smooth; }
    @supports (animation-timeline: view()) {
      .p::after { animation: sew linear both; animation-timeline: view(); animation-range: entry 0% entry 480px; }
      @keyframes sew { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
      .view img { animation: drift linear both; animation-timeline: scroll(); animation-range: 0 100svh; }
      @keyframes drift { to { transform: translateY(-2%); } }
    }
  }
}
