/* PAPER — a pinboard (2026-11-17, second pass). Loaded after doodle-shell.css and overrides it.
   Rules of this look: decoration stays on the cork, the reading column is flat paper in the system font;
   five colors (oat, clay, rust, moss, ink); one soft shadow; edges are drawn paths, never filters.
   The drawn parts (cork grain, torn edges) come from scripts/build-paper-edges.mjs. The side scraps and the
   string of lights are added by /scripts/paper.js on wide screens. DOM and text are untouched. */
@font-face { font-family: 'WK UI zh'; font-weight: 100 900; font-display: swap; src: url(/fonts/paper/wk-ui-zh.woff2?v=2) format('woff2'); }
@font-face { font-family: 'WK UI en'; font-weight: 100 900; font-display: swap; src: url(/fonts/paper/wk-ui-en.woff2?v=2) format('woff2'); }
@font-face { font-family: 'WK UI ja'; font-weight: 100 900; font-display: swap; src: url(/fonts/paper/wk-ui-ja.woff2?v=2) format('woff2'); }
@font-face { font-family: 'WK Common'; font-display: swap; src: url(/fonts/paper/wk-common.woff2?v=2) format('woff2'); }
/* JetBrains Mono (code): moved here from fonts.css, which the shell no longer loads */
@font-face {font-family:'JetBrains Mono';font-style:normal;font-weight:400;src:url(/fonts/jetbrains-mono/latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:swap;}
@font-face {font-family:'JetBrains Mono';font-style:normal;font-weight:400;src:url(/fonts/jetbrains-mono/latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:swap;}
@font-face {font-family:'JetBrains Mono';font-style:normal;font-weight:700;src:url(/fonts/jetbrains-mono/latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:swap;}
@font-face {font-family:'JetBrains Mono';font-style:normal;font-weight:700;src:url(/fonts/jetbrains-mono/latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:swap;}
/* generated by scripts/build-paper-edges.mjs — start */
:root {
  --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%23d6ab7a' opacity='.62'%3E%3Cellipse cx='3' cy='14' rx='1.3' ry='2.8'/%3E%3Cellipse cx='103' cy='53' rx='1.9' ry='1.4'/%3E%3Cellipse cx='65' cy='215' rx='1.2' ry='1.6'/%3E%3Cellipse cx='182' cy='9' rx='1.1' ry='0.9'/%3E%3Cellipse cx='155' cy='151' rx='1.4' ry='0.9'/%3E%3Cellipse cx='201' cy='71' rx='1.1' ry='1.3'/%3E%3Cellipse cx='131' cy='212' rx='1.2' ry='2.7'/%3E%3Cellipse cx='31' cy='219' rx='1.8' ry='1.2'/%3E%3Cellipse cx='40' cy='55' rx='1.6' ry='1.1'/%3E%3Cellipse cx='38' cy='5' rx='1.6' ry='0.9'/%3E%3Cellipse cx='38' cy='89' rx='1.7' ry='1.4'/%3E%3Cellipse cx='174' cy='156' rx='1.1' ry='2.4'/%3E%3Cellipse cx='124' cy='64' rx='1.8' ry='1.4'/%3E%3Cellipse cx='205' cy='121' rx='0.7' ry='2.1'/%3E%3Cellipse cx='160' cy='137' rx='0.8' ry='1.9'/%3E%3Cellipse cx='210' cy='34' rx='0.8' ry='0.9'/%3E%3Cellipse cx='200' cy='189' rx='1.8' ry='1.6'/%3E%3Cellipse cx='185' cy='1' rx='1.1' ry='1.4'/%3E%3Cellipse cx='13' cy='98' rx='2.8' ry='0.6'/%3E%3Cellipse cx='174' cy='152' rx='1.3' ry='1.1'/%3E%3Cellipse cx='183' cy='8' rx='1.4' ry='1.1'/%3E%3Cellipse cx='153' cy='57' rx='0.6' ry='1.8'/%3E%3Cellipse cx='171' cy='36' rx='2.3' ry='0.7'/%3E%3Cellipse cx='194' cy='7' rx='1.6' ry='0.8'/%3E%3Cellipse cx='159' cy='186' rx='0.8' ry='1.2'/%3E%3Cellipse cx='154' cy='151' rx='1' ry='1.3'/%3E%3Cellipse cx='27' cy='122' rx='1.3' ry='1.8'/%3E%3Cellipse cx='92' cy='208' rx='1.1' ry='2.2'/%3E%3Cellipse cx='215' cy='14' rx='2.3' ry='1'/%3E%3Cellipse cx='50' cy='188' rx='1.1' ry='2.8'/%3E%3Cellipse cx='106' cy='38' rx='1.3' ry='0.8'/%3E%3Cellipse cx='148' cy='138' rx='0.8' ry='1'/%3E%3Cellipse cx='199' cy='8' rx='1.1' ry='2.3'/%3E%3Cellipse cx='40' cy='72' rx='2.2' ry='1.3'/%3E%3Cellipse cx='168' cy='119' rx='1' ry='2.3'/%3E%3Cellipse cx='14' cy='88' rx='1.2' ry='1.4'/%3E%3Cellipse cx='190' cy='3' rx='1.1' ry='0.7'/%3E%3Cellipse cx='180' cy='176' rx='1.3' ry='2.7'/%3E%3Cellipse cx='127' cy='53' rx='1.3' ry='1.7'/%3E%3Cellipse cx='3' cy='127' rx='1.7' ry='0.6'/%3E%3Cellipse cx='74' cy='200' rx='2.4' ry='1.1'/%3E%3Cellipse cx='94' cy='208' rx='0.7' ry='2.8'/%3E%3Cellipse cx='70' cy='141' rx='1.4' ry='1.5'/%3E%3Cellipse cx='113' cy='38' rx='1.6' ry='2.4'/%3E%3Cellipse cx='41' cy='129' rx='1.2' ry='0.9'/%3E%3Cellipse cx='184' cy='102' rx='0.8' ry='0.8'/%3E%3Cellipse cx='81' cy='109' rx='2' ry='1.5'/%3E%3Cellipse cx='58' cy='195' rx='1.7' ry='2.4'/%3E%3Cellipse cx='72' cy='82' rx='0.9' ry='1.1'/%3E%3Cellipse cx='17' cy='204' rx='1.4' ry='2.5'/%3E%3Cellipse cx='173' cy='202' rx='2.4' ry='0.9'/%3E%3Cellipse cx='13' cy='5' rx='2.3' ry='0.6'/%3E%3Cellipse cx='53' cy='206' rx='0.9' ry='2.2'/%3E%3Cellipse cx='56' cy='130' rx='1.6' ry='1.8'/%3E%3Cellipse cx='191' cy='210' rx='2.4' ry='0.5'/%3E%3Cellipse cx='112' cy='13' rx='1' ry='1.5'/%3E%3Cellipse cx='123' cy='195' rx='1.6' ry='1.6'/%3E%3Cellipse cx='1' cy='8' rx='1.6' ry='1.7'/%3E%3Cellipse cx='36' cy='31' rx='1.7' ry='1.2'/%3E%3C/g%3E%3Cg fill='%2394683f' opacity='.5'%3E%3Cellipse cx='168' cy='114' rx='1.1' ry='0.9'/%3E%3Cellipse cx='34' cy='64' rx='1.9' ry='1.4'/%3E%3Cellipse cx='122' cy='137' rx='1.7' ry='2.1'/%3E%3Cellipse cx='19' cy='169' rx='1.5' ry='1'/%3E%3Cellipse cx='151' cy='203' rx='1.5' ry='1.9'/%3E%3Cellipse cx='26' cy='117' rx='1.6' ry='2.1'/%3E%3Cellipse cx='114' cy='72' rx='1.2' ry='2.2'/%3E%3Cellipse cx='123' cy='181' rx='1.3' ry='1.6'/%3E%3Cellipse cx='69' cy='52' rx='0.5' ry='0.7'/%3E%3Cellipse cx='139' cy='3' rx='1.2' ry='2'/%3E%3Cellipse cx='61' cy='217' rx='1.5' ry='2.1'/%3E%3Cellipse cx='46' cy='179' rx='1.4' ry='2.5'/%3E%3Cellipse cx='134' cy='162' rx='2.7' ry='1.1'/%3E%3Cellipse cx='175' cy='188' rx='1.1' ry='1.2'/%3E%3Cellipse cx='182' cy='182' rx='2.3' ry='1'/%3E%3Cellipse cx='55' cy='80' rx='1.7' ry='1.5'/%3E%3Cellipse cx='121' cy='96' rx='1.4' ry='1.1'/%3E%3Cellipse cx='126' cy='217' rx='2.5' ry='1.1'/%3E%3Cellipse cx='134' cy='188' rx='1.5' ry='0.9'/%3E%3Cellipse cx='161' cy='212' rx='1.4' ry='0.8'/%3E%3Cellipse cx='204' cy='173' rx='2.4' ry='1.7'/%3E%3Cellipse cx='62' cy='118' rx='1.4' ry='1.5'/%3E%3Cellipse cx='31' cy='159' rx='1.2' ry='1.7'/%3E%3Cellipse cx='204' cy='149' rx='0.9' ry='2.4'/%3E%3Cellipse cx='201' cy='60' rx='0.8' ry='1.9'/%3E%3Cellipse cx='96' cy='120' rx='1.1' ry='1.4'/%3E%3Cellipse cx='185' cy='142' rx='1.4' ry='0.6'/%3E%3Cellipse cx='127' cy='155' rx='1.1' ry='1.1'/%3E%3Cellipse cx='202' cy='60' rx='1' ry='0.8'/%3E%3Cellipse cx='181' cy='191' rx='1.3' ry='2.3'/%3E%3Cellipse cx='53' cy='109' rx='2' ry='1.3'/%3E%3Cellipse cx='53' cy='162' rx='1.8' ry='1'/%3E%3Cellipse cx='1' cy='106' rx='0.9' ry='2.1'/%3E%3Cellipse cx='65' cy='121' rx='2.2' ry='0.9'/%3E%3Cellipse cx='26' cy='120' rx='1.3' ry='1.7'/%3E%3Cellipse cx='127' cy='171' rx='1.4' ry='1.8'/%3E%3Cellipse cx='132' cy='149' rx='1.4' ry='2.3'/%3E%3Cellipse cx='68' cy='206' rx='0.9' ry='0.7'/%3E%3Cellipse cx='0' cy='157' rx='1.7' ry='0.7'/%3E%3Cellipse cx='134' cy='85' rx='2.3' ry='0.8'/%3E%3Cellipse cx='21' cy='74' rx='1.6' ry='2.7'/%3E%3Cellipse cx='34' cy='100' rx='1.5' ry='0.5'/%3E%3Cellipse cx='94' cy='66' rx='1' ry='0.8'/%3E%3Cellipse cx='119' cy='158' rx='2.8' ry='1.7'/%3E%3Cellipse cx='67' cy='175' rx='1.4' ry='1.4'/%3E%3Cellipse cx='40' cy='149' rx='1.5' ry='2.2'/%3E%3Cellipse cx='111' cy='204' rx='1.1' ry='2.6'/%3E%3Cellipse cx='109' cy='211' rx='0.9' ry='2.2'/%3E%3Cellipse cx='139' cy='159' rx='2' ry='1.5'/%3E%3Cellipse cx='202' cy='39' rx='1.4' ry='1.6'/%3E%3Cellipse cx='125' cy='103' rx='1' ry='1.8'/%3E%3Cellipse cx='184' cy='22' rx='1.1' ry='1.5'/%3E%3Cellipse cx='103' cy='134' rx='0.9' ry='1.7'/%3E%3Cellipse cx='23' cy='105' rx='1.6' ry='2.1'/%3E%3Cellipse cx='103' cy='78' rx='0.9' ry='0.9'/%3E%3Cellipse cx='197' cy='16' rx='1.2' ry='0.6'/%3E%3Cellipse cx='205' cy='18' rx='2.3' ry='1.6'/%3E%3Cellipse cx='81' cy='174' rx='1' ry='2.1'/%3E%3Cellipse cx='154' cy='146' rx='0.7' ry='1.3'/%3E%3Cellipse cx='74' cy='117' rx='1.3' ry='1.2'/%3E%3Cellipse cx='113' cy='156' rx='2.3' ry='1'/%3E%3C/g%3E%3C/svg%3E");
  --edge-kraft-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='12' viewBox='0 0 1000 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12L0 3L15.4 1.7L29.9 1.5L51.8 3.8L65.8 3.5L85.9 1.5L99.8 2.2L113.7 0L135.9 0L152.9 2L162.7 2L175 2.3L190.7 0L209.3 1.9L231.3 2.9L248.7 0.9L262.5 0.1L276 1L291.1 0.3L313.5 0.8L333.3 0L354.8 2.7L375.2 3.5L386.1 3.4L395.9 0.8L415.4 0.2L435.7 0L447.8 1L468.9 0L478.2 0L490.3 0.6L510.1 0L533.1 0L555.1 3L567.7 1.4L576.9 0L596.8 2L616.2 1.5L629.8 0L645.5 1.8L658.1 1L669.4 1.4L684.2 0L701.2 2.6L715.4 2L734.9 1L746.7 2.3L767.8 2.7L790.2 2.5L800 3.7L809 4.8L818.4 6.1L836.7 4.6L853.1 6.8L865.3 7L880.7 6.8L898.8 7L908 7L922.9 7L940.6 7L958 7L979 6.8L1000 6.2L1000 12Z' fill='%23e4d5b3'/%3E%3C/svg%3E");
  --edge-kraft-foot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='18' viewBox='0 0 1000 18' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a2a18' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%233a2a18' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0L1000 0L1000 7.3L993.9 5.8L974.2 8.1L953.7 11L939.7 11L927.9 11L912.1 11L898.7 8.8L887.8 11L867.3 11L856.1 11L836.8 9.9L815.2 8.5L797.6 11L787.8 11L768 10L748.2 9.8L730.2 11L708 10.1L691.8 11L674.9 10.3L659.2 8.4L647 6.6L637.5 4L623.5 4L606.1 4.1L585.8 5L571.6 7.5L556.5 7.4L537.1 9.3L517.1 8.9L494.9 6.4L483.8 4L470.4 4L461.2 4L440.3 4.4L421.1 6.8L406.9 9.4L394.4 9.8L372.1 11L359.1 11L346.4 11L331.5 11L309.4 8.1L289.1 8.5L273.2 7L250.4 6.5L227.9 7.3L209 4.3L193.4 5.1L176.1 6.7L166.9 6.7L156.2 4L144.4 5.1L129.3 6.7L112.9 4L101.9 4L88.7 7L75.2 4L55.3 4L35.2 4L20.9 5.8L0 8.2Z' fill='url(%23s)' transform='translate(0 5)'/%3E%3Cpath d='M0 0L1000 0L1000 7.3L993.9 5.8L974.2 8.1L953.7 11L939.7 11L927.9 11L912.1 11L898.7 8.8L887.8 11L867.3 11L856.1 11L836.8 9.9L815.2 8.5L797.6 11L787.8 11L768 10L748.2 9.8L730.2 11L708 10.1L691.8 11L674.9 10.3L659.2 8.4L647 6.6L637.5 4L623.5 4L606.1 4.1L585.8 5L571.6 7.5L556.5 7.4L537.1 9.3L517.1 8.9L494.9 6.4L483.8 4L470.4 4L461.2 4L440.3 4.4L421.1 6.8L406.9 9.4L394.4 9.8L372.1 11L359.1 11L346.4 11L331.5 11L309.4 8.1L289.1 8.5L273.2 7L250.4 6.5L227.9 7.3L209 4.3L193.4 5.1L176.1 6.7L166.9 6.7L156.2 4L144.4 5.1L129.3 6.7L112.9 4L101.9 4L88.7 7L75.2 4L55.3 4L35.2 4L20.9 5.8L0 8.2Z' fill='%23e4d5b3'/%3E%3C/svg%3E");
  --edge-header: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='18' viewBox='0 0 2000 18' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a2a18' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%233a2a18' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0L2000 0L2000 11.3L1997.7 9.7L1982.9 10.1L1966 10.6L1948 11.6L1931.2 10.9L1917.1 8.8L1897.9 7.7L1887.7 5.7L1868.6 6.4L1859.5 5.1L1842.7 4L1821.4 4.2L1800.7 4L1785.6 4L1776.1 5.4L1764.1 8.6L1746.9 9.6L1730.8 6.3L1716 8.2L1695.3 8.6L1672.3 11.9L1653.7 12L1639.5 8.7L1628.4 5.7L1606.8 7.3L1594.6 9.4L1583.7 10.7L1565 9.9L1548.6 7.8L1532.6 8.3L1511 8.4L1495 7.1L1478.3 5.1L1463.9 4L1447.9 6.2L1436.1 4.9L1423.5 8.4L1403 6.2L1388.9 7.2L1369.7 4L1348.8 4L1334.7 4L1320.3 4L1306.6 5.5L1287.4 5.9L1265.5 4.4L1247 6.6L1229.2 6L1210.7 4L1195.4 4L1185.1 4.9L1170.4 4L1159.9 4L1140 4.2L1125.5 5.1L1116.5 4L1100.3 7L1081.5 5.1L1070.4 4L1060.3 4L1049.2 4L1027.4 5L1005.6 5.2L993.6 4L970.8 4.8L960.5 5.1L945.1 4L927.6 5.9L913.4 8.5L898.4 6.6L884.6 5.7L865.4 7.6L851 9.9L840.4 9.9L830.9 7.6L818.7 9.4L797.8 9.3L783.5 8.6L770.8 11.8L758.8 9.3L743 9.2L720.1 12L703.4 12L692.6 9.2L677.9 7.4L664.6 7.3L652.1 7.4L639.5 4L617.7 4L596.1 4L573.3 5.5L553 7L540.3 6.3L517.6 4.5L500.9 4L489.2 4L473.7 4.1L456.1 4L447.1 5.8L437.2 4L425 4L405.3 4L384 4L369.6 4L355.2 5.5L344.8 4L328.4 4.5L319.2 4L299.3 4L286.8 4L270.1 4L252.2 4.8L240.8 4L227.5 4L217.7 4.8L206.8 5.5L191.6 7.4L169.8 8.2L157.3 9.6L136.8 6L118.4 5.8L102 4L79.7 4L60.1 6.2L41.8 5.8L32.6 4.4L10.1 6.9L0 6.3Z' fill='url(%23s)' transform='translate(0 5)'/%3E%3Cpath d='M0 0L2000 0L2000 11.3L1997.7 9.7L1982.9 10.1L1966 10.6L1948 11.6L1931.2 10.9L1917.1 8.8L1897.9 7.7L1887.7 5.7L1868.6 6.4L1859.5 5.1L1842.7 4L1821.4 4.2L1800.7 4L1785.6 4L1776.1 5.4L1764.1 8.6L1746.9 9.6L1730.8 6.3L1716 8.2L1695.3 8.6L1672.3 11.9L1653.7 12L1639.5 8.7L1628.4 5.7L1606.8 7.3L1594.6 9.4L1583.7 10.7L1565 9.9L1548.6 7.8L1532.6 8.3L1511 8.4L1495 7.1L1478.3 5.1L1463.9 4L1447.9 6.2L1436.1 4.9L1423.5 8.4L1403 6.2L1388.9 7.2L1369.7 4L1348.8 4L1334.7 4L1320.3 4L1306.6 5.5L1287.4 5.9L1265.5 4.4L1247 6.6L1229.2 6L1210.7 4L1195.4 4L1185.1 4.9L1170.4 4L1159.9 4L1140 4.2L1125.5 5.1L1116.5 4L1100.3 7L1081.5 5.1L1070.4 4L1060.3 4L1049.2 4L1027.4 5L1005.6 5.2L993.6 4L970.8 4.8L960.5 5.1L945.1 4L927.6 5.9L913.4 8.5L898.4 6.6L884.6 5.7L865.4 7.6L851 9.9L840.4 9.9L830.9 7.6L818.7 9.4L797.8 9.3L783.5 8.6L770.8 11.8L758.8 9.3L743 9.2L720.1 12L703.4 12L692.6 9.2L677.9 7.4L664.6 7.3L652.1 7.4L639.5 4L617.7 4L596.1 4L573.3 5.5L553 7L540.3 6.3L517.6 4.5L500.9 4L489.2 4L473.7 4.1L456.1 4L447.1 5.8L437.2 4L425 4L405.3 4L384 4L369.6 4L355.2 5.5L344.8 4L328.4 4.5L319.2 4L299.3 4L286.8 4L270.1 4L252.2 4.8L240.8 4L227.5 4L217.7 4.8L206.8 5.5L191.6 7.4L169.8 8.2L157.3 9.6L136.8 6L118.4 5.8L102 4L79.7 4L60.1 6.2L41.8 5.8L32.6 4.4L10.1 6.9L0 6.3Z' fill='%23f8f3e7'/%3E%3C/svg%3E");
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke-linecap='round'%3E%3Cpath d='M204.2 122.1q-0.3 2.8 -4.1 9.1M219.4 106.4q7.5 -0.6 11.6 2.1M194.3 74.4q1.9 5.1 6.7 7.4M36.2 114.8q3 0 2.6 3.6M7.4 159.2q1.6 3.4 0.6 9.5M130.2 63.4q-6.8 3.6 -11 4.5M56.2 0.3q0.5 2.7 0.4 6M94.8 210.3q-1.5 1.1 -6.2 5.5M68.2 144.2q2.2 5.3 6.5 8.5M221.4 151.1q4.4 0.1 4.1 4.8M166.4 146.3q0.1 -1.4 -4.2 1.6M55 115.4q-5.1 3.3 -7.2 3.7M195.6 219.4q-1.7 -0.6 -5.6 0.8M155.8 62.2q-9.4 4.1 -14 3.3M18.4 140.7q4.4 1.3 11.2 0.3M119.8 22.7q3 3.5 8.5 4.5M206.5 204.3q1.6 6.3 7.9 8M90.4 69q2.3 4.1 2.7 10.2M235.6 40.1q1.3 2.7 6.1 2M100.4 193.1q5 4.9 10 9.8M0.2 220.8q1.4 3.4 3 6.7M99.5 92.3q2.6 6.1 4.1 13.4M196.2 117.4q7.4 0.6 14.6 1.5M152.5 143.5q0.6 3.5 3.6 4.5M67.1 6q-0.1 2.7 4.7 0.6M196.7 195.5q4.7 1.1 8.1 3.6M38 184.9q-7 1.5 -13.1 2.2M153.8 138.5q2.8 1.6 1.4 7.4M41.8 134.2q1.6 3.5 2.6 7.7M111.6 75.1q-2.3 -0.1 -5.1 0.5M74.7 78.5q1.4 6.1 5 10M179.7 166.3q-1.5 6.1 -4 13.1M34.9 138.8q3 5.4 6.9 9.8M79.8 48.6q6.7 0.4 12 2.4' stroke='%23cdbf9f' stroke-width='.7' opacity='.5'/%3E%3Cpath d='M82 229.6q-0.3 4.2 1.8 6.1M172.5 109.8q-2 4.5 -1 5.9M48.1 135.5q-6.2 1.5 -13.5 4M174.7 34.9q0.8 6.1 3.8 10.1M124.1 15.2q-6.4 2.6 -10.4 2.7M68.1 150.1q-1.6 4.1 -0.9 5.9M76.6 8.5q-2.8 -1.5 -9.5 0.7M115.1 174.7q1.6 2.8 5.6 3.2M238.1 44.1q4.7 1.5 9.5 2.9M79.3 168.5q-2.3 -1 -7.6 1M157 210.7q-2.8 4.3 -1.6 4.7M5 2q-1.7 3.1 -1.9 4.7M121.3 204.9q-0.5 4.9 -3 11.9M185.5 170.7q6.3 2.3 12.8 4.6M170.5 23.1q-1.7 4.1 -5.3 10.1M215.2 95q-3 -1.3 -9.2 0.7M111.8 46.6q-7.5 3.7 -11.6 4.1M227.5 91.5q6.1 2.3 11.6 5.2M127.1 237.8q-8 3.8 -12.4 4M7.9 222.4q5.2 1 10.5 2M54.5 86.9q-0.2 0.4 -5 5.3M23.6 73.8q-6.2 2.4 -11 3.5M16.7 139.3q3.2 1.8 9.9 0.1M229.5 155.5q-2 5.5 -3.2 10.3M37.4 105.1q0 3.1 -0.8 7.1M128 99.7q0.6 2 -3.2 8.3M231.8 183.8q6.3 2.5 12.1 5.4M157 109.8q-3.9 2.9 -11 9.1M34.8 161.6q-4.4 5 -5.7 6.9M164.3 239.5q3.6 3.3 4.1 9.6' stroke='%23fffdf5' stroke-width='.9' opacity='.8'/%3E%3Cg fill='%23bfae8a' opacity='.38'%3E%3Ccircle cx='228' cy='161' r='1.1'/%3E%3Ccircle cx='135' cy='178' r='0.4'/%3E%3Ccircle cx='125' cy='194' r='0.5'/%3E%3Ccircle cx='22' cy='105' r='1.1'/%3E%3Ccircle cx='100' cy='35' r='0.8'/%3E%3Ccircle cx='16' cy='190' r='0.4'/%3E%3Ccircle cx='209' cy='77' r='0.7'/%3E%3Ccircle cx='155' cy='197' r='1'/%3E%3Ccircle cx='212' cy='85' r='0.8'/%3E%3Ccircle cx='37' cy='173' r='0.9'/%3E%3Ccircle cx='65' cy='122' r='0.7'/%3E%3Ccircle cx='14' cy='237' r='0.8'/%3E%3Ccircle cx='165' cy='44' r='1'/%3E%3Ccircle cx='97' cy='208' r='0.7'/%3E%3Ccircle cx='114' cy='148' r='0.6'/%3E%3Ccircle cx='207' cy='217' r='1'/%3E%3Ccircle cx='122' cy='202' r='0.7'/%3E%3Ccircle cx='163' cy='194' r='0.7'/%3E%3Ccircle cx='191' cy='108' r='0.7'/%3E%3Ccircle cx='152' cy='81' r='1'/%3E%3Ccircle cx='205' cy='52' r='0.6'/%3E%3Ccircle cx='38' cy='123' r='0.7'/%3E%3Ccircle cx='166' cy='187' r='0.6'/%3E%3Ccircle cx='102' cy='109' r='0.9'/%3E%3Ccircle cx='176' cy='16' r='0.5'/%3E%3Ccircle cx='233' cy='114' r='0.5'/%3E%3Ccircle cx='208' cy='200' r='0.4'/%3E%3Ccircle cx='143' cy='45' r='0.6'/%3E%3Ccircle cx='123' cy='223' r='0.8'/%3E%3Ccircle cx='67' cy='201' r='0.4'/%3E%3Ccircle cx='96' cy='64' r='0.6'/%3E%3Ccircle cx='176' cy='35' r='1'/%3E%3Ccircle cx='186' cy='155' r='0.8'/%3E%3Ccircle cx='63' cy='9' r='0.8'/%3E%3C/g%3E%3C/svg%3E");
}
/* generated — end */
html:root, html:root[data-lamp], html:root[data-scheme] {
  --pp-desk: #b98d5f; --pp-paper: #f8f3e7; --pp-card: #fcfaf3; --pp-kraft: #e4d5b3; --pp-note: #f3df8f; --pp-oat: #e9dcc3;
  --pp-ink: #2c3a55; --pp-rust: #a4542f; --pp-clay: #c98b62; --pp-moss: #6e7f4d; --pp-ochre: #b98a3a; --pp-pin: #c8423b;
  --pp-text: #2a2622; --pp-sub: #5d574c; --pp-line: rgba(58, 42, 24, .16); --pp-rule: rgba(44, 58, 85, .2);
  --sh: 0 1px 1px rgba(58, 42, 24, .2), 2px 6px 10px rgba(58, 42, 24, .24);
  --sh-s: 0 1px 1px rgba(58, 42, 24, .22), 1px 3px 5px rgba(58, 42, 24, .2);
  --night: calc(1 - var(--lamp, 1));
  /* night is the same desk under a dimmed lamp (.pp-dusk), so inks and papers keep their day values */
  --lamp-s: 1 !important; --lamp-ink: 1 !important;
  --d-re: var(--pp-rust); --d-ai: #3d5078; --d-build: var(--pp-ochre); --d-life: var(--pp-moss); --d-yellow: var(--pp-note); --d-link: #2f4a7c;
  /* lettering. hand = the fixed UI strings (tiny per-locale subset, on first paint). title = headings: system font on a
     first visit, the hand font once paper.js has cached it (html.pp-font). text = everything you read: always system. */
  --sys: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Hiragino Sans', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --wk: 'WK UI zh'; --hand: var(--wk), var(--sys); --title: var(--sys); --text: var(--sys);
  --d-marker: var(--title); --d-hand: var(--title); --d-body: var(--text);
}
html:root[lang^="en"] { --wk: 'WK UI en'; --title: 'WK UI en', var(--sys); }
html:root[lang^="ja"] { --wk: 'WK UI ja'; }
html:root.pp-font { --hand: 'WK Common', var(--wk), var(--sys); --title: 'WK Common', var(--sys); }

/* ───────── the board ───────── */
html { background: var(--pp-desk); }
html body { background: var(--cork-grain) 0 0 / 220px 220px, var(--pp-desk) !important; font-family: var(--text); letter-spacing: 0; color: var(--pp-text); }
@media (min-width: 900px) { html body { background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(42, 26, 12, .2)) fixed, var(--cork-grain) 0 0 / 220px 220px, var(--pp-desk) !important; } }
html .t-shell, html .t-main, html .d-wrap { background: none; }
html .d-rule, html .d-footer__rule, html .d-card__dot { display: none; }
html .t-shell, html .t-shell * { font-family: var(--text); }
html .t-shell pre, html .t-shell code, html .t-shell kbd { font-family: 'JetBrains Mono', ui-monospace, monospace; }
/* hand lettering: the chrome */
html .t-shell .d-header *, html .t-shell .d-hero__cta *, html .t-shell .d-cat__more, html .t-shell .d-cat__sub, html .t-shell .d-footer *, html .t-shell .t-featured__chrome, html .t-shell .t-featured__chrome *,
html .t-shell .t-btn, html .t-shell .t-post__action, html .t-shell .t-post__navlink-label, html .t-shell .comments-v2-title, html .t-shell .comments-v2-submit { font-family: var(--hand) !important; }
/* headings */
html .t-shell :is(.d-hero__title, .d-hero__title *, .d-sec__title, .d-cat__title, .d-card__title, .t-featured__title, .t-latest__title, .t-page__h1, .campaign-ad-title) { font-family: var(--title) !important; font-weight: 700 !important; }
html:is(.pp-font, [lang^="en"]) .t-shell :is(.d-hero__title, .d-sec__title, .d-cat__title, .d-card__title, .t-featured__title, .t-latest__title, .t-page__h1) { font-synthesis: none; -webkit-text-stroke: .4px currentColor; paint-order: stroke fill; }

/* kill the old doodle outlines */
html .d-pill::before, html .content-card::before, html .doodle-frame::before, html .t-latest__list::before, html .t-latest__list::after, html .t-cloud::before, html .t-cloud::after, html .comments-v2-form::before, html .t-post__related::before,
html .t-shell .d-search::before, html .t-shell .d-search::after, html .t-shell .d-auth::before, html .t-shell .t-btn::before, html .t-shell .t-btn::after, html .d-nav__item::before,
html .is-home .d-cat__head::before, html .is-home .d-cat::before, html .is-home .d-cat::after, html .is-home .d-cat__icon::before, html .is-home .d-cat__icon::after, html .is-home .d-card::after, html .is-home .d-hero::after { display: none !important; }
html .content-card { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; overflow: visible; }

/* shared pieces */
html .is-home .d-hero::before, html .is-home .d-sec::before, html .is-home .d-card::before {
  content: "" !important; display: block !important; position: absolute; inset: auto !important; top: -9px !important; left: 50% !important; margin: 0 0 0 -9px; width: 18px; height: 18px; border: 0 !important; border-radius: 50% !important; opacity: 1 !important; transform: none !important; z-index: 3;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .8) 0 12%, transparent 14%), radial-gradient(circle at 62% 70%, rgba(0, 0, 0, .3), transparent 64%), var(--pin, var(--pp-pin)); box-shadow: 2px 4px 3px rgba(40, 20, 5, .34); }
html .is-home .t-featured::after, html .is-home .t-featured > :first-child::before, html .is-home .d-hero__door::before, html .is-home .d-card:nth-child(3n+2)::before, html .article-content blockquote::after, html .d-footer::before, html .d-footer::after {
  content: "" !important; display: block !important; position: absolute; inset: auto; border: 0 !important; border-radius: 0 !important; opacity: .86 !important; box-shadow: none; z-index: 3; background: var(--tape, #e7d49b) !important;
  clip-path: polygon(0 6%, 2% 0, 4% 8%, 96% 0, 98% 9%, 100% 2%, 99% 34%, 100% 62%, 98% 100%, 3% 100%, 0 92%, 1.5% 60%, 0 30%); }

/* ───────── header: a strip of paper torn along the bottom ───────── */
html .t-shell .d-header { position: sticky; top: 0; z-index: 45; max-width: none; margin: 0; padding: 12px max(22px, calc(50vw - 560px)) 8px; border: 0; border-radius: 0; background: var(--pp-paper) !important; box-shadow: none !important; }
html .t-shell .d-header::after { content: ""; display: block; position: absolute; inset: 100% 0 auto 0; margin-top: -1px; height: 18px; z-index: 0; pointer-events: none; filter: none; -webkit-mask: none; mask: none; box-shadow: none; background: var(--edge-header) 0 0 / max(100%, 1500px) 18px no-repeat; }
html .t-shell .d-search, html .t-shell .d-auth, html .t-shell .t-btn, html .d-pill--sponsor, html .comments-v2-submit, html .d-totop, html .t-top, html .t-post__action, html .campaign-ad-cta {
  background: var(--pp-card) !important; background-image: none !important; border: 1px solid rgba(44, 58, 85, .28) !important; border-radius: 4px !important; box-shadow: 0 1px 0 rgba(58, 42, 24, .16) !important; color: var(--pp-ink) !important; font-weight: 400; transform: none; }
html .t-shell .t-btn--primary, html .d-pill--sponsor, html .comments-v2-submit:not(.comments-v2-submit--outline), html .campaign-ad-cta { background: var(--pp-note) !important; }
html .d-pill { background: none !important; border: 0 !important; box-shadow: none !important; }
html .d-nav__item { font-weight: 400; font-size: 16px; border-radius: 0; color: var(--pp-ink); }
html .d-nav__item.is-active { background: linear-gradient(var(--pp-rust), var(--pp-rust)) 50% 100% / calc(100% - 16px) 2px no-repeat; }
html .d-langs a, html .d-langs { color: var(--pp-ink); }
/* one hand for the drawings: the wordmark and the four section marks are ink line art */
html img.d-wordmark { content: url(/paper/logo-ink.svg); height: 44px; width: auto; }
html img[src*="leeguoo-icon-re"] { content: url(/paper/i-re.svg); } html img[src*="leeguoo-icon-ai"] { content: url(/paper/i-ai.svg); }
html img[src*="leeguoo-icon-build"] { content: url(/paper/i-build.svg); } html img[src*="leeguoo-icon-life"] { content: url(/paper/i-life.svg); }
html .d-nav__png { height: 20px; width: 20px; }

/* ───────── the sheet: posts and list pages ───────── */
html .t-shell:not(.is-home) .d-wrap { max-width: none; padding: 46px 20px 70px; }
html .t-shell:not(.is-home) .t-page { position: relative; max-width: 840px; margin: 0 auto; padding: 52px 64px 60px; overflow: visible; border: 0; border-radius: 3px 3px 0 0; box-shadow: var(--sh), inset 0 0 70px rgba(150, 118, 74, .1), inset 0 1px 0 rgba(255, 255, 255, .7);
  background: var(--paper-grain) 0 0 / 240px 240px, linear-gradient(180deg, #faf6ec, var(--pp-paper) 220px) , var(--pp-paper); }
/* the sheet is real paper: fibres in it, edges a little darker, torn along the foot, held by two strips of tape */
html .t-shell:not(.is-home) .t-page::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 18px; background: var(--edge-header) 30% 0 / 2000px 18px repeat-x; pointer-events: none; }
html .t-shell:not(.is-home) .t-page::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 26px; pointer-events: none; opacity: .86;
  background: linear-gradient(#e7d49b, #e7d49b) 44px 2px / 96px 22px no-repeat, linear-gradient(#a9cdb9, #a9cdb9) calc(100% - 52px) 0 / 84px 22px no-repeat; -webkit-mask: repeating-linear-gradient(90deg, #000 0 3px, rgba(0, 0, 0, .88) 3px 6px); mask: repeating-linear-gradient(90deg, #000 0 3px, rgba(0, 0, 0, .88) 3px 6px); }
html .t-shell:not(.is-home) .t-page__h1 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.3; margin: 0 0 18px; color: var(--pp-text); }
html .t-shell:not(.is-home) .t-page__lead { position: static; font-size: 17px; line-height: 1.8; color: var(--pp-sub); margin: 0 0 22px; padding: 2px 0 2px 16px; border: 0; border-left: 3px solid var(--pp-clay); border-radius: 0; background: none; box-shadow: none; transform: none; }
html .t-shell:not(.is-home) .t-page__lead::before, html .t-shell:not(.is-home) .t-page__lead::after { display: none !important; }
html .article-content { font-size: 17px; line-height: 1.9; color: var(--pp-text); }
html .t-shell .article-content h2 { font-size: 26px; font-weight: 700; margin-top: 2.2em; color: var(--pp-text); padding-bottom: 8px; background: linear-gradient(var(--pp-rust), var(--pp-rust)) 0 100% / 56px 3px no-repeat; }
html .article-content h3 { font-weight: 700; color: var(--pp-text); }
html .article-content a { color: var(--d-link); }
/* a quote is a torn kraft card under a strip of tape: the one paper object inside the column */
html .article-content blockquote { position: relative; isolation: isolate; margin: 2em 0; padding: 24px 26px 26px; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--pp-text); }
html .article-content blockquote::before { content: ""; position: absolute; inset: 0 0 -7px; z-index: -1; filter: none;
  background: var(--edge-kraft-top) 0 0 / 100% 12px no-repeat, var(--edge-kraft-foot) 0 100% / 100% 18px no-repeat, linear-gradient(var(--pp-kraft), var(--pp-kraft)) 0 11px / 100% calc(100% - 28px) no-repeat; }
html .article-content blockquote::after { top: -6px; left: 18px; width: 74px; height: 20px; transform: rotate(-5deg); --tape: #a9cdb9; }
html .article-content pre { border: 1px solid var(--pp-line) !important; border-radius: 6px !important; box-shadow: none !important; background: var(--pp-card) !important; }
html .article-content :not(pre) > code { background: rgba(243, 223, 143, .5) !important; border: 0 !important; border-radius: 3px !important; color: #7a3a1c !important; padding: .08em .32em !important; box-shadow: none !important; }
html .article-content img, html .article-content figure img { border: 1px solid var(--pp-line) !important; border-radius: 4px !important; box-shadow: none !important; box-sizing: border-box; }
html .article-content figure { border: 0; background: none; box-shadow: none; }
html .article-content table { border: 1px solid var(--pp-line); border-radius: 4px; }
html .article-content th { background: var(--pp-oat); color: var(--pp-text); font-family: var(--text); }
html .article-content td, html .article-content th { border-color: var(--pp-line); }
/* contents: an index card, straight, in the reading font */
html .t-post__toc-collapsible { position: relative; border: 0 !important; border-radius: 3px; background: var(--pp-card) !important; box-shadow: var(--sh-s); padding: 16px 18px 12px !important; transform: none; }
html .t-post__toc-collapsible::before, html .t-post__toc-collapsible::after { display: none !important; }
html .t-post__toc-collapsible summary { font: 600 14px/1.6 var(--text) !important; letter-spacing: .04em !important; color: var(--pp-text) !important; border: 0; background: none; }
html .t-post__toc-collapsible[open] summary { padding-bottom: 6px; border-bottom: 1px solid var(--pp-line); margin-bottom: 6px; }
html .t-post__toc-collapsible > div { margin-top: 0 !important; }
html .t-post__toc-item { font: 13.5px/1.5 var(--text); padding: 4px 0 4px 1.5em; text-indent: -1.5em; border: 0; color: var(--d-link); white-space: normal; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1380px) { html .t-post__toc-collapsible { position: fixed; left: calc(50% + 420px + 28px); top: 176px; width: 236px; max-height: calc(100vh - 230px); overflow-y: auto; margin: 0 !important; z-index: 2; transition: opacity .3s; }
  html.pp-done .t-post__toc-collapsible { opacity: 0; pointer-events: none; } }
html .t-post__navlink { border: 0 !important; border-radius: 3px !important; background: var(--pp-card) !important; box-shadow: var(--sh-s) !important; transform: none; }
html .comments-v2-card { border: 0 !important; }
html .comments-v2-empty { border: 1px dashed var(--pp-line) !important; border-radius: 4px !important; background: none !important; box-shadow: none !important; color: var(--pp-sub); }
html .comments-v2-item, html .comments-v2-reply-item { border: 0 !important; border-bottom: 1px solid var(--pp-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html .comments-v2-title::after { border-bottom: 1.5px solid var(--pp-rust) !important; filter: none !important; opacity: 1 !important; }
html .comments-v2-form { border: 1px solid var(--pp-line) !important; border-radius: 4px !important; padding: 16px 18px !important; background: var(--pp-card) !important; box-shadow: none !important; transform: none; }
html .comments-v2-form textarea { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 0 2px !important; font-size: 16px; line-height: 1.7 !important; }
/* list pages */
html .t-page:not(:has(.article-content)) .t-page__h1 { display: table; font-size: 38px; padding: 0 2px 4px; background: linear-gradient(var(--pp-rust), var(--pp-rust)) 0 100% / 100% 3px no-repeat; }
html .t-page:not(:has(.article-content)) .t-page__lead { border-left: 0; padding: 0 0 14px; border-bottom: 1px solid var(--pp-line); }
html .t-shell:not(.is-home) .d-sec { background: none; box-shadow: none; padding: 0; margin: 26px 0 0; }
html .t-shell:not(.is-home) .d-sec__head { border-bottom: 1.5px solid var(--pp-rust); padding-bottom: 4px; }
html .t-latest__list, html .t-cloud { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; gap: 0 !important; }
html .t-latest__row { border: 0 !important; border-bottom: 1px solid var(--pp-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html .t-latest__row:last-child { border-bottom: 0 !important; }
html .t-latest__title { color: var(--d-link); }
html .t-cloud { display: flex; flex-wrap: wrap; gap: 12px 14px !important; padding: 8px 0 !important; align-items: center; }
html .t-cloud:not(.fx-globe) .t-cloud__item { position: relative; padding: 6px 14px 6px 28px; background: radial-gradient(circle at 13px 50%, var(--pp-paper) 0 3.6px, transparent 4.2px), var(--pp-kraft); color: var(--pp-text); box-shadow: none; filter: drop-shadow(0 1px 1px rgba(58, 42, 24, .28)); text-decoration: none; transform: none; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 70%, 0 30%); }

/* ───────── standalone pages: contact, privacy, terms and search are built by Astro (TerminalShell.astro, marked with
   data-path), with a wrapper of their own. Each is a different piece of paper. ───────── */
html .t-shell[data-path] .t-post { max-width: none; margin: 0; padding: 0; }
html .t-shell[data-path] .t-post__article { position: relative; max-width: 780px !important; margin: 0 auto; padding: 50px 64px 58px; background: var(--paper-grain) 0 0 / 240px 240px, var(--pp-paper); border-radius: 3px; box-shadow: var(--sh), inset 0 0 70px rgba(150, 118, 74, .1); }
html .t-shell[data-path] .t-breadcrumb, html .t-shell[data-path] .t-post__metaline { font-family: var(--hand); font-size: 14.5px; color: var(--pp-sub); letter-spacing: .03em; }
html .t-shell[data-path] .t-breadcrumb a { color: var(--pp-ink); }
html .t-shell[data-path] .t-post__title { font-family: var(--title); font-size: clamp(30px, 3.3vw, 42px); line-height: 1.3; margin: 10px 0 14px; color: var(--pp-text); }
html .t-shell[data-path] .t-tag { display: inline-block; padding: 3px 10px; border: 0; border-radius: 2px; background: var(--pp-kraft); color: var(--pp-ink); font-family: var(--hand); font-size: 14px; box-shadow: var(--sh-s); transform: rotate(-1.5deg); }
html .t-shell[data-path] .t-post__lede { font-size: 17px; line-height: 1.8; color: var(--pp-sub); margin: 0 0 22px; padding: 2px 0 2px 16px; border-left: 3px solid var(--pp-clay); }
/* these sheets carry something of their own in the top corner, so the readers stamp goes at the foot */
html .t-shell[data-path] .t-post__article .pp-views.is-corner { top: auto; bottom: 14px; left: auto; right: 20px; }
/* contact: an airmail postcard, with a stamp and a postmark */
html .t-shell[data-path*="/pages/contact/"] .t-post__article { border: 11px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--pp-rust) 0 13px, var(--pp-paper) 13px 26px, var(--pp-ink) 26px 39px, var(--pp-paper) 39px 52px) 11; padding: 40px 54px 48px; transform: rotate(-.5deg); }
html .t-shell[data-path*="/pages/contact/"] .t-post__article::after { content: ""; position: absolute; top: 26px; right: 30px; width: 74px; height: 90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='90'%3E%3Crect x='2' y='2' width='70' height='86' fill='%23fbf7ee'/%3E%3Crect x='1' y='1' width='72' height='88' fill='none' stroke='%23b98d5f' stroke-width='4' stroke-dasharray='.1 6' stroke-linecap='round'/%3E%3Crect x='9' y='9' width='56' height='58' fill='%232c3a55'/%3E%3Crect x='20' y='26' width='34' height='24' rx='2' fill='%23f6ecd8'/%3E%3Cpath d='M20 27l17 13l17-13' fill='none' stroke='%232c3a55' stroke-width='2'/%3E%3Ctext x='37' y='81' text-anchor='middle' font-family='ui-monospace,Menlo,monospace' font-size='9' fill='%235a5048' letter-spacing='1'%3Epar avion%3C/text%3E%3C/svg%3E") no-repeat; transform: rotate(4deg); filter: drop-shadow(1px 2px 2px rgba(58, 42, 24, .3)); }
html .t-shell[data-path*="/pages/contact/"] .t-post__article::before { content: ""; position: absolute; top: 48px; right: 76px; width: 150px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='64' fill='none' stroke='%233a3f55' stroke-width='1.5' opacity='.5'%3E%3Ccircle cx='32' cy='32' r='28'/%3E%3Ccircle cx='32' cy='32' r='21'/%3E%3Cpath d='M64 22q11-8 22 0t22 0t22 0t18 0M64 34q11-8 22 0t22 0t22 0t18 0M64 46q11-8 22 0t22 0t22 0t18 0'/%3E%3C/svg%3E") no-repeat; transform: rotate(-9deg); z-index: 1; pointer-events: none; }
html .t-shell[data-path*="/pages/contact/"] .t-post__title { padding-right: 190px; }
html .t-shell[data-path*="/pages/contact/"] .article-content li { padding: 6px 0; border-bottom: 1.5px dotted rgba(44, 58, 85, .35); }
/* privacy and terms: a filed sheet, punched for a binder and stamped */
html .t-shell[data-path*="/pages/privacy/"] .t-post__article, html .t-shell[data-path*="/pages/terms/"] .t-post__article { padding-left: 104px;
  background: radial-gradient(circle at 40px 16%, var(--pp-desk) 0 9px, rgba(58, 42, 24, .35) 9.5px 10.5px, transparent 11px), radial-gradient(circle at 40px 50%, var(--pp-desk) 0 9px, rgba(58, 42, 24, .35) 9.5px 10.5px, transparent 11px), radial-gradient(circle at 40px 84%, var(--pp-desk) 0 9px, rgba(58, 42, 24, .35) 9.5px 10.5px, transparent 11px), linear-gradient(90deg, transparent 77px, rgba(164, 84, 47, .45) 77px 78.5px, transparent 78.5px), var(--pp-paper); }
html .t-shell[data-path*="/pages/privacy/"] .t-post__article::after, html .t-shell[data-path*="/pages/terms/"] .t-post__article::after { content: "PRIVACY · ON FILE"; position: absolute; top: 40px; right: 36px; padding: 7px 14px 6px; border: 2px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px; border-radius: 5px; color: var(--pp-rust); font: 700 14px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; transform: rotate(-7deg); opacity: .72; mix-blend-mode: multiply; pointer-events: none; }
html .t-shell[data-path*="/pages/terms/"] .t-post__article::after { content: "TERMS · ON FILE"; }
html .t-shell[data-path*="/pages/privacy/"] .t-post__title, html .t-shell[data-path*="/pages/terms/"] .t-post__title { padding-right: 200px; }
/* search: an index card with a paperclip */
html .t-shell[data-path$="/search/"] .t-page { background: linear-gradient(#d49a8a, #d49a8a) 0 132px / 100% 1.5px no-repeat, repeating-linear-gradient(transparent 0 33px, rgba(140, 176, 206, .38) 33px 34px) 0 132px, var(--pp-paper); }
html .t-shell[data-path$="/search/"] .t-page::before { content: ""; position: absolute; top: -22px; left: 46px; width: 34px; height: 78px; right: auto; opacity: 1; -webkit-mask: none; mask: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='78'%3E%3Cpath d='M17 8v50a8 8 0 0 0 16 0v-44a12 12 0 0 0-24 0v40' fill='none' stroke='%239aa3ab' stroke-width='2.6' stroke-linecap='round' transform='translate(-4 4)'/%3E%3C/svg%3E") no-repeat; transform: rotate(5deg); }
html .t-shell[data-path$="/search/"] .t-search__input { border: 0; border-bottom: 2px solid var(--pp-ink); border-radius: 0; background: transparent; box-shadow: none; }
html .t-shell[data-path$="/search/"] .t-search__field { font-family: var(--hand); font-size: 20px; color: var(--pp-text); background: transparent; }
html .t-shell[data-path$="/search/"] .t-search__panel, html .t-shell[data-path$="/search/"] .t-search__recent { background: transparent; border: 0; box-shadow: none; }
html .t-shell[data-path$="/search/"] .t-search__recent { display: inline-flex; gap: 6px; margin: 4px 8px 4px 0; padding: 5px 12px; background: var(--pp-note); border-radius: 2px; box-shadow: var(--sh-s); font-family: var(--hand); cursor: pointer; }
html .t-shell[data-path$="/search/"] .t-search__recent:nth-child(odd) { transform: rotate(-1.4deg); } html .t-shell[data-path$="/search/"] .t-search__recent:nth-child(even) { transform: rotate(1deg); }
@media (max-width: 760px) {
  html .t-shell[data-path] .t-post__article { padding: 28px 18px 36px; }
  html .t-shell[data-path*="/pages/contact/"] .t-post__article { padding: 22px 14px 28px; border-width: 8px; }
  html .t-shell[data-path*="/pages/contact/"] .t-post__article::after { top: 12px; right: 12px; width: 52px; height: 63px; background-size: 100% 100%; } html .t-shell[data-path*="/pages/contact/"] .t-post__article::before { display: none; }
  html .t-shell[data-path*="/pages/contact/"] .t-post__title { padding-right: 62px; }
  html .t-shell[data-path*="/pages/privacy/"] .t-post__article, html .t-shell[data-path*="/pages/terms/"] .t-post__article { padding-left: 46px; background-position: -20px 0, -20px 0, -20px 0, -42px 0, 0 0; }
  html .t-shell[data-path*="/pages/privacy/"] .t-post__article::after, html .t-shell[data-path*="/pages/terms/"] .t-post__article::after { top: 8px; right: 10px; font-size: 10px; padding: 4px 8px; }
  html .t-shell[data-path*="/pages/privacy/"] .t-post__title, html .t-shell[data-path*="/pages/terms/"] .t-post__title { padding-right: 0; margin-top: 26px; }
}

/* ───────── home ───────── */
html .is-home .d-wrap { max-width: 1120px; padding-top: 50px; }
html .is-home .d-hero { position: relative; isolation: auto; padding: 34px 50px 36px; margin-bottom: 52px; border: 0; border-radius: 3px; background: var(--pp-paper) !important; box-shadow: var(--sh) !important; transform: rotate(-.4deg); }
html .is-home .d-hero__title { letter-spacing: .01em; color: var(--pp-text); }
html .is-home .d-hl { background: linear-gradient(transparent 56%, rgba(243, 223, 143, .9) 56% 92%, transparent 92%); border-radius: 0; box-shadow: none; padding: 0 .12em; }
html .is-home .d-hero__squiggle { color: var(--pp-rust); }
/* the photo on the note: ship 42 coming in to the tower arms */
html .is-home .d-hero__door { position: relative; padding: 12px 12px 44px; border-radius: 2px; transform: rotate(2.5deg); box-shadow: var(--sh) !important; background: url(/paper/ship-flat.svg) center 12px / calc(100% - 24px) auto no-repeat, #fdfbf4 !important; }
html .is-home .d-hero__door svg { visibility: hidden; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
html .is-home .d-hero__door::after { content: "ship 42 · caught"; position: absolute; left: 0; right: 0; bottom: 11px; text-align: center; font: 18px/1 var(--hand); color: var(--pp-ink); letter-spacing: .06em; }
html .is-home .d-hero__door::before { top: -11px; left: 50%; margin-left: -46px; width: 92px; height: 23px; transform: rotate(-4deg); --tape: #a9cdb9; }
@media (min-width: 900px) { html .is-home .d-hero__title { font-size: 44px; white-space: nowrap; } html[lang^="ja"] .is-home .d-hero__title { font-size: 34px; white-space: normal; } html .is-home .d-hero__door { max-width: 300px; } }

html .is-home .t-featured { position: relative; isolation: isolate; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: rotate(.35deg); margin: 0 6px 56px; padding: 22px 30px 30px; }
html .is-home .t-featured::before { content: "" !important; display: block !important; position: absolute; inset: 0 0 -7px !important; z-index: -1; border: 0 !important; opacity: 1 !important; transform: none !important; border-radius: 0 !important; filter: none;
  background: var(--edge-kraft-top) 0 0 / 100% 12px no-repeat, var(--edge-kraft-foot) 0 100% / 100% 18px no-repeat, linear-gradient(var(--pp-kraft), var(--pp-kraft)) 0 11px / 100% calc(100% - 28px) no-repeat !important; }
html .is-home .t-featured::after { top: -4px; right: 34px; left: auto; width: 84px; height: 22px; transform: rotate(4deg); }
html .is-home .t-featured > :first-child { position: relative; }
html .is-home .t-featured > :first-child::before { top: -27px; left: 6px; width: 84px; height: 22px; transform: rotate(-5deg); }
html .is-home .t-featured__star { color: var(--pp-rust); }

html .is-home .d-sec { position: relative; isolation: auto; padding: 26px 40px 18px; margin-bottom: 60px; border: 0; border-radius: 3px; background: var(--pp-card) !important; box-shadow: var(--sh) !important; transform: rotate(.25deg); }
html .is-home .d-sec::before { left: 62px !important; --pin: var(--pp-ochre); }
html .is-home .d-sec::after { display: none !important; }
html .is-home .d-sec__head { border-bottom: 1.5px solid var(--pp-rust); padding-bottom: 6px; margin-bottom: 4px; }

html .is-home .d-cat { position: relative; background: none; box-shadow: none; padding: 0; margin-bottom: 62px; border: 0 !important; }
html .is-home .d-cat--re { --pin: var(--pp-rust); --note: #f3e2d8; } html .is-home .d-cat--ai { --pin: #3d5078; --note: #e0e6f0; } html .is-home .d-cat--build { --pin: var(--pp-ochre); --note: #f4e9c6; } html .is-home .d-cat--life { --pin: var(--pp-moss); --note: #e4ead6; }
/* a section is a ticket stub */
html .is-home .d-cat__head { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 28px; margin: 0 0 26px 6px; background: var(--pin); box-shadow: none; filter: drop-shadow(1px 3px 3px rgba(58, 42, 24, .3)); border: 0; transform: rotate(-1.5deg);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 9px, #000 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 9.5px) right / 51% 100% no-repeat; mask: radial-gradient(circle at 0 50%, transparent 9px, #000 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 9.5px) right / 51% 100% no-repeat; }
html .is-home .d-cat__title { color: #fbf5e6 !important; font-size: 24px; } html .is-home .d-cat__sub { color: rgba(251, 245, 230, .8) !important; }
html .is-home .d-cat__more { margin-left: 18px; color: #fbf5e6 !important; border-left: 1.5px dashed rgba(251, 245, 230, .55); padding-left: 16px; }
html .is-home .d-cat__icon { width: 46px; height: 46px; display: grid; place-items: center; background: #fbf5e6 !important; border: 0 !important; border-radius: 3px !important; box-shadow: none !important; transform: rotate(-3deg); }
html .is-home .d-cat__icon img { height: 30px; width: 30px; }
html .is-home .d-cards { background: none; border: 0; box-shadow: none; gap: 32px; padding: 0 4px; }
html .is-home .d-card { position: relative; isolation: auto; border: 0 !important; border-radius: 3px !important; padding: 26px 22px 22px !important; background: var(--pp-card) !important; box-shadow: var(--sh) !important; filter: none; }
html .is-home .d-card:nth-child(3n+1) { transform: rotate(-1deg); background: var(--note) !important; }
html .is-home .d-card:nth-child(3n+2) { transform: rotate(.7deg) translateY(6px); }
html .is-home .d-card:nth-child(3n) { transform: rotate(-.4deg) translateY(-3px); }
html .is-home .d-card:hover { transform: translateY(-3px) rotate(0); transition: transform .18s; z-index: 2; }
html .is-home .d-card:nth-child(3n+2)::before { top: -10px !important; left: 50% !important; margin: 0 0 0 -40px; width: 80px; height: 21px; transform: rotate(-3deg) !important; --tape: color-mix(in oklab, var(--pin) 34%, #f3ead2); }
html .is-home .d-card > .d-card__meta::after { display: none !important; }
html .is-home .d-card__title { font-size: 18px; line-height: 1.45; color: var(--pp-text); }
html .is-home .d-card__date { color: var(--pin); }
html .campaign-ad-slot { border: 1px dashed rgba(44, 58, 85, .4) !important; border-radius: 4px !important; background: var(--pp-card) !important; box-shadow: none !important; }
html .campaign-ad-slot::before, html .campaign-ad-slot::after { display: none !important; }

html .d-footer { position: relative; max-width: 1040px; margin: 34px auto 50px; padding: 24px 32px; border: 0; border-radius: 3px; background: var(--pp-paper) !important; box-shadow: var(--sh) !important; transform: rotate(.3deg); }
html .d-footer::before, html .d-footer::after { top: -9px; width: 86px; height: 22px; --tape: #a9cdb9; }
html .d-footer::before { left: 30px; transform: rotate(-4deg); } html .d-footer::after { right: 30px; transform: rotate(3deg); }

/* play:start — from here to play:end is also written to paper-play.css for the leeguoo.com landing (node scripts/build-paper-play.mjs) */
:root { --pp-play: 1; }
/* ───────── night: the lamp turned down. A warm pool in the middle, the corners fall dark ───────── */
.pp-dusk { position: fixed; inset: 0; z-index: 2000; pointer-events: none; mix-blend-mode: multiply; opacity: var(--night);
  background: radial-gradient(110vmax 110vmax at 50% 30%, rgba(255, 206, 150, 0) 0 20%, rgba(128, 88, 62, .5) 52%, rgba(40, 26, 30, .9) 86%), rgba(118, 92, 78, .46); }
@media (max-width: 760px) { .pp-dusk { background: radial-gradient(150vmax 150vmax at 50% 30%, rgba(255, 206, 150, 0) 0 30%, rgba(60, 40, 40, .6) 90%), rgba(118, 92, 78, .5); } }

/* ───────── scraps on the cork (added by paper.js, wide screens only) ───────── */
.pp-band { position: absolute; top: 168px; z-index: 0; pointer-events: none; user-select: none; }
.pp-sticker, .pp-on { display: none !important; }   /* pieces of the previous look, if an old script is still cached */
.pp-band { overflow: hidden; overflow: clip visible; }
.pp-band svg { display: block; height: auto; overflow: visible; }
.pp-band .hand { font-family: var(--hand); } .pp-band .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
/* air and life: a gust shows as a few faint streaks and a shiver in the lights; the gecko walks the cork */
.pp-band .cap, .pp-inline .cap { font-family: var(--wk), 'WK Wall', var(--sys); } .pp-inline .hand { font-family: var(--hand); }
/* no room beside the content: wall photos sit between sections */
.pp-inline { width: min(46vw, 196px); margin: 4px 0 30px 8%; user-select: none; } .pp-inline.is-r { margin-left: auto; margin-right: 8%; }
.pp-inline svg { display: block; width: 100%; height: auto; overflow: visible; }
.pp-inline .pp-obj, .pp-obj[data-k^="ph-"] { cursor: zoom-in; } .pp-inline .pp-obj { touch-action: auto; }
/* a wall photo, large */
.pp-zoom { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; background: rgba(38, 26, 16, .62); cursor: zoom-out; animation: pp-fade .18s ease-out; transition: opacity .18s; }
.pp-zoom.is-out { opacity: 0; }
.pp-zoom figure { margin: 0; padding: 16px 16px 0; background: #fbf8f1; border-radius: 2px; box-shadow: 0 2px 3px rgba(40, 20, 5, .3), 6px 18px 30px rgba(40, 20, 5, .42); transform: rotate(-1.5deg); animation: pp-pop .3s cubic-bezier(.2, 1.3, .4, 1); }
.pp-zoom img { display: block; width: min(84vw, 460px, calc(66vh * var(--ar, 1))); aspect-ratio: var(--ar, 1); object-fit: cover; background: #e9dcc3; }
.pp-zoom figcaption { padding: 15px 0 18px; text-align: center; font-size: 24px; line-height: 1; color: #2c3a55; font-family: var(--wk), 'WK Wall', var(--sys); }
@keyframes pp-fade { from { opacity: 0; } } @keyframes pp-pop { from { transform: scale(.6) rotate(-7deg); opacity: 0; } }
.pp-gust { position: fixed; inset: 0; z-index: 1999; pointer-events: none; overflow: hidden; }
.pp-gust i { position: absolute; left: -30vw; width: 26vw; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 250, 235, .55), transparent); animation: pp-streak 1.15s ease-in forwards; }
.pp-gust i:nth-child(1) { top: 22%; } .pp-gust i:nth-child(2) { top: 37%; animation-delay: .12s; width: 18vw; } .pp-gust i:nth-child(3) { top: 55%; animation-delay: .05s; } .pp-gust i:nth-child(4) { top: 71%; animation-delay: .2s; width: 20vw; } .pp-gust i:nth-child(5) { top: 86%; animation-delay: .1s; width: 14vw; }
.pp-gust.is-back { transform: scaleX(-1); }
@keyframes pp-streak { from { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateX(160vw); opacity: 0; } }
.pp-lights.is-gust svg { animation: pp-shiver .9s ease-out; transform-origin: 50% 0; }
@keyframes pp-shiver { 0%, 100% { transform: none; } 25% { transform: skewX(-5deg); } 60% { transform: skewX(3deg); } 82% { transform: skewX(-1deg); } }
html .is-home .d-hero__door.is-gust { animation: pp-flap 1s ease-out; }
figure.shot.is-gust { animation: pp-flap2 1s ease-out; }
@keyframes pp-flap2 { 0%, 100% { transform: rotate(1.4deg); } 25% { transform: rotate(3.4deg); } 55% { transform: rotate(.4deg); } 80% { transform: rotate(1.9deg); } }
@keyframes pp-flap { 0%, 100% { transform: rotate(2.5deg); } 25% { transform: rotate(4.6deg); } 55% { transform: rotate(1.4deg); } 80% { transform: rotate(3deg); } }
.pp-gecko { position: absolute; left: -22px; top: -46px; width: 44px; height: 76px; z-index: 1; cursor: pointer; will-change: transform; filter: drop-shadow(1px 2px 1.5px rgba(40, 20, 5, .4)); -webkit-tap-highlight-color: transparent; }
.pp-gecko.is-small { left: -13px; top: -28px; width: 27px; height: 47px; }
.pp-gecko.is-flick .tl { animation: pp-flick .8s ease-in-out; transform-origin: 0 24px; }
@keyframes pp-flick { 0%, 100% { transform: none; } 20% { transform: rotate(24deg); } 45% { transform: rotate(-19deg); } 70% { transform: rotate(10deg); } }
.pp-gecko svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pp-gecko .l1, .pp-gecko .l2, .pp-gecko .tl { transform-box: view-box; transform-origin: 0 8px; }
.pp-gecko.is-walk .l1 { animation: pp-leg .3s ease-in-out infinite alternate; } .pp-gecko.is-walk .l2 { animation: pp-leg .3s ease-in-out infinite alternate-reverse; }
.pp-gecko.is-walk .tl { animation: pp-tail .6s ease-in-out infinite alternate; transform-origin: 0 24px; }
.pp-gecko.is-run .l1, .pp-gecko.is-run .l2 { animation-duration: .11s; } .pp-gecko.is-run .tl { animation-duration: .22s; }
@keyframes pp-leg { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes pp-tail { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
/* play: scraps can be picked up and moved; some answer a tap */
.pp-obj { pointer-events: auto; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.pp-obj.is-held { cursor: grabbing; filter: drop-shadow(3px 9px 6px rgba(58, 42, 24, .3)); }
.pp-obj[data-k^="st-"], .pp-obj[data-k="sticky"], .pp-obj[data-k="ticket"], .pp-chk { cursor: pointer; }
.pp-chk .tick { visibility: hidden; } .pp-chk.on .tick { visibility: visible; }
.pp-hint { pointer-events: none; animation: pp-hint 2.4s ease-in-out infinite; }
@keyframes pp-hint { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
.pp-lights .pp-bulb { pointer-events: auto; cursor: pointer; }
.pp-lights .pp-bulb.on .glow { opacity: 1; } .pp-lights .pp-bulb.on .bulb { fill: var(--c, #ffd98f); }
.pp-cord { position: fixed; right: calc(max(22px, 50vw - 560px) - 22px); z-index: 2001; width: 64px; height: 128px; cursor: pointer; -webkit-tap-highlight-color: transparent; transform-origin: 50% 0; }
@media (max-width: 760px) { .pp-cord { width: 40px; height: 80px; right: 0; } }   /* a phone has no margin for it: smaller, at the very edge */
.pp-cord.is-solo { right: auto; left: max(14px, calc(50vw - 604px)); }
.pp-cord svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pp-cord .halo { opacity: var(--night); pointer-events: none; }
.pp-cord .glass { fill: color-mix(in oklab, #ffe7a6 calc(var(--night) * 100%), #e9e4d6); fill-opacity: calc(.5 + var(--night) * .45); stroke: #a79f8d; stroke-width: 1; }
.pp-cord .stem { stroke: #8f8676; stroke-width: 1; } .pp-cord .fil { stroke: color-mix(in oklab, #fffbe0 calc(var(--night) * 100%), #6b6257); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pp-cord.is-pull .pull { animation: pp-pull .45s ease-out; }
.pp-cord:hover { animation: pp-swing 1.1s ease-in-out; }
@keyframes pp-pull { 0% { transform: none; } 35% { transform: translateY(16px); } 70% { transform: translateY(-3px); } 100% { transform: none; } }
@keyframes pp-swing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(7deg); } 65% { transform: rotate(-5deg); } }
html .is-home .d-hero__door.is-play { cursor: pointer; background: #fdfbf4 !important; -webkit-tap-highlight-color: transparent; transition: transform .2s; }
html .is-home .d-hero__door.is-play:not(.is-busy):hover { transform: rotate(1deg) scale(1.02); }
html .is-home .d-hero__door svg.pp-ship { visibility: visible; overflow: hidden; }
html .is-home .d-card:hover::before { animation: pp-swing .5s ease-out; transform-origin: 50% 100%; }
.pp-sway { transform-box: fill-box; transform-origin: 50% 0; animation: pp-sway 7s ease-in-out infinite alternate; }
@keyframes pp-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
/* the string of lights hangs under the header over both margins, and comes on as the lamp goes down */
/* The lamp and the lights hang from the header, which sticks to the top of the window, so they are fixed too. The elastic
   pull-down at the top of the page would drag the header away from them, so the page does not bounce. */
html { overscroll-behavior-y: none; }
.pp-lights { position: fixed; top: var(--pp-hdr, 118px); z-index: 2001; pointer-events: none; height: 96px; }
.pp-lights svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pp-lights .wire { fill: none; stroke: #6f5333; stroke-width: 2.8; stroke-linecap: round; } .pp-lights .twist { fill: none; stroke: #d6b98a; stroke-width: 1.1; stroke-dasharray: 2.4 3.2; }
.pp-lights .drop { stroke: #6f5333; stroke-width: 1.8; } .pp-lights .knot { fill: #6f5333; } .pp-lights .cap { fill: #3d362f; } .pp-lights .rib { stroke: #7d7265; stroke-width: .8; fill: none; }
.pp-lights .bulb { fill: color-mix(in oklab, var(--c, #ffd98f) calc(30% + var(--night) * 70%), #f1ead6); }
.pp-lights .glow { opacity: var(--night); } .pp-lights .glow circle { animation: pp-twinkle 4.3s ease-in-out infinite; }
.pp-lights .b1 circle { animation-duration: 3.1s; } .pp-lights .b2 circle { animation-duration: 5.7s; } .pp-lights .b3 circle { animation-duration: 7.9s; }
@keyframes pp-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
/* readers: an ink stamp on the page, its numbers rolled in like a counter. It replaces the plain "UV · PV" lines that only
   the owner used to see; signed in as the owner, the stamp opens that page's analytics. */
html .t-shell [data-traffic-path], html .t-shell [data-traffic-total] { display: none !important; }
.pp-views.is-link { pointer-events: auto; cursor: pointer; }
.pp-views { position: absolute; right: 0; top: 50%; display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 11px 4px; border: 1.6px solid currentColor; border-radius: 5px; outline: 1px solid currentColor; outline-offset: 2px;
  color: var(--pp-rust); font: 400 13px/1.2 var(--hand); letter-spacing: .05em; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(1.6); mix-blend-mode: multiply; }
.pp-views.is-in { opacity: .84; transform: translateY(-50%) rotate(-3deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), opacity .14s; }
.pp-views.is-corner { top: 14px; right: 18px; transform: rotate(4deg) scale(1.6); } .pp-views.is-corner.is-in { transform: rotate(4deg); }
.pp-views .n { display: inline-flex; font-size: 16.5px; } .pp-views .n i { font-style: normal; }
.pp-views .d { display: inline-block; height: 1.2em; overflow: hidden; }
.pp-views .d > span { display: block; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.3s + var(--i) * .08s); }
.pp-views.is-in .d > span { transform: translateY(calc(var(--n) * -10%)); }
@media (max-width: 760px) { .pp-views.is-corner { top: 4px; right: auto; left: 12px; transform-origin: 0 50%; padding: 2px 8px 1px; font-size: 11.5px; outline-offset: 1.5px; } .pp-views .n { font-size: 13.5px; } .is-home .pp-views.is-corner { top: auto; bottom: 5px; left: auto; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .pp-views, .pp-views.is-in, .pp-views .d > span { transition: none; } }
/* night life: the gecko stays visible above the dimmed lamp, and fireflies come out */
/* the torch: a pool of light around the pointer, cut out of the dimmed-lamp layer */
html[data-scheme="night"] .pp-dusk { -webkit-mask-image: radial-gradient(circle at var(--mx, -999px) var(--my, -999px), transparent 0 64px, rgba(0, 0, 0, .5) 120px, #000 185px); mask-image: radial-gradient(circle at var(--mx, -999px) var(--my, -999px), transparent 0 64px, rgba(0, 0, 0, .5) 120px, #000 185px); }
/* the gecko hides in the dark: only its eyes show until the torch finds it. Found, it freezes and shakes */
.pp-eyes { position: absolute; left: 0; top: -8px; width: 0; height: 0; z-index: 2001; pointer-events: none; visibility: hidden; }
html[data-scheme="night"] .pp-eyes { visibility: visible; }
.pp-eyes.is-small { top: -4.5px; }
.pp-eyes i { position: absolute; top: -30.6px; left: -5.4px; width: 3.2px; height: 3.2px; border-radius: 50%; background: #eaffb4; box-shadow: 0 0 4px 1px rgba(214, 255, 130, .85); transition: transform .12s; }
.pp-eyes i + i { left: 2.2px; } .pp-eyes.is-caught i { transform: scale(1.9); }
.pp-eyes b { position: absolute; left: 9px; top: -58px; font: 700 20px/1 var(--hand); color: #ffe27a; text-shadow: 0 0 6px rgba(255, 200, 80, .8); opacity: 0; }
.pp-eyes.is-caught b { opacity: 1; animation: pp-pop .25s cubic-bezier(.2, 1.4, .4, 1); }
.pp-gecko.is-caught svg { animation: pp-shake .16s linear infinite; }
@keyframes pp-shake { 0%, 100% { transform: translateX(-.7px); } 50% { transform: translateX(.7px); } }
/* night-only things to find: the cat asleep on the cork, a moth */
.pp-secret { position: absolute; z-index: 1; display: none; pointer-events: none; }
html[data-scheme="night"] .pp-secret { display: block; }
.pp-secret svg { display: block; overflow: visible; }
.pp-secret--cat { width: 86px; margin: -30px 0 0 -43px; } .pp-secret--cat .open { visibility: hidden; }
.pp-secret--cat.is-found .open { visibility: visible; } .pp-secret--cat.is-found .shut { visibility: hidden; }
.pp-secret--cat em { position: absolute; left: 2px; top: -16px; font: 400 15px/1 var(--hand); color: #2c3a55; opacity: 0; }
html:not([data-scheme="night"]) .pp-secret--cat.is-tame { display: block; filter: drop-shadow(1px 3px 2px rgba(58, 42, 24, .35)); }
html:not([data-scheme="night"]) .pp-secret--cat.is-tame:not(.is-found) em { animation: pp-zz 2.8s ease-in-out infinite; }
html:not([data-scheme="night"]) .pp-secret--cat.is-tame b { color: #2c3a55; }
@keyframes pp-zz { 0% { opacity: 0; transform: translate(0, 4px) scale(.7); } 40% { opacity: .9; } 100% { opacity: 0; transform: translate(-10px, -16px) scale(1.15); } }
/* a strong gust takes the sticky note off its clip; a tap pins it back */
.pp-obj[data-k="sticky"] .pp-sw { transition: translate .5s cubic-bezier(.3, 1.4, .5, 1); }
.pp-obj[data-k="sticky"].is-fallen .pp-sw { translate: 16px 236px; transition: translate .95s cubic-bezier(.55, 0, .85, .55); }
.pp-obj[data-k="sticky"].is-fallen { cursor: pointer; }
/* every bulb on at night: a shooting star */
.pp-meteor { position: fixed; inset: 0; z-index: 2001; pointer-events: none; overflow: hidden; }
.pp-meteor i { position: absolute; right: -10vw; top: 6vh; width: 26vw; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #fff, rgba(255, 244, 200, .6) 18%, transparent); box-shadow: 0 0 8px 1px rgba(255, 244, 200, .5); transform-origin: 0 50%; animation: pp-meteor 1.5s ease-in forwards; }
@keyframes pp-meteor { from { transform: translate(0, 0) rotate(-18deg); opacity: 0; } 12% { opacity: 1; } to { transform: translate(-105vw, 34vh) rotate(-18deg); opacity: 0; } }
.pp-secret--cat b { position: absolute; left: 6px; top: -22px; font: 700 17px/1 var(--sys); color: #ffe9a6; opacity: 0; transform: rotate(-8deg); z-index: 2; }
.pp-secret--cat.is-found b { opacity: 1; animation: pp-pop .25s cubic-bezier(.2, 1.4, .4, 1); }
.pp-secret--moth { width: 40px; margin: -14px 0 0 -20px; transform: rotate(18deg); }
.pp-secret--moth.is-found { animation: pp-moth 2.4s ease-in forwards; } .pp-secret--moth.is-found .wl, .pp-secret--moth.is-found .wr { animation: pp-flap3 .09s linear infinite alternate; transform-origin: 0 0; }
@keyframes pp-moth { 0% { transform: rotate(18deg); } 30% { transform: translate(26px, -60px) rotate(-12deg); } 60% { transform: translate(-18px, -150px) rotate(20deg); } 100% { transform: translate(34px, -300px) rotate(-6deg); opacity: 0; } }
@keyframes pp-flap3 { from { transform: scaleX(1); } to { transform: scaleX(.35); } }
.pp-tally { position: fixed; left: 18px; bottom: 16px; z-index: 2001; pointer-events: none; display: none; padding: 6px 12px; border-radius: 3px; background: #f3df8f; color: #2c3a55; font: 400 15px/1 var(--hand); letter-spacing: .04em; transform: rotate(-3deg); box-shadow: 1px 3px 5px rgba(20, 10, 0, .4); }
html[data-scheme="night"] .pp-tally { display: block; } .pp-tally.is-pop { animation: pp-pop .3s cubic-bezier(.2, 1.4, .4, 1); }
.pp-flies.is-party i { animation-duration: 2.6s; } .pp-flies.is-party b { animation-duration: .7s; box-shadow: 0 0 9px 5px rgba(214, 255, 120, .9), 0 0 26px 12px rgba(190, 240, 90, .4); }
.pp-flies { position: fixed; inset: 0; z-index: 2001; pointer-events: none; overflow: hidden; display: none; }
html[data-scheme="night"] .pp-flies { display: block; opacity: clamp(0, calc(var(--night) * 2.5 - 1.5), 1); }
.pp-flies i { position: absolute; width: 0; height: 0; animation: pp-fly var(--t, 12s) ease-in-out var(--d, 0s) infinite alternate; }
.pp-flies b { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #f4ffb0; box-shadow: 0 0 6px 3px rgba(214, 255, 120, .75), 0 0 18px 8px rgba(190, 240, 90, .28); animation: pp-glim var(--b, 3s) ease-in-out var(--d, 0s) infinite; }
@keyframes pp-fly { 0% { transform: translate(0, 0); } 35% { transform: translate(calc(var(--dx) * .6), calc(var(--dy) * -.5)); } 70% { transform: translate(calc(var(--dx) * -.3), var(--dy)); } 100% { transform: translate(var(--dx), calc(var(--dy) * .4)); } }
@keyframes pp-glim { 0%, 100% { opacity: .05; transform: scale(.6); } 40%, 60% { opacity: 1; transform: none; } }
/* reading pencil: wears down as you read */
.pp-pencil { position: fixed; left: calc(50% - 420px - 232px); bottom: 56px; width: 196px; z-index: 2; pointer-events: none; transition: opacity .3s; }
.pp-pencil b { display: inline-block; font: 400 15px/1 var(--hand); color: var(--pp-ink); background: var(--pp-card); padding: 5px 8px; margin: 0 0 9px 20px; border-radius: 2px; box-shadow: var(--sh-s); letter-spacing: .04em; }
.pp-pencil i { display: block; height: 14px; width: calc(52px + var(--left, 1) * 136px); filter: drop-shadow(1px 3px 2px rgba(58, 42, 24, .34));
  background: linear-gradient(90deg, #2c3a55 0 5px, #ead2a8 5px 20px, transparent 20px), linear-gradient(270deg, #c98b62 0 14px, #cfcabd 14px 22px, transparent 22px), linear-gradient(#edc45c 0 33%, #e0b246 33% 66%, #cf9f38 66%);
  clip-path: polygon(0 50%, 20px 0, 100% 0, 100% 100%, 20px 100%); border-radius: 0 3px 3px 0; transition: width .2s; }
html.pp-done .pp-pencil { opacity: 0; }
@media (max-width: 1379px) { .pp-pencil { display: none; } }
@media (prefers-reduced-motion: reduce) { .pp-sway, .pp-lights .glow circle, .pp-hint, .pp-cord, .pp-cord.is-pull .pull, html .is-home .d-card:hover::before, .pp-lights.is-gust svg, html .is-home .d-hero__door.is-gust, figure.shot.is-gust, .pp-zoom, .pp-zoom figure, .pp-gecko.is-caught svg, .pp-secret--moth.is-found, .pp-tally.is-pop, .pp-secret--cat em { animation: none !important; } .pp-obj[data-k="sticky"] .pp-sw { transition: none; } }
/* play:end */

/* ───────── phone ───────── */
@media (max-width: 760px) {
  html .t-shell .d-header { padding: 10px 14px 8px; }
  html .t-shell .d-header__tools { gap: 8px; flex-wrap: nowrap; }
  html .t-shell .d-header__tools * { white-space: nowrap; letter-spacing: 0; }
  html .t-shell .d-search, html .t-shell .d-auth { padding: 6px 10px !important; font-size: 13px; }
  html .t-shell .d-langs { gap: 7px; font-size: 12.5px; }
  html img.d-wordmark { height: 36px; }
  html .t-shell:not(.is-home) .d-wrap { padding: 20px 8px 40px; }
  html .t-shell:not(.is-home) .t-page { padding: 28px 18px 36px; }
  html .is-home .d-hero { padding: 26px 22px; } html .is-home .d-sec { padding: 22px 18px 14px; } html .is-home .t-featured { padding: 20px 18px 26px; margin: 0 0 44px; }
  html .is-home .d-card, html .is-home .d-card:nth-child(n) { transform: rotate(-.4deg); } html .is-home .d-card:nth-child(even) { transform: rotate(.5deg); }
  html .is-home .d-cat__head { padding: 8px 18px 8px 22px; gap: 10px; max-width: 100%; }
  html .is-home .d-cat__title { font-size: 20px; white-space: nowrap; } html .is-home .d-cat__sub { display: none; }
  html .is-home .d-cat__more { white-space: nowrap; margin-left: 8px; padding-left: 10px; }
}
