/* /fonts/noto-serif-sc/font.css */
/* 自托管 Noto Serif SC（SIL OFL 1.1）600 字重：本游戏文案用到的字（scripts/build-serif-subset.py 生成，勿手改）。
   101 片、2212 字、共 471 KB；按 unicode-range 分片，浏览器只下载画面上出现的字所在的片；
   文件名带内容哈希、?v= 同哈希 → 一年 immutable 缓存。子集外的字（玩家自己打的聊天）回退到系统宋体。 */
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-e73f98a201.woff2?v=e73f98a201') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-5102bea4e4.woff2?v=5102bea4e4') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ccdc828d89.woff2?v=ccdc828d89') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-cdc8aa8096.woff2?v=cdc8aa8096') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-5efe099f71.woff2?v=5efe099f71') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-5efe099f71.woff2?v=5efe099f71') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-9927c30814.woff2?v=9927c30814') format('woff2'); unicode-range: U+20,U+21,U+22,U+9AB0; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-03d14f4c9e.woff2?v=03d14f4c9e') format('woff2'); unicode-range: U+20,U+21,U+22,U+9975; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-f592b53cc0.woff2?v=f592b53cc0') format('woff2'); unicode-range: U+20,U+21,U+22,U+9776; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-bfb19943e8.woff2?v=bfb19943e8') format('woff2'); unicode-range: U+20,U+21,U+22,U+9608; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-0672827a20.woff2?v=0672827a20') format('woff2'); unicode-range: U+20,U+21,U+22,U+951A; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-aa68e85f17.woff2?v=aa68e85f17') format('woff2'); unicode-range: U+20,U+21,U+22,U+94E0; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-e5b6bdce2b.woff2?v=e5b6bdce2b') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-e5b6bdce2b.woff2?v=e5b6bdce2b') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a7c1231355.woff2?v=a7c1231355') format('woff2'); unicode-range: U+20,U+21,U+22,U+914C; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-20d1859901.woff2?v=20d1859901') format('woff2'); unicode-range: U+20,U+21,U+22,U+8E5A,U+8F99,U+8FF8; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2cae447729.woff2?v=2cae447729') format('woff2'); unicode-range: U+20,U+21,U+22,U+8D30,U+8D43; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-826d352086.woff2?v=826d352086') format('woff2'); unicode-range: U+20,U+21,U+22,U+8BA5,U+8BA7,U+8BF6,U+8C2C; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-b78075e8da.woff2?v=b78075e8da') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-b78075e8da.woff2?v=b78075e8da') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2bcf28b016.woff2?v=2bcf28b016') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2bcf28b016.woff2?v=2bcf28b016') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2bcf28b016.woff2?v=2bcf28b016') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-1c6a19e78b.woff2?v=1c6a19e78b') format('woff2'); unicode-range: U+20,U+21,U+22,U+83BD; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-6a283cfd91.woff2?v=6a283cfd91') format('woff2'); unicode-range: U+20,U+21,U+22,U+81C6; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-1212ecb45f.woff2?v=1212ecb45f') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-7e84454725.woff2?v=7e84454725') format('woff2'); unicode-range: U+20,U+21,U+22,U+7F04,U+7F0E; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-1212ecb45f.woff2?v=1212ecb45f') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-1212ecb45f.woff2?v=1212ecb45f') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-1212ecb45f.woff2?v=1212ecb45f') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ece3658e6e.woff2?v=ece3658e6e') format('woff2'); unicode-range: U+20,U+21,U+22,U+7B03; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-3c2f7adfd9.woff2?v=3c2f7adfd9') format('woff2'); unicode-range: U+20,U+21,U+22,U+7ABF; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a4d62826ee.woff2?v=a4d62826ee') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ddaede7305.woff2?v=ddaede7305') format('woff2'); unicode-range: U+20,U+21,U+22,U+7785; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a4d62826ee.woff2?v=a4d62826ee') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-68ad647e41.woff2?v=68ad647e41') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-68ad647e41.woff2?v=68ad647e41') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-68ad647e41.woff2?v=68ad647e41') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-eaa1ab6461.woff2?v=eaa1ab6461') format('woff2'); unicode-range: U+20,U+21,U+22,U+72E1; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-79d084c15e.woff2?v=79d084c15e') format('woff2'); unicode-range: U+20,U+21,U+22,U+70EC,U+7184; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-68ad647e41.woff2?v=68ad647e41') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2078c6014a.woff2?v=2078c6014a') format('woff2'); unicode-range: U+20,U+21,U+22,U+6DC6,U+6E0E; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-5536fa7299.woff2?v=5536fa7299') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-4785e789f3.woff2?v=4785e789f3') format('woff2'); unicode-range: U+20,U+21,U+22,U+6BE1; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-f3594b7b0a.woff2?v=f3594b7b0a') format('woff2'); unicode-range: U+20,U+21,U+22,U+6B79; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-80cf66b5a4.woff2?v=80cf66b5a4') format('woff2'); unicode-range: U+20,U+21,U+22,U+692D,U+69B7; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-d5b8337f7b.woff2?v=d5b8337f7b') format('woff2'); unicode-range: U+20,U+21,U+22,U+67D2; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-167c1d15fd.woff2?v=167c1d15fd') format('woff2'); unicode-range: U+20,U+21,U+22,U+6684,U+672D; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-297a906ac5.woff2?v=297a906ac5') format('woff2'); unicode-range: U+20,U+21,U+22,U+6555,U+659F; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a7be1bb0b5.woff2?v=a7be1bb0b5') format('woff2'); unicode-range: U+20,U+21,U+22,U+63BA,U+645E,U+6482; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-cc7ee0b846.woff2?v=cc7ee0b846') format('woff2'); unicode-range: U+20,U+21,U+22,U+62D9,U+634B,U+634C,U+6382,U+6396; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-59d77a82ed.woff2?v=59d77a82ed') format('woff2'); unicode-range: U+20,U+21,U+22,U+6123,U+6151; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-b0c0ae7fa4.woff2?v=b0c0ae7fa4') format('woff2'); unicode-range: U+20,U+21,U+22,U+6002,U+606A,U+60B8; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a1152c9a70.woff2?v=a1152c9a70') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-144180cabb.woff2?v=144180cabb') format('woff2'); unicode-range: U+20,U+21,U+22,U+5D3D; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-bf1b6932e8.woff2?v=bf1b6932e8') format('woff2'); unicode-range: U+20,U+21,U+22,U+5C94; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a1152c9a70.woff2?v=a1152c9a70') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-a1152c9a70.woff2?v=a1152c9a70') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-52f6240bd3.woff2?v=52f6240bd3') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-52f6240bd3.woff2?v=52f6240bd3') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-5cff7692cf.woff2?v=5cff7692cf') format('woff2'); unicode-range: U+20,U+21,U+22,U+5600,U+5657,U+567C,U+56AF; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-b8931dadfc.woff2?v=b8931dadfc') format('woff2'); unicode-range: U+20,U+21,U+22,U+5514,U+552C,U+5567; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-84e4fcce51.woff2?v=84e4fcce51') format('woff2'); unicode-range: U+20,U+21,U+22,U+542D,U+5443,U+54A6,U+54C9; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-fa0205c792.woff2?v=fa0205c792') format('woff2'); unicode-range: U+20,U+21,U+22,U+5315,U+53C1; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-fdf6ea6cd1.woff2?v=fdf6ea6cd1') format('woff2'); unicode-range: U+20,U+21,U+22,U+5195; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-b41e5ba993.woff2?v=b41e5ba993') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-98fec524b2.woff2?v=98fec524b2') format('woff2'); unicode-range: U+20,U+21,U+22,U+4EB5; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-91ee960f7f.woff2?v=91ee960f7f') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2b29d468ac.woff2?v=2b29d468ac') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-d832fa496e.woff2?v=d832fa496e') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-5d7a5f0eda.woff2?v=5d7a5f0eda') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ca87045aab.woff2?v=ca87045aab') format('woff2'); unicode-range: U+20,U+21,U+22,U+2465; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-abdbbbf5a0.woff2?v=abdbbbf5a0') format('woff2'); unicode-range: U+20,U+21,U+22,U+21C4,U+2208,U+2212,U+2248,U+2260; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-4d83cc6a3d.woff2?v=4d83cc6a3d') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-54e7da4d14.woff2?v=54e7da4d14') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-7ca5132616.woff2?v=7ca5132616') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ca7b160f61.woff2?v=ca7b160f61') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-10b233bbe9.woff2?v=10b233bbe9') format('woff2'); unicode-range: U+20,U+21,U+22,U+2264,U+2265,U+2464,U+54D7,U+5509,U+6055,U+6390,U+63B0,U+63B7,U+667E,U+6789,U+7396,U+76CF,U+76D4,U+77AA,U+892A,U+9523; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-d9b1870173.woff2?v=d9b1870173') format('woff2'); unicode-range: U+20,U+21,U+22,U+5495,U+55D3,U+5C49,U+5E27,U+618B,U+61F5,U+6342,U+6401,U+6512,U+68D8,U+6E32,U+7422,U+7656,U+7A3D,U+7A9F,U+7C3F,U+8C41,U+8E6D,U+902E,U+9985; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-4d2e9e4eb1.woff2?v=4d2e9e4eb1') format('woff2'); unicode-range: U+20,U+21,U+22,U+2264,U+2265,U+2463,U+54C4,U+55A7,U+5C82,U+5F08,U+625B,U+62E2,U+7741,U+7792,U+77A7,U+77B3,U+8D9F; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-56cf9e4eef.woff2?v=56cf9e4eef') format('woff2'); unicode-range: U+20,U+21,U+22,U+60,U+4EC6,U+4F8D,U+52C9,U+54CE,U+54FC,U+563F,U+5BE1,U+5C51,U+5F27,U+62F1,U+6346,U+63A0,U+6627,U+67EC,U+69DB,U+6BB7,U+70DB,U+77EE,U+7B28,U+7BF7,U+8822,U+8BB6,U+952F,U+96A7,U+9A73; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ea27345e0a.woff2?v=ea27345e0a') format('woff2'); unicode-range: U+20,U+21,U+22,U+2462,U+4ED7,U+4F83,U+51A4,U+54AF,U+54B3,U+54DF,U+5598,U+5632,U+584C,U+6127,U+62A0,U+62D0,U+6643,U+6760,U+67C4,U+6B67,U+6F84,U+76EF,U+778E,U+7EFD,U+8086,U+8165,U+8BBD,U+8BE1,U+8C0E,U+9042,U+9699; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-e9d4daa8e0.woff2?v=e9d4daa8e0') format('woff2'); unicode-range: U+20,U+21,U+22,U+5E,U+2190,U+25BC,U+4E56,U+4F6C,U+5203,U+529D,U+5435,U+5457,U+548B,U+54C7,U+556A,U+55BB,U+55EF,U+563B,U+566A,U+58F9,U+59A8,U+5C60,U+5F26,U+6084,U+614C,U+6233,U+6254,U+62E6,U+632A,U+683D,U+68B3,U+6B47,U+6D51,U+6E0A,U+6E9C,U+7130,U+7529,U+75D2,U+76B1,U+76FC,U+7AA5,U+7AD6,U+7CDF,U+8346,U+888D,U+8A93,U+8D81,U+918B,U+94A9,U+9524,U+9E26; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-8f4060821c.woff2?v=8f4060821c') format('woff2'); unicode-range: U+20,U+21,U+22,U+2460,U+2461,U+300E,U+300F,U+4EF2,U+4F50,U+50F5,U+51D1,U+52A3,U+52CB,U+5300,U+54B1,U+54C0,U+58F6,U+59A5,U+5D4C,U+60D5,U+611A,U+61BE,U+6241,U+6252,U+626F,U+6296,U+62BC,U+6380,U+63A9,U+644A,U+6572,U+6CFC,U+6D3D,U+6E34,U+7235,U+77DB,U+77E9,U+780D,U+7838,U+796D,U+7A84,U+7F62,U+8036,U+8180,U+853D,U+8721,U+8854,U+8EB2,U+903B,U+95F7,U+9709; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-796f5b879b.woff2?v=796f5b879b') format('woff2'); unicode-range: U+20,U+21,U+22,U+4E59,U+4E8F,U+4EC7,U+4FE9,U+503A,U+51AF,U+51F8,U+5339,U+538C,U+5398,U+53F9,U+5475,U+54AC,U+5582,U+5760,U+5835,U+5951,U+5BC2,U+5C2C,U+5C34,U+5C48,U+5E42,U+607C,U+6094,U+6109,U+6124,U+6247,U+626D,U+62AC,U+62B9,U+62FE,U+6324,U+6349,U+6495,U+64A4,U+64CE,U+6602,U+679A,U+6B20,U+6D46,U+7978,U+7B5B,U+7ED2,U+8106,U+8154,U+817B,U+86EE,U+8C1C,U+8D3C,U+8EBA,U+8FA9,U+9017,U+906E,U+94ED; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-895a9337ce.woff2?v=895a9337ce') format('woff2'); unicode-range: U+20,U+21,U+22,U+24,U+4E4F,U+4F2A,U+50AC,U+50BB,U+5151,U+51BB,U+51FD,U+52FE,U+53C9,U+53E0,U+543B,U+5524,U+558A,U+561B,U+5782,U+57C3,U+5893,U+5949,U+5D29,U+5DFE,U+5F2F,U+5F7C,U+60F9,U+61D2,U+629B,U+6321,U+659C,U+6655,U+6670,U+6B49,U+6C1B,U+6E21,U+6EE4,U+7262,U+72B9,U+72E0,U+75D5,U+7686,U+76FE,U+7720,U+7816,U+788D,U+7A00,U+7BAD,U+7CCA,U+7EEA,U+7F1D,U+7F69,U+806A,U+886C,U+8C10,U+8C6B,U+8D4B,U+8D4C,U+8D64,U+8D74,U+8E29,U+8F74,U+8FDF,U+9171,U+94AE,U+94C3,U+9601,U+971C,U+98D8,U+9AA4,U+9F7F; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-70a728d64f.woff2?v=70a728d64f') format('woff2'); unicode-range: U+20,U+21,U+22,U+2192,U+4E11,U+4E22,U+4E32,U+4F0D,U+4F69,U+4FF1,U+5211,U+5269,U+5413,U+5440,U+5806,U+5821,U+582A,U+5938,U+5948,U+59D1,U+5ACC,U+5AE9,U+5BB4,U+5E7D,U+5FAA,U+5FFD,U+60DC,U+60E8,U+614E,U+62C6,U+62D4,U+6478,U+6491,U+6492,U+65A4,U+6735,U+67F1,U+68AF,U+6B3A,U+6CC4,U+6ECB,U+6EF4,U+7275,U+7384,U+7434,U+75BC,U+77AC,U+7B79,U+7C92,U+7EB5,U+8083,U+8096,U+8109,U+810F,U+8292,U+8352,U+8361,U+857E,U+8896,U+8BC8,U+8C28,U+8D2F,U+8DC3,U+8E0F,U+8E48,U+8F9E,U+8FC1,U+94DC; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-2238413892.woff2?v=2238413892') format('woff2'); unicode-range: U+20,U+21,U+22,U+300C,U+300D,U+4E58,U+4EC1,U+4F2F,U+4F38,U+503E,U+5141,U+517C,U+51ED,U+52B2,U+52E4,U+540A,U+5439,U+5565,U+5766,U+58EE,U+594F,U+59FF,U+5B64,U+5C18,U+5C1D,U+5E9F,U+5F04,U+5FCD,U+6012,U+60AC,U+60EF,U+626E,U+6270,U+6276,U+62D6,U+62DC,U+6316,U+633A,U+63AA,U+6447,U+649E,U+64C5,U+65C1,U+65CB,U+6846,U+6B8B,U+6BEB,U+6CBF,U+6D53,U+6D82,U+6EDA,U+6F0F,U+706D,U+70AE,U+70C2,U+70E6,U+730E,U+74DC,U+74F6,U+775B,U+788E,U+78B0,U+7C97,U+7EB1,U+7ED1,U+7ED5,U+7F6A,U+7F72,U+7FBD,U+8017,U+80A9,U+80C6,U+8170,U+820D,U+827E,U+8389,U+88C2,U+88D9,U+8986,U+8BCA,U+8BDE,U+8D56,U+8F89,U+9505,U+95F9,U+963B,U+966A,U+96FE,U+9896,U+9A71,U+9A82,U+9A91,U+9F20; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-553ad39bea.woff2?v=553ad39bea') format('woff2'); unicode-range: U+20,U+21,U+22,U+4E88,U+4EA1,U+4EA6,U+4ED4,U+4F30,U+4FA7,U+500D,U+504F,U+5076,U+5077,U+5192,U+51C9,U+5251,U+52C7,U+5410,U+559D,U+5634,U+585E,U+586B,U+58A8,U+5999,U+59D3,U+5B54,U+5BBF,U+5BD2,U+5C16,U+5E45,U+5E84,U+5F03,U+5F31,U+5F84,U+5FBD,U+5FC6,U+5FD9,U+6062,U+60D1,U+622A,U+6234,U+624E,U+6269,U+62B5,U+62D2,U+6325,U+63E1,U+643A,U+6446,U+6562,U+656C,U+65E2,U+6628,U+6676,U+66FF,U+6717,U+67AA,U+67D4,U+695A,U+69FD,U+6A2A,U+6C60,U+6CE1,U+6D1B,U+6D1E,U+6D6E,U+6DE1,U+6E10,U+6F5C,U+7070,U+756A,U+78E8,U+795D,U+7D2F,U+7F13,U+7F8A,U+8010,U+80AF,U+80F8,U+8212,U+83AB,U+83B1,U+8584,U+8861,U+888B,U+88C1,U+88E4,U+8BF1,U+8C31,U+8D76,U+8DE8,U+9006,U+903C,U+904D,U+9178,U+9274,U+950B,U+95EA,U+9636,U+9686,U+987F,U+9B42,U+9F13,U+FF5E; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-076e641b48.woff2?v=076e641b48') format('woff2'); unicode-range: U+20,U+21,U+22,U+23,U+3D,U+4ECD,U+4EEA,U+4FC3,U+501F,U+50A8,U+5175,U+51A0,U+51C0,U+5200,U+5224,U+523A,U+5348,U+5360,U+5371,U+5377,U+539A,U+547C,U+54E6,U+5510,U+5531,U+56F0,U+56FA,U+574F,U+5854,U+592E,U+5939,U+5986,U+5BAB,U+5BBD,U+5BBE,U+5BF8,U+5C0A,U+5C3A,U+5E2D,U+6015,U+602A,U+6050,U+6069,U+6162,U+61C2,U+6293,U+6297,U+62B1,U+62BD,U+62DF,U+62FC,U+6302,U+635F,U+638C,U+63ED,U+6458,U+6563,U+6620,U+6653,U+6696,U+6697,U+66DD,U+675F,U+676F,U+67D0,U+67D3,U+684C,U+6B23,U+6BD5,U+6C89,U+6DF7,U+6ED1,U+6F02,U+70DF,U+7126,U+731C,U+751A,U+7532,U+75DB,U+7761,U+7A0D,U+7D2B,U+7EA0,U+7EB9,U+7ED8,U+7F18,U+7F29,U+8033,U+804A,U+80A4,U+80E1,U+82E6,U+8336,U+8499,U+8651,U+865A,U+89E6,U+8BFA,U+8D25,U+8D38,U+8DDD,U+9010,U+9012,U+907F,U+9080,U+90D1,U+91CA,U+94FA,U+9501,U+9634,U+9635,U+9694,U+9738,U+9A7B,U+9A97,U+9B3C,U+9ED8; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-4bccf066b4.woff2?v=4bccf066b4') format('woff2'); unicode-range: U+20,U+21,U+22,U+26,U+3C,U+3E,U+4E4E,U+4E61,U+4E71,U+5012,U+51B2,U+51B7,U+521A,U+5220,U+5237,U+523B,U+526F,U+5385,U+53E5,U+53EB,U+53F3,U+53F6,U+54C8,U+552F,U+5584,U+5706,U+5723,U+5750,U+575A,U+59D4,U+5B88,U+5B9C,U+5BDF,U+5BFB,U+5C01,U+5C04,U+5C3E,U+5C4F,U+5DE6,U+5E78,U+5E7B,U+5EF6,U+5F39,U+5FD8,U+6000,U+6025,U+613F,U+6258,U+6263,U+6267,U+6298,U+62A2,U+62EC,U+6311,U+6377,U+6389,U+63A2,U+63D2,U+641E,U+642D,U+654F,U+6551,U+6597,U+65CF,U+65E7,U+6682,U+66F2,U+671D,U+672B,U+6740,U+6863,U+6982,U+6D17,U+6DFB,U+6F6E,U+719F,U+72AF,U+732B,U+732E,U+76D6,U+7840,U+786C,U+79D2,U+7A33,U+7A3F,U+7A97,U+7ADE,U+7ADF,U+7B26,U+7E41,U+7EC3,U+7F3A,U+80DC,U+811A,U+8131,U+8138,U+821E,U+8349,U+83DC,U+86CB,U+8BA8,U+8BAD,U+8BEF,U+8D1D,U+8D4F,U+8D62,U+8DD1,U+8DF3,U+8F6E,U+900F,U+9014,U+9057,U+9192,U+9488,U+955C,U+95F2,U+9644,U+964D,U+96C5,U+96F6,U+96F7,U+9732,U+9759,U+9760,U+987A,U+9910,U+9EBB,U+9F50; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-ffa54f90e2.woff2?v=ffa54f90e2') format('woff2'); unicode-range: U+20,U+21,U+22,U+7E,U+2026,U+4E03,U+4E25,U+4E34,U+4E45,U+4E5D,U+4E89,U+4EAE,U+4ED8,U+4F11,U+4F19,U+4F24,U+4F34,U+4F59,U+4F73,U+4F9D,U+5047,U+505C,U+51CF,U+5267,U+5356,U+5374,U+538B,U+53E6,U+5426,U+542B,U+542F,U+5462,U+5473,U+554A,U+5566,U+5708,U+5757,U+57DF,U+5802,U+591C,U+591F,U+5965,U+5979,U+5A01,U+5B69,U+5B81,U+5BA1,U+5BA3,U+5C42,U+5DE7,U+5DEE,U+5E0C,U+5E55,U+5E8F,U+5EA7,U+5F02,U+5F52,U+5F81,U+5FF5,U+60CA,U+6279,U+62C5,U+62FF,U+63CF,U+64CD,U+65E9,U+665A,U+66B4,U+66FE,U+6742,U+677E,U+67B6,U+680F,U+68C0,U+6B4C,U+6B66,U+6B7B,U+6BDB,U+6C38,U+6C47,U+6C49,U+6CB3,U+6CB9,U+6D4F,U+6FC0,U+7206,U+7565,U+7591,U+75C5,U+76AE,U+76DF,U+7834,U+7968,U+7981,U+7A7F,U+7A81,U+7B14,U+7D27,U+7EAF,U+7EB3,U+7EB8,U+7EE7,U+7EFF,U+7F57,U+7FFB,U+805A,U+80A1,U+822C,U+82CF,U+82E5,U+8363,U+84DD,U+878D,U+8840,U+8863,U+8865,U+8B66,U+8BB2,U+8BDA,U+8C01,U+8C08,U+8D1F,U+8D35,U+8D5E,U+8DA3,U+8DDF,U+8F93,U+8FDD,U+8FF0,U+8FF7,U+8FFD,U+9000,U+9047,U+9152,U+949F,U+94C1,U+94F6,U+9646,U+9648,U+9669,U+969C,U+987B,U+987E,U+989D,U+9970,U+9C9C; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-3117ba1898.woff2?v=3117ba1898') format('woff2'); unicode-range: U+20,U+21,U+22,U+25,U+4E14,U+4E1D,U+4E49,U+4E60,U+4EB2,U+4EC5,U+4EFD,U+4F3C,U+4F4F,U+4F8B,U+4FBF,U+5019,U+5145,U+514B,U+516B,U+516D,U+5174,U+5178,U+517B,U+5199,U+519B,U+51B3,U+51B5,U+5207,U+5212,U+5219,U+521D,U+52BF,U+5343,U+5347,U+534A,U+5370,U+53E4,U+53F2,U+5403,U+542C,U+547D,U+54CD,U+54EA,U+56F4,U+5747,U+575B,U+5883,U+589E,U+5931,U+5947,U+5957,U+5B83,U+5BB3,U+5C14,U+5C1A,U+5C3D,U+5C40,U+5C45,U+5C5E,U+5DF4,U+5E72,U+5E95,U+5F80,U+5F85,U+5FD7,U+601D,U+626B,U+627F,U+62C9,U+62CD,U+6309,U+63A7,U+6545,U+65AD,U+65AF,U+666E,U+667A,U+670B,U+671B,U+677F,U+6781,U+6790,U+6797,U+6821,U+6838,U+6839,U+6B62,U+6BB5,U+6C99,U+6D4B,U+6D6A,U+6E29,U+6EE1,U+6F14,U+6F2B,U+72B6,U+72EC,U+7387,U+7533,U+753B,U+76CA,U+76D8,U+7701,U+773C,U+77ED,U+77F3,U+793C,U+79BB,U+79C1,U+79D8,U+79EF,U+79FB,U+7A76,U+7B11,U+7B54,U+7B56,U+7B97,U+7BC7,U+7C73,U+7D20,U+7EAA,U+7EC8,U+7EDD,U+7EED,U+7EFC,U+7FA4,U+80CC,U+8111,U+8303,U+843D,U+89C9,U+89D2,U+8BBF,U+8BC9,U+8BCD,U+8BE6,U+8C22,U+8C61,U+8D26,U+8D27,U+8D8A,U+8F6F,U+8F7B,U+8F83,U+8F91,U+8FB9,U+8FD4,U+8FDC,U+9002,U+9519,U+95ED,U+961F,U+9632,U+9633,U+963F,U+968F,U+9690,U+96BE,U+9876,U+9884,U+98DE,U+9988,U+9EC4,U+FF1B; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-0e9b5976d5.woff2?v=0e9b5976d5') format('woff2'); unicode-range: U+20,U+21,U+22,U+2B,U+40,U+3000,U+300A,U+300B,U+4E16,U+4E66,U+4E70,U+4E92,U+4E94,U+4E9B,U+4EC0,U+4ECA,U+4F17,U+4F18,U+4F46,U+4F4E,U+4F9B,U+4FEE,U+503C,U+50CF,U+513F,U+5148,U+518D,U+51C6,U+51E0,U+5217,U+529E,U+529F,U+5341,U+534F,U+5361,U+5386,U+53C2,U+53C8,U+53CC,U+53D7,U+53D8,U+53EA,U+5404,U+5411,U+5417,U+5427,U+5468,U+559C,U+5668,U+56E0,U+56E2,U+56ED,U+5740,U+57FA,U+58EB,U+5904,U+592A,U+59CB,U+5B58,U+5B9D,U+5BC6,U+5DF1,U+5E08,U+5E26,U+5E2E,U+5E93,U+5F15,U+5F20,U+5F3A,U+5F62,U+5F69,U+5F88,U+5F8B,U+5FC5,U+600E,U+620F,U+6218,U+623F,U+627E,U+628A,U+62A4,U+62E9,U+6307,U+6362,U+636E,U+64AD,U+6539,U+6548,U+6574,U+6613,U+663E,U+666F,U+672A,U+6750,U+6784,U+6A21,U+6B65,U+6BCF,U+6DF1,U+706B,U+7167,U+724C,U+738B,U+73A9,U+73AF,U+754C,U+7559,U+767D,U+7740,U+786E,U+795E,U+79F0,U+7AEF,U+7B7E,U+7EA2,U+7EA6,U+7EC4,U+7EC6,U+7ECD,U+7EDC,U+7EF4,U+8003,U+81F3,U+81F4,U+82F1,U+83B7,U+8425,U+89C2,U+89C8,U+8BA9,U+8BB8,U+8BC6,U+8BD5,U+8BE2,U+8BE5,U+8BED,U+8C03,U+8D23,U+8D34,U+8D70,U+8DB3,U+8FBE,U+8FCE,U+8FD1,U+8FDE,U+9001,U+901F,U+9020,U+90A3,U+914D,U+91C7,U+94FE,U+952E,U+9605,U+9645,U+9664,U+9700,U+975E,U+97F3,U+9879,U+9886,U+9A6C,U+9A8C,U+9ED1; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-3f7b196bd4.woff2?v=3f7b196bd4') format('woff2'); unicode-range: U+20,U+21,U+22,U+4E,U+201C,U+201D,U+4E07,U+4E1C,U+4E24,U+4E3E,U+4E48,U+4E50,U+4E5F,U+4E8B,U+4E8C,U+4EA4,U+4EAB,U+4ECB,U+4ECE,U+4ED6,U+4EE3,U+4EF6,U+4EF7,U+4EFB,U+4F20,U+4F55,U+4F7F,U+4FDD,U+505A,U+5143,U+5149,U+514D,U+5171,U+5177,U+518C,U+51FB,U+521B,U+5229,U+522B,U+52A9,U+5305,U+5355,U+5373,U+539F,U+53BB,U+53CA,U+53CD,U+53D6,U+53E3,U+53F0,U+5458,U+5546,U+56DB,U+573A,U+578B,U+57CE,U+58F0,U+590D,U+5934,U+5973,U+5B57,U+5B8C,U+5BB9,U+5BFC,U+5C06,U+5C11,U+5C31,U+5C55,U+5DF2,U+5E03,U+5E38,U+5E76,U+5E94,U+5EFA,U+5F71,U+5F97,U+5FEB,U+6001,U+603B,U+60F3,U+611F,U+6216,U+624D,U+6253,U+6295,U+6301,U+6392,U+652F,U+653E,U+6559,U+6599,U+671F,U+672F,U+6761,U+67E5,U+6807,U+6837,U+683C,U+6848,U+6B22,U+6B64,U+6BD4,U+6C14,U+6C34,U+6C42,U+6CA1,U+6D41,U+6D88,U+6E05,U+6E38,U+6E90,U+7136,U+7231,U+7531,U+767E,U+76EE,U+76F4,U+771F,U+7801,U+793A,U+79CD,U+7A0B,U+7A7A,U+7ACB,U+7AE0,U+7B2C,U+7B80,U+7BA1,U+7CBE,U+7D22,U+7EA7,U+7ED3,U+7ED9,U+7EDF,U+7F16,U+7F6E,U+8001,U+800C,U+8272,U+8282,U+82B1,U+8350,U+88AB,U+88C5,U+897F,U+89C1,U+89C4,U+89E3,U+8A00,U+8BA1,U+8BA4,U+8BAE,U+8BB0,U+8BBE,U+8BC1,U+8BC4,U+8BFB,U+8D28,U+8D39,U+8D77,U+8D85,U+8DEF,U+8EAB,U+8F66,U+8F6C,U+8F7D,U+8FD0,U+9009,U+90FD,U+91CC,U+91CD,U+91CF,U+95FB,U+9650,U+96C6,U+9891,U+98CE,U+FF1F; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-d7ea75414e.woff2?v=d7ea75414e') format('woff2'); unicode-range: U+20,U+21,U+22,U+3C,U+3E,U+5F,U+7C,U+4E09,U+4E0A,U+4E0B,U+4E0D,U+4E0E,U+4E13,U+4E1A,U+4E2A,U+4E3A,U+4E3B,U+4E4B,U+4E86,U+4E8E,U+4EA7,U+4EBA,U+4EE4,U+4EE5,U+4EEC,U+4F1A,U+4F4D,U+4F53,U+4F5C,U+4F60,U+4FE1,U+5165,U+5168,U+516C,U+5173,U+5176,U+5185,U+51FA,U+5206,U+5230,U+5236,U+524D,U+529B,U+52A0,U+52A1,U+52A8,U+5316,U+533A,U+53CB,U+53D1,U+53EF,U+53F7,U+53F8,U+5408,U+540C,U+540D,U+540E,U+544A,U+548C,U+54C1,U+56DE,U+56FD,U+56FE,U+5728,U+5730,U+5907,U+5916,U+591A,U+5927,U+5929,U+597D,U+5982,U+5B50,U+5B66,U+5B89,U+5B9A,U+5B9E,U+5BA2,U+5BB6,U+5BF9,U+5C0F,U+5DE5,U+5E73,U+5E74,U+5E7F,U+5EA6,U+5F00,U+5F0F,U+5F53,U+5F55,U+5FAE,U+5FC3,U+6027,U+606F,U+60A8,U+60C5,U+610F,U+6210,U+6211,U+6237,U+6240,U+624B,U+6280,U+62A5,U+63A5,U+63A8,U+63D0,U+6536,U+6570,U+6587,U+65B9,U+65E0,U+65F6,U+660E,U+662F,U+66F4,U+6700,U+670D,U+672C,U+673A,U+6743,U+6765,U+679C,U+6B21,U+6B63,U+6CD5,U+6CE8,U+6D3B,U+70ED,U+7247,U+7248,U+7269,U+7279,U+73B0,U+7406,U+751F,U+7528,U+7535,U+767B,U+76F8,U+770B,U+77E5,U+7AD9,U+7B49,U+7C7B,U+7CFB,U+7EBF,U+7ECF,U+7F8E,U+8005,U+8054,U+80FD,U+81EA,U+85CF,U+884C,U+8868,U+8981,U+89C6,U+8BBA,U+8BDD,U+8BF4,U+8BF7,U+8D44,U+8FC7,U+8FD8,U+8FD9,U+8FDB,U+901A,U+9053,U+90E8,U+91D1,U+957F,U+95E8,U+95EE,U+95F4,U+9762,U+9875,U+9898,U+9996,U+9AD8,U+FF01,U+FF08,U+FF09; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-388b0973dd.woff2?v=388b0973dd') format('woff2'); unicode-range: U+20,U+21,U+22,U+27,U+28,U+29,U+2A,U+2C,U+2D,U+2E,U+2F,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+3A,U+3B,U+3F,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+5B,U+5C,U+5D,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+7B,U+7D,U+B7,U+2013,U+2014,U+2039,U+203A,U+3001,U+3002,U+4E00,U+4E2D,U+65B0,U+65E5,U+6708,U+6709,U+70B9,U+7684,U+7F51,U+FF0C,U+FF1A; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-648609aca0.woff2?v=648609aca0') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-48180f0d5d.woff2?v=48180f0d5d') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-c53015f9b9.woff2?v=c53015f9b9') format('woff2'); unicode-range: U+20,U+21,U+22; }
@font-face { font-family: 'RB Noto Serif SC'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/noto-serif-sc/nss-600-6bcbdf8b85.woff2?v=6bcbdf8b85') format('woff2'); unicode-range: U+20,U+21,U+22,U+23,U+24,U+25,U+26,U+27,U+28,U+29,U+2A,U+2B,U+2C,U+2D,U+2E,U+2F,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+3A,U+3B,U+3C,U+3D,U+3E,U+3F,U+40,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4E,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+5B,U+5C,U+5D,U+5E,U+5F,U+60,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+7B,U+7C,U+7D,U+7E,U+B7,U+2013,U+2014,U+2018,U+2019,U+201C,U+201D,U+2026,U+2039,U+203A,U+2212; }

/* /fonts/crgkk/font.css */
/* 程荣光刻楷（CRGKK）子集：scripts/build-kai-subset.py 生成，勿手改。授权与风险见 docs/reports/font-sources.md。
   66 片、3941 字（文案 2028 + GB2312 一级常用字兜底 1913）、共 1911 KB；只有一个字重（400），不要套 600 以免伪粗体。
   刻楷没有的字（33 个，回退 RB Kai Sys / Noto）：‍–‹›↔⇄⇧−⌃⌊⌋⌘▶▸▼▾◂☾♛✓✕✦⟵⟶蹚️🍿🎲💢💨🕊😏😮
   缺字白名单：蹚 */
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-187d541893.woff2?v=187d541893') format('woff2'); unicode-range: U+20,U+21,U+22,U+23,U+24,U+25,U+26,U+27,U+28,U+29,U+2A,U+2B,U+2C,U+2D,U+2E,U+2F,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+3A,U+3B,U+3C,U+3D,U+3E,U+3F,U+40,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4E,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+5B; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-7ef1cf20a8.woff2?v=7ef1cf20a8') format('woff2'); unicode-range: U+5C,U+5D,U+5E,U+5F,U+60,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+7B,U+7C,U+7D,U+7E,U+4EBA,U+4F4D,U+5165,U+51FA,U+53EF,U+58F0,U+591C,U+5BA2,U+5BB4,U+5BBE,U+5E2D,U+5F71,U+623F,U+627F,U+65E0,U+6708,U+793A,U+8005,U+8840,U+8BF7,U+8D64,U+95F4,U+FF08,U+FF09,U+FF1A; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-1b226d5692.woff2?v=1b226d5692') format('woff2'); unicode-range: U+2026,U+4E00,U+4E48,U+4E60,U+4ECE,U+4EE3,U+4EE5,U+4F60,U+4F8D,U+51A0,U+5203,U+5211,U+53CC,U+53F8,U+540D,U+5951,U+59CB,U+5BF9,U+5C40,U+5DF2,U+5E7B,U+5F85,U+6000,U+624B,U+6267,U+63A5,U+6559,U+65F6,U+660E,U+663E,U+6697,U+66DD,U+68D8,U+6F5C,U+724C,U+730E,U+7406,U+7531,U+7535,U+7591,U+771F,U+796D,U+7A0B,U+7EC3,U+7EE7,U+7F6E,U+8111,U+81EA,U+865A,U+884C,U+8BBE,U+8BF4,U+8BFA,U+8EAB,U+8F6E,U+8FDE,U+9009,U+9080,U+90A3,U+9762; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-cecca15d99.woff2?v=cecca15d99') format('woff2'); unicode-range: U+B7,U+4E0D,U+4E3A,U+4E92,U+4EC0,U+4EFD,U+4FDD,U+4FE1,U+5047,U+51C6,U+51FD,U+521B,U+5230,U+5347,U+534A,U+53CD,U+53D1,U+548C,U+5728,U+5927,U+5948,U+594F,U+5B8C,U+5BB6,U+5C31,U+5E26,U+5E73,U+5EFA,U+5F00,U+5F20,U+5F31,U+5FAE,U+5FEB,U+6012,U+60C5,U+60CA,U+6124,U+6162,U+6211,U+6301,U+6446,U+6574,U+67E5,U+6807,U+6837,U+7269,U+76DF,U+7B11,U+7D27,U+7EC8,U+7ED3,U+7ED9,U+8282,U+8868,U+8BB6,U+8D77,U+90FD,U+95EE,U+9732,U+9759; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-66675aeddc.woff2?v=66675aeddc') format('woff2'); unicode-range: U+3002,U+4E3B,U+4ECA,U+4F59,U+4F5C,U+5148,U+5176,U+51B5,U+5206,U+5219,U+521D,U+5236,U+5417,U+542F,U+56ED,U+58F9,U+590D,U+5B57,U+5E84,U+5F53,U+5F62,U+600E,U+620F,U+6218,U+62E9,U+63D0,U+64CD,U+6570,U+65B0,U+65CF,U+6765,U+677F,U+67EC,U+6B21,U+6D4B,U+6E38,U+73A9,U+7684,U+76F4,U+770B,U+7801,U+79BB,U+7A7A,U+7B2C,U+7C3F,U+827E,U+8389,U+89C4,U+8BD5,U+8C61,U+8D74,U+8DF3,U+8F93,U+8FC7,U+91CC,U+949F,U+94FE,U+968F,U+9ED1,U+FF1F; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4fef29695d.woff2?v=4fef29695d') format('woff2'); unicode-range: U+2014,U+3001,U+300C,U+300D,U+4E0A,U+4E0B,U+4E2A,U+4E5F,U+4E86,U+4F0D,U+4F1A,U+516C,U+518D,U+5200,U+522B,U+524D,U+52A0,U+52A8,U+53C1,U+53CB,U+53E5,U+53EA,U+540C,U+540E,U+56DE,U+5973,U+597D,U+5B9A,U+5C14,U+5DEE,U+5EA7,U+6216,U+628A,U+6309,U+65B9,U+662F,U+6709,U+670B,U+672C,U+679C,U+684C,U+6CA1,U+70B9,U+7235,U+7528,U+76EE,U+7740,U+7B49,U+7EF4,U+7FFB,U+8086,U+8272,U+8499,U+8BDD,U+8D30,U+8FD8,U+8FD9,U+FF01,U+FF0C,U+FF1B; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9c43ca84b6.woff2?v=9c43ca84b6') format('woff2'); unicode-range: U+2192,U+4E0E,U+4E24,U+4E2D,U+4E4B,U+4E8B,U+4ED6,U+4EEC,U+50CF,U+5168,U+5370,U+538B,U+53BB,U+53E3,U+5427,U+5475,U+54C8,U+573A,U+591A,U+5934,U+5B50,U+5B9E,U+5C0F,U+5DF1,U+5EA6,U+5F97,U+60F3,U+6210,U+6237,U+6253,U+6307,U+6536,U+653E,U+6653,U+6700,U+6761,U+6846,U+6BCF,U+6C14,U+7559,U+767D,U+773C,U+7741,U+79D8,U+7ACB,U+7B97,U+80FD,U+88AB,U+8981,U+89C1,U+89D2,U+8A00,U+8BA4,U+8BB0,U+8BED,U+8C01,U+8FDB,U+91CD,U+97F3,U+9ED8; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9def9a10a8.woff2?v=9def9a10a8') format('woff2'); unicode-range: U+4EA4,U+4EAE,U+4F4F,U+505C,U+5149,U+5173,U+5199,U+51B3,U+51E0,U+5355,U+5361,U+53E6,U+53F0,U+53F3,U+5408,U+542C,U+5440,U+55EF,U+5668,U+56FE,U+575B,U+5965,U+5B89,U+5BBD,U+5E95,U+5F55,U+6001,U+610F,U+624D,U+62A5,U+6362,U+6389,U+6392,U+63A8,U+63ED,U+64AD,U+65AF,U+670D,U+673A,U+6B63,U+6C89,U+6CE1,U+6E05,U+6F14,U+7167,U+7279,U+73B0,U+753B,U+7834,U+7EBF,U+7ED8,U+897F,U+8BA1,U+8BA9,U+8BCD,U+8DDF,U+8FB9,U+91CF,U+957F,U+9AD8; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-00e96db1d5.woff2?v=00e96db1d5') format('woff2'); unicode-range: U+4E09,U+4EF6,U+4EFB,U+4FA7,U+503C,U+5185,U+5192,U+5217,U+5224,U+5269,U+52A1,U+539F,U+53D8,U+5411,U+54CE,U+5566,U+561B,U+5916,U+5929,U+592A,U+5BC6,U+5C11,U+5C42,U+5C4F,U+5E94,U+5F0F,U+5FC3,U+606F,U+6240,U+62C9,U+62FF,U+636E,U+6539,U+6548,U+6587,U+65AD,U+66F4,U+683C,U+6B64,U+6BB5,U+6BD4,U+6CBF,U+6CD5,U+76D8,U+76F8,U+79CD,U+79F0,U+7AEF,U+7EA6,U+7ECF,U+8425,U+89C6,U+8BC1,U+8C03,U+8FD1,U+9053,U+90E8,U+9635,U+9875,U+9898; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-3849426e27.woff2?v=3849426e27') format('woff2'); unicode-range: U+4E8E,U+4F20,U+4F46,U+4F53,U+4F55,U+514B,U+521A,U+523B,U+5316,U+5360,U+53D6,U+53F7,U+5462,U+54E6,U+54FC,U+5509,U+585E,U+5904,U+591F,U+5982,U+5B58,U+5DE6,U+5E38,U+5E8F,U+6027,U+65E7,U+665A,U+671F,U+680F,U+6A2A,U+6C34,U+6DE1,U+7136,U+77E5,U+77ED,U+786E,U+79D2,U+7C7B,U+7D20,U+7EED,U+7F29,U+843D,U+8865,U+89E3,U+8BBA,U+8BC4,U+8BFB,U+8C0E,U+8D28,U+8D70,U+8D8A,U+91D1,U+94AE,U+9519,U+952E,U+961F,U+9650,U+987A,U+98CE,U+FF5E; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9ad0d63914.woff2?v=9ad0d63914') format('woff2'); unicode-range: U+201C,U+201D,U+4E32,U+4F4E,U+4F9D,U+505A,U+5177,U+51B2,U+533A,U+53C2,U+53E4,U+5404,U+5426,U+542B,U+54AC,U+54EA,U+5706,U+5B83,U+5BB9,U+5E72,U+5E76,U+5F88,U+5FC5,U+5FF5,U+6025,U+603B,U+62BD,U+65E9,U+6602,U+6628,U+666F,U+672A,U+675F,U+6797,U+6B65,U+6EE1,U+7247,U+72B6,U+732E,U+7387,U+751F,U+76EF,U+79C1,U+7AE0,U+7C73,U+800C,U+80CC,U+81F4,U+83B1,U+857E,U+85CF,U+89C2,U+8BE5,U+8D85,U+9000,U+9001,U+900F,U+9876,U+9884,U+9E26; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-65f234d7a7.woff2?v=65f234d7a7') format('woff2'); unicode-range: U+2265,U+4ECD,U+4F34,U+4F8B,U+4FBF,U+51C0,U+51D1,U+51FB,U+5207,U+5267,U+52BF,U+5348,U+53C8,U+53E0,U+5435,U+547C,U+554A,U+5634,U+56DB,U+5957,U+5BA1,U+5E55,U+5F15,U+5F80,U+62C5,U+62CD,U+6311,U+6562,U+65C1,U+6682,U+66FF,U+6743,U+6750,U+6863,U+695A,U+6982,U+6D88,U+70DB,U+7248,U+76D6,U+7A33,U+7AD9,U+7EA2,U+7EC4,U+7EDF,U+8003,U+80DC,U+821E,U+88C5,U+89C9,U+89E6,U+8BB2,U+8F7B,U+8FD4,U+8FDC,U+9010,U+914D,U+95ED,U+9760,U+9A8C; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c7196611a9.woff2?v=c7196611a9') format('woff2'); unicode-range: U+4E14,U+4E22,U+4E59,U+4E66,U+4E71,U+4E8C,U+4E9B,U+4EE4,U+4EEA,U+4FE9,U+5012,U+5019,U+504F,U+5171,U+51B7,U+51ED,U+5373,U+5374,U+5385,U+5403,U+54CD,U+5730,U+5750,U+5757,U+5806,U+5893,U+5931,U+5C55,U+5C5E,U+5F39,U+601D,U+6325,U+63A7,U+6784,U+6838,U+6A21,U+6DF1,U+6F02,U+6F0F,U+72EC,U+7565,U+79FB,U+7F13,U+804A,U+8138,U+8D26,U+8DEF,U+8F6C,U+901A,U+901F,U+907F,U+91CA,U+955C,U+95EA,U+9669,U+9690,U+9700,U+9879,U+987B,U+9996; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9deabab538.woff2?v=9deabab538') format('woff2'); unicode-range: U+4EF7,U+4F18,U+503E,U+513F,U+514D,U+51CF,U+5237,U+529E,U+53F9,U+5439,U+544A,U+547D,U+558A,U+56E0,U+5708,U+578B,U+5C3E,U+5E03,U+602A,U+60AC,U+62A2,U+62A4,U+62C6,U+63E1,U+649E,U+652F,U+6740,U+679A,U+67D0,U+6848,U+6B7B,U+6BDB,U+6D17,U+6DF7,U+70E7,U+767B,U+76AE,U+780D,U+78B0,U+7A7F,U+7A97,U+7EB9,U+7EEA,U+80C6,U+81F3,U+8651,U+8BAE,U+8BB8,U+8BF6,U+8D1F,U+8DD1,U+8F7D,U+8FD0,U+9192,U+95E8,U+9632,U+987F,U+9891,U+989D,U+98DE; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-0d65fb9c8a.woff2?v=0d65fb9c8a') format('woff2'); unicode-range: U+2264,U+4F30,U+4F7F,U+5143,U+5229,U+523A,U+529B,U+53D7,U+5443,U+54B1,U+5514,U+559C,U+56FA,U+5F3A,U+5F84,U+60A8,U+6263,U+627E,U+6298,U+62D6,U+6302,U+6321,U+65E5,U+671B,U+6839,U+68C0,U+6977,U+69FD,U+6B22,U+6B62,U+6C42,U+6ED1,U+706B,U+73AF,U+7532,U+76CA,U+76FE,U+77DB,U+786C,U+7AD6,U+7B54,U+7B7E,U+7CFB,U+7EB8,U+7EC6,U+7F18,U+7F3A,U+8721,U+8BA8,U+8C08,U+8D34,U+8D39,U+8DB3,U+8F9E,U+8FA9,U+9501,U+9636,U+9644,U+9970,U+9F50; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-2ca0772dd1.woff2?v=2ca0772dd1') format('woff2'); unicode-range: U+4E34,U+4E45,U+4E4E,U+4EC5,U+4F3C,U+4FEE,U+500D,U+5145,U+53EB,U+54C7,U+5582,U+563F,U+5ACC,U+5BDF,U+5BF8,U+5C01,U+5C3A,U+5E2E,U+5E45,U+5E7F,U+5F8B,U+5FD7,U+618B,U+622A,U+6279,U+659C,U+666E,U+6696,U+671D,U+67D3,U+69DB,U+6BE1,U+6CE8,U+6E90,U+6FC0,U+70ED,U+731C,U+7701,U+778E,U+77F3,U+788E,U+7B14,U+7BA1,U+7CCA,U+7D22,U+7EA7,U+7EDD,U+811A,U+8BC8,U+8BEF,U+8D25,U+8F66,U+8F91,U+8FDF,U+8FFD,U+903B,U+906E,U+9694,U+96F6,U+975E; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4806cd203e.woff2?v=4806cd203e') format('woff2'); unicode-range: U+2248,U+4E13,U+4E50,U+4E70,U+4EC7,U+4F17,U+4F24,U+4F2A,U+5076,U+51C9,U+5212,U+5457,U+5458,U+5565,U+5723,U+574F,U+59D4,U+5C3D,U+5C45,U+5FBD,U+611F,U+613F,U+63A2,U+644A,U+6545,U+6599,U+66B4,U+66F2,U+67D4,U+683D,U+692D,U+6D41,U+6D6E,U+6E10,U+6E32,U+7126,U+7231,U+7537,U+75D5,U+7A84,U+7CBE,U+7F16,U+7FA4,U+8001,U+80A4,U+817B,U+82B1,U+8BC6,U+8BF1,U+8D27,U+8D4C,U+8D62,U+8D9F,U+8DA3,U+8DDD,U+9488,U+94F6,U+951A,U+9A91,U+9A97; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-55a3eb0e53.woff2?v=55a3eb0e53') format('woff2'); unicode-range: U+4E03,U+4EB2,U+4F9B,U+51B0,U+5220,U+5251,U+53C9,U+5544,U+563B,U+56F4,U+57FA,U+589E,U+58F3,U+5B75,U+5C49,U+5E0C,U+5E74,U+5F69,U+6002,U+6015,U+603C,U+614E,U+62BC,U+6324,U+6377,U+63A9,U+63D2,U+64CE,U+6563,U+6613,U+6790,U+6C60,U+6D6A,U+6E21,U+6EDA,U+7070,U+710A,U+7238,U+7262,U+77E9,U+7956,U+7A9F,U+7ABF,U+7F62,U+805A,U+8303,U+88C1,U+8986,U+8BA2,U+8FBE,U+8FF0,U+9002,U+904D,U+95F9,U+9634,U+9645,U+964D,U+96BE,U+9988,U+9A73; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-ac5a08e692.woff2?v=ac5a08e692') format('woff2'); unicode-range: U+4E1C,U+4E5D,U+4E89,U+4E94,U+4ED8,U+4F19,U+516B,U+516D,U+5174,U+5175,U+51A4,U+52C7,U+52CB,U+5305,U+5341,U+53CA,U+5410,U+5438,U+54AF,U+5657,U+58EB,U+592E,U+5938,U+5B88,U+5BFC,U+5C1A,U+5DE7,U+5E27,U+5EF6,U+6258,U+6280,U+6296,U+62AC,U+633A,U+656C,U+65CB,U+672D,U+676F,U+6781,U+6BEB,U+6D4F,U+706D,U+7184,U+7761,U+79EF,U+7B80,U+7EA0,U+7F51,U+8054,U+8350,U+8352,U+84DD,U+89C8,U+8D43,U+8D56,U+8F83,U+9152,U+9664,U+9886,U+9975; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-3adc8c7f25.woff2?v=3adc8c7f25') format('woff2'); unicode-range: U+4E49,U+4E8F,U+52B2,U+543B,U+5468,U+548B,U+54C0,U+54C4,U+5531,U+5747,U+5766,U+57DF,U+5947,U+5979,U+5999,U+5B66,U+5BA3,U+5C06,U+5CD9,U+5DF4,U+5E9F,U+5F52,U+614C,U+6241,U+626B,U+6295,U+63AA,U+63CF,U+642D,U+6495,U+65E2,U+6655,U+672B,U+672F,U+677E,U+6789,U+67F1,U+6CC4,U+6D1E,U+72B9,U+73ED,U+754C,U+775B,U+78E8,U+7A81,U+7ADF,U+7B26,U+7EAF,U+7F0E,U+88C2,U+8A93,U+8C28,U+8C2C,U+8C6B,U+8EB2,U+903C,U+9047,U+95F2,U+9601,U+96C6; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c2777e9213.woff2?v=c2777e9213') format('woff2'); unicode-range: U+4ECB,U+501F,U+515C,U+5178,U+5371,U+5386,U+5473,U+5524,U+5546,U+5567,U+5636,U+5760,U+586B,U+5907,U+5B9C,U+5C60,U+5C94,U+5ED3,U+5F03,U+5FCD,U+6062,U+60DC,U+6247,U+62DF,U+635F,U+6382,U+6390,U+6572,U+6597,U+6717,U+67B6,U+6B8B,U+6C38,U+767E,U+76CF,U+77EE,U+793C,U+7A0D,U+7B56,U+7C92,U+7C97,U+7EAA,U+7ED5,U+7F69,U+8033,U+8036,U+82F1,U+83B7,U+886C,U+8BC9,U+8BE2,U+8C22,U+8D23,U+8F74,U+9014,U+91C7,U+9493,U+94ED,U+9608,U+9A7B; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-121fccd50e.woff2?v=121fccd50e') format('woff2'); unicode-range: U+2460,U+2461,U+4E25,U+4E58,U+4F50,U+5151,U+529F,U+5356,U+5377,U+53F2,U+542D,U+54DF,U+5584,U+56E2,U+5883,U+59A5,U+5B64,U+5B9D,U+5BBF,U+5C18,U+5F04,U+5F27,U+5F7C,U+6055,U+61C2,U+6233,U+62B1,U+62E6,U+62FC,U+632A,U+6447,U+64A4,U+66FE,U+6821,U+6CB9,U+6CFC,U+6DC6,U+6F6E,U+7206,U+738B,U+75DB,U+7792,U+7968,U+7A3F,U+7EDC,U+7F57,U+806A,U+80AF,U+8109,U+8131,U+82E5,U+8336,U+8D76,U+9012,U+9171,U+949D,U+966A,U+969C,U+9A6C,U+9C7C; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-21cba91cf8.woff2?v=21cba91cf8') format('woff2'); unicode-range: U+2462,U+4E07,U+4E3E,U+4F11,U+5077,U+5141,U+517B,U+526F,U+52FF,U+5413,U+5510,U+5632,U+575A,U+5782,U+59A8,U+5B54,U+5B81,U+5C82,U+5F02,U+5FAA,U+5FC6,U+5FD8,U+5FFD,U+6251,U+626F,U+6293,U+62D2,U+62D4,U+6316,U+63B7,U+641E,U+6491,U+659F,U+6DFB,U+6E29,U+70DF,U+70EC,U+7422,U+756A,U+7656,U+795E,U+7981,U+7A00,U+7AA5,U+7B79,U+7CDF,U+7ECD,U+7F6A,U+80A9,U+822C,U+82E6,U+8DE8,U+94FA,U+9505,U+952F,U+97F5,U+987E,U+98D8,U+9B3C,U+9F13; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-31b4480a4e.woff2?v=31b4480a4e') format('woff2'); unicode-range: U+4E1D,U+4EC6,U+518C,U+51BB,U+534F,U+541E,U+5495,U+54C9,U+552C,U+5600,U+59D3,U+5B8B,U+5C04,U+5E08,U+5E42,U+5F26,U+5FD9,U+6050,U+6270,U+6396,U+63A0,U+6458,U+6478,U+6482,U+6620,U+667E,U+67AA,U+6B3E,U+6B47,U+6B49,U+6BC1,U+6C47,U+6C49,U+6CDB,U+6D3B,U+6D3E,U+6EE4,U+70C1,U+7130,U+719F,U+72AF,U+751A,U+7529,U+7785,U+77A7,U+77AC,U+77B3,U+7840,U+788D,U+78C1,U+7B28,U+853D,U+8BBD,U+8D44,U+9500,U+95F8,U+9605,U+9648,U+9699,U+9AB0; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-bdba5f71cd.woff2?v=bdba5f71cd') format('woff2'); unicode-range: U+3000,U+4F38,U+52E4,U+54A6,U+54B3,U+54D7,U+5821,U+5854,U+5939,U+5BAB,U+5BB3,U+5C16,U+5DE5,U+6094,U+6127,U+61D2,U+61F5,U+6208,U+626E,U+62DB,U+62E2,U+62EC,U+6405,U+6492,U+6670,U+6735,U+6BD5,U+6D45,U+6D8C,U+72E0,U+72E1,U+7BAD,U+7D2F,U+7EB5,U+7ED2,U+7EFD,U+7F1D,U+7F8A,U+7F8E,U+8017,U+80E1,U+8106,U+8154,U+8584,U+86CB,U+878D,U+8822,U+8861,U+888B,U+8BA7,U+8C31,U+8D3C,U+8D5E,U+8F6F,U+914C,U+94A9,U+963F,U+9707,U+989C,U+9F20; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-53a1201e04.woff2?v=53a1201e04') format('woff2'); unicode-range: U+2463,U+300A,U+300B,U+4EA7,U+4ED4,U+4F69,U+517C,U+529D,U+52FE,U+5315,U+53D9,U+552F,U+5530,U+559D,U+5740,U+57AB,U+57CE,U+5899,U+58A8,U+59D1,U+59FF,U+5A01,U+5D4C,U+5DE8,U+5E93,U+5F2F,U+6084,U+60EF,U+625B,U+6269,U+62B5,U+62B9,U+6342,U+6349,U+634B,U+63EA,U+642C,U+655B,U+6B20,U+6B3A,U+6D51,U+6E0A,U+70D8,U+70E6,U+7119,U+732B,U+7434,U+7533,U+8BDA,U+8D35,U+8D81,U+8E29,U+8E6D,U+90BB,U+9489,U+94C1,U+96FE,U+9985,U+9AA4,U+9B42; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-44cdeaf8ba.woff2?v=44cdeaf8ba') format('woff2'); unicode-range: U+2208,U+2465,U+4E11,U+4E4C,U+4E91,U+4EA1,U+4EAB,U+4FC3,U+50AC,U+50BB,U+5367,U+5389,U+538C,U+539A,U+54C1,U+55BB,U+566A,U+56AF,U+56E4,U+56FD,U+584C,U+5BC2,U+5BFB,U+5C0A,U+5D29,U+5E78,U+5F08,U+60E8,U+6109,U+6234,U+624E,U+6254,U+75BC,U+7838,U+7A76,U+7BF7,U+7D2B,U+7EFC,U+7F04,U+7FBD,U+8083,U+810F,U+8346,U+8361,U+8363,U+83DC,U+83F1,U+892A,U+8BCA,U+8C10,U+8C41,U+8FF7,U+9017,U+9020,U+9274,U+950B,U+9686,U+9A71,U+9F7F,U+9F84; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-6825bbea03.woff2?v=6825bbea03') format('woff2'); unicode-range: U+2190,U+2464,U+25CF,U+300F,U+4E4F,U+4E56,U+4E61,U+4E88,U+4EC1,U+4ED7,U+4EF0,U+4F0F,U+4F2F,U+4FCF,U+503A,U+5065,U+626C,U+6276,U+629B,U+62FE,U+6355,U+63BA,U+6512,U+65A9,U+6676,U+673D,U+6742,U+6760,U+6B67,U+6BD2,U+6C1B,U+6CE2,U+6E9C,U+7075,U+7275,U+75C5,U+7B03,U+7E41,U+7ED1,U+7F00,U+7F72,U+80F8,U+8180,U+820C,U+820D,U+8212,U+8759,U+8760,U+8896,U+8BBF,U+8BE6,U+8C1C,U+8D1D,U+8E0F,U+9006,U+9057,U+96D5,U+9752,U+9971,U+9EC4; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-16f2ea33ff.woff2?v=16f2ea33ff') format('woff2'); unicode-range: U+507F,U+50A8,U+50F5,U+52A3,U+52A9,U+52C9,U+5300,U+5339,U+5343,U+540A,U+54E5,U+55D3,U+55D6,U+5662,U+582A,U+5835,U+58EE,U+58F6,U+5949,U+5AE9,U+5B69,U+5BD2,U+5BDE,U+5BE1,U+5C1D,U+5C24,U+5C48,U+5C4A,U+5DE1,U+5E7D,U+5E86,U+6076,U+60D5,U+611A,U+6151,U+6175,U+61BE,U+61C8,U+6297,U+62A0,U+62D9,U+62F1,U+6328,U+638C,U+63B0,U+643A,U+64C5,U+654F,U+6551,U+6555,U+6591,U+65A4,U+65E6,U+661F,U+6627,U+6684,U+68AF,U+6B66,U+6BCD,U+6C99; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-8e5ec0c21d.woff2?v=8e5ec0c21d') format('woff2'); unicode-range: U+220F,U+222A,U+2260,U+300E,U+3010,U+3011,U+4E01,U+4E16,U+4E1A,U+4E27,U+4E43,U+6CB3,U+6EF4,U+6F06,U+6F84,U+70C8,U+7236,U+7518,U+7686,U+7802,U+7A3D,U+7BC7,U+7EB3,U+7EF7,U+7EFF,U+7F15,U+8010,U+8165,U+82CD,U+8349,U+8870,U+88D9,U+88E4,U+8910,U+8B66,U+8BAD,U+8BF8,U+8D2F,U+8D4F,U+8D5A,U+8DC3,U+8E81,U+8FAB,U+8FCE,U+8FDD,U+8FEB,U+8FF8,U+90D1,U+94DC,U+9525,U+95F7,U+95FB,U+963B,U+96A7,U+9776,U+9897,U+9A82,U+9E23,U+9EBB,U+9F99; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-94468fa7a9.woff2?v=94468fa7a9') format('woff2'); unicode-range: U+4EA6,U+4EB5,U+4EF2,U+4F6C,U+4F73,U+4F83,U+4FEF,U+4FF1,U+5144,U+5195,U+519B,U+51AF,U+51E1,U+51F8,U+51FF,U+5238,U+526A,U+5319,U+5398,U+53F6,U+5448,U+545C,U+556A,U+5598,U+55A7,U+567C,U+56F0,U+5751,U+57AE,U+57C3,U+57CB,U+5802,U+5956,U+5986,U+5A49,U+5A92,U+5B98,U+5C2C,U+5C34,U+5C38,U+5C51,U+5C71,U+5CF0,U+5D3D,U+5DFE,U+5E05,U+5E3D,U+5F1F,U+5F81,U+604D,U+6069,U+606A,U+607C,U+609F,U+60A0,U+60B2,U+60B8,U+60D1,U+60E0,U+60ED; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-247b095047.woff2?v=247b095047') format('woff2'); unicode-range: U+60F9,U+6123,U+6252,U+626D,U+62CE,U+62D0,U+62DC,U+6346,U+634C,U+634F,U+6380,U+6401,U+640F,U+645E,U+6487,U+64AC,U+64E6,U+6525,U+65BD,U+6643,U+667A,U+674F,U+67C4,U+67D2,U+6805,U+68B0,U+68B3,U+68CD,U+68D2,U+68FA,U+6984,U+69B7,U+6A44,U+6A59,U+6B23,U+6B4C,U+6B6A,U+6B79,U+6BB7,U+6C61,U+6CAE,U+6D1B,U+6D3D,U+6D46,U+6D53,U+6D82,U+6D89,U+6DA1,U+6DA8,U+6E0E,U+6E34,U+6EA2,U+6ECB,U+6F2B,U+70AE,U+70B8,U+70C2,U+70D9,U+717D,U+71D5; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-bc5daaa746.woff2?v=bc5daaa746') format('woff2'); unicode-range: U+7259,U+72FC,U+7384,U+7396,U+73AB,U+7470,U+74DC,U+74F6,U+758F,U+75D2,U+763E,U+76B1,U+76D2,U+76D4,U+76FC,U+7709,U+7720,U+7728,U+776B,U+77AA,U+77E3,U+7816,U+795D,U+7978,U+7ADE,U+7B5B,U+7BB1,U+7C89,U+7CD5,U+7EA4,U+7EB1,U+803D,U+8096,U+80A1,U+80C1,U+810A,U+8170,U+81C6,U+826F,U+8292,U+82AF,U+82CF,U+82D7,U+82F9,U+836F,U+83AB,U+83BD,U+8511,U+8513,U+8537,U+8587,U+864E,U+86EE,U+8845,U+8854,U+8863,U+888D,U+8BA5,U+8BDE,U+8BE1; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4980b77380.woff2?v=4980b77380') format('woff2'); unicode-range: U+2018,U+2019,U+8BEC,U+8C13,U+8D38,U+8D4B,U+8D54,U+8D5B,U+8D6D,U+8D8B,U+8E48,U+8EAF,U+8EBA,U+8F68,U+8F89,U+8F99,U+8FC1,U+9003,U+902E,U+9042,U+9178,U+918B,U+94A5,U+94B1,U+94C3,U+94E0,U+9510,U+9523,U+9524,U+9633,U+9646,U+9677,U+96C5,U+96E8,U+96F7,U+9709,U+971C,U+9738,U+97E9,U+9896,U+98DF,U+9910,U+9976,U+9AA8,U+9B44,U+9C9C,U+9EE0,U+9F9F; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9a1f9736be.woff2?v=9a1f9736be') format('woff2'); unicode-range: U+4E08,U+4E18,U+4E19,U+4E1B,U+4E2B,U+4E30,U+4E38,U+4E39,U+4E3D,U+4E4D,U+4E52,U+4E53,U+4E54,U+4E5E,U+4E73,U+4E7E,U+4E95,U+4E9A,U+4EA2,U+4EA5,U+4EA8,U+4EA9,U+4EAC,U+4EAD,U+4EBF,U+4ED1,U+4ED3,U+4ED5,U+4ED9,U+4EDF,U+4EFF,U+4F01,U+4F0A,U+4F0E,U+4F10,U+4F1E,U+4F1F,U+4F26,U+4F36,U+4F3A,U+4F43,U+4F51,U+4F5B,U+4F63,U+4F6F,U+4F70,U+4F84,U+4F88,U+4F97,U+4FA0,U+4FA3,U+4FA5,U+4FA6,U+4FA8,U+4FA9,U+4FAE,U+4FAF,U+4FB5,U+4FC4,U+4FCA; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-549a682ee0.woff2?v=549a682ee0') format('woff2'); unicode-range: U+4FD0,U+4FD7,U+4FD8,U+4FDE,U+4FED,U+4FFA,U+5014,U+5018,U+501A,U+5021,U+5026,U+502A,U+5080,U+5085,U+5088,U+508D,U+50A3,U+50B2,U+50DA,U+50E7,U+50F3,U+50FB,U+5112,U+5121,U+5146,U+5154,U+515A,U+5162,U+5170,U+5179,U+517D,U+5180,U+5188,U+5189,U+5197,U+519C,U+51AC,U+51B6,U+51C4,U+51CB,U+51CC,U+51DB,U+51DD,U+51E4,U+51EF,U+51F0,U+51F3,U+51F6,U+51F9,U+5201,U+520A,U+5218,U+5228,U+522E,U+5239,U+523D,U+5241,U+5242,U+5243,U+524A; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-336a4a25d2.woff2?v=336a4a25d2') format('woff2'); unicode-range: U+5250,U+5254,U+5256,U+5265,U+5272,U+527F,U+5288,U+52AA,U+52AB,U+52B1,U+52B3,U+52C3,U+52D2,U+52D8,U+52DF,U+52FA,U+5306,U+5308,U+5317,U+531D,U+5320,U+5321,U+5323,U+532A,U+533B,U+533F,U+5349,U+534E,U+5351,U+5352,U+5353,U+5357,U+535A,U+535C,U+535E,U+5362,U+5364,U+536B,U+536F,U+5375,U+5378,U+537F,U+5382,U+5384,U+5395,U+53A2,U+53A6,U+53A8,U+53A9,U+53BF,U+53D4,U+53DB,U+53EC,U+53ED,U+53EE,U+53FC,U+5401,U+5409,U+540F,U+5415; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-a86e9b8e72.woff2?v=a86e9b8e72') format('woff2'); unicode-range: U+541B,U+541D,U+541F,U+5420,U+5428,U+5429,U+542E,U+5431,U+5434,U+543C,U+543E,U+5446,U+5450,U+5455,U+545B,U+5478,U+547B,U+5480,U+5486,U+548E,U+548F,U+5490,U+5492,U+5496,U+5499,U+54A8,U+54B8,U+54BD,U+54C6,U+54D1,U+54E8,U+54E9,U+54ED,U+54EE,U+54F2,U+54FA,U+5501,U+5506,U+5507,U+552E,U+553E,U+5543,U+5561,U+5564,U+556E,U+5578,U+557C,U+5580,U+5587,U+5589,U+55B3,U+55B7,U+55C5,U+55DC,U+55E1,U+55E3,U+55FD,U+5609,U+560E,U+5618; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-a63a3b38e8.woff2?v=a63a3b38e8') format('woff2'); unicode-range: U+5631,U+564E,U+566C,U+5676,U+568E,U+568F,U+56A3,U+56B7,U+56BC,U+56CA,U+56DA,U+56F1,U+5703,U+571F,U+572D,U+573E,U+574A,U+574D,U+574E,U+575D,U+575E,U+575F,U+5761,U+5764,U+576A,U+576F,U+5777,U+5783,U+5784,U+5792,U+579B,U+57A2,U+57A3,U+57A6,U+57C2,U+57D4,U+57E0,U+57F9,U+5811,U+5815,U+5824,U+5830,U+5851,U+5858,U+5885,U+5892,U+589F,U+58A9,U+58C1,U+58D5,U+58E4,U+58EC,U+590F,U+5915,U+592B,U+592F,U+5937,U+593A,U+5944,U+594B; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c573fc475b.woff2?v=c573fc475b') format('woff2'); unicode-range: U+594E,U+5954,U+5960,U+5962,U+5974,U+5976,U+5978,U+5984,U+5987,U+5988,U+598A,U+5992,U+5993,U+5996,U+59AE,U+59B9,U+59BB,U+59C6,U+59D0,U+59DA,U+59DC,U+59E5,U+59E8,U+59EC,U+59FB,U+5A03,U+5A04,U+5A07,U+5A18,U+5A1C,U+5A1F,U+5A20,U+5A25,U+5A29,U+5A31,U+5A36,U+5A46,U+5A5A,U+5A6A,U+5A74,U+5A76,U+5A7F,U+5A9A,U+5AB3,U+5AC1,U+5AC2,U+5AC9,U+5AE1,U+5B55,U+5B59,U+5B5C,U+5B5D,U+5B5F,U+5B63,U+5B6A,U+5B70,U+5B7A,U+5B7D,U+5B85,U+5B87; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-51b3e49c25.woff2?v=51b3e49c25') format('woff2'); unicode-range: U+5B8F,U+5B97,U+5B99,U+5B9B,U+5BA0,U+5BA4,U+5BA6,U+5BAA,U+5BB0,U+5BB5,U+5BC4,U+5BC5,U+5BC7,U+5BCC,U+5BD0,U+5BD3,U+5BDD,U+5BE5,U+5BE8,U+5BFA,U+5BFF,U+5C09,U+5C27,U+5C39,U+5C3C,U+5C3F,U+5C41,U+5C4B,U+5C4E,U+5C61,U+5C65,U+5C6F,U+5C79,U+5C7F,U+5C81,U+5C97,U+5C9B,U+5CA9,U+5CAD,U+5CB3,U+5CB8,U+5CBF,U+5CE1,U+5CE6,U+5CE8,U+5CEA,U+5CED,U+5CFB,U+5D07,U+5D0E,U+5D14,U+5D16,U+5D2D,U+5DCD,U+5DDD,U+5DDE,U+5DE2,U+5DE9,U+5DEB,U+5DF3; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-eab757ff86.woff2?v=eab757ff86') format('woff2'); unicode-range: U+5DF7,U+5E01,U+5E02,U+5E06,U+5E10,U+5E15,U+5E16,U+5E18,U+5E1A,U+5E1B,U+5E1C,U+5E1D,U+5E4C,U+5E62,U+5E7C,U+5E87,U+5E8A,U+5E90,U+5E97,U+5E99,U+5E9A,U+5E9C,U+5E9E,U+5EAD,U+5EB6,U+5EB7,U+5EB8,U+5EC9,U+5ECA,U+5ED6,U+5EF7,U+5F0A,U+5F13,U+5F17,U+5F18,U+5F1B,U+5F25,U+5F5D,U+5F64,U+5F66,U+5F6A,U+5F6C,U+5F6D,U+5F70,U+5F79,U+5F7B,U+5F8A,U+5F90,U+5F92,U+5F98,U+5FA1,U+5FB7,U+5FCC,U+5FE0,U+5FE7,U+5FF1,U+5FFB,U+5FFF,U+6014,U+6016; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-fe6cba4a7b.woff2?v=fe6cba4a7b') format('woff2'); unicode-range: U+601C,U+6020,U+6028,U+602F,U+6043,U+604B,U+6052,U+6064,U+6068,U+606B,U+606C,U+606D,U+6070,U+6073,U+607F,U+6089,U+608D,U+60A3,U+60A6,U+60AF,U+60BC,U+60CB,U+60DF,U+60E6,U+60E7,U+60E9,U+60EB,U+60EE,U+60F0,U+60F6,U+60FA,U+6101,U+6108,U+6148,U+6155,U+6167,U+6168,U+6170,U+6177,U+618E,U+61A8,U+61CA,U+61E6,U+620A,U+620C,U+620D,U+620E,U+6212,U+621A,U+622E,U+6266,U+6273,U+627C,U+6284,U+6289,U+6291,U+6292,U+629A,U+62A1,U+62A8; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-f49a53cf39.woff2?v=f49a53cf39') format('woff2'); unicode-range: U+62AB,U+62BF,U+62C2,U+62C4,U+62C7,U+62C8,U+62CC,U+62D3,U+62D8,U+62E3,U+62E5,U+62E7,U+62E8,U+62ED,U+62EF,U+62F3,U+62F4,U+62F7,U+62FD,U+630E,U+631A,U+631B,U+631D,U+631E,U+631F,U+6320,U+6323,U+632B,U+632F,U+633D,U+6345,U+634D,U+634E,U+6350,U+635E,U+6361,U+6363,U+6367,U+6376,U+637B,U+6387,U+6388,U+638F,U+6398,U+63A3,U+63B3,U+63B8,U+63C9,U+63CD,U+63D6,U+63E3,U+63E9,U+63F4,U+63FD,U+6400,U+6402,U+6410,U+6413,U+6414,U+641C; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-f7b6dd8281.woff2?v=f7b6dd8281') format('woff2'); unicode-range: U+642A,U+643D,U+6444,U+6448,U+6454,U+6467,U+6469,U+6479,U+6485,U+64A9,U+64AE,U+64B0,U+64B5,U+64BC,U+64C2,U+64D2,U+64DE,U+6500,U+6518,U+652B,U+653B,U+653F,U+654C,U+6556,U+655D,U+655E,U+6566,U+6577,U+658B,U+658C,U+65A1,U+65A5,U+65A7,U+65C5,U+65D7,U+65E8,U+65EC,U+65ED,U+65F1,U+65F7,U+65FA,U+6606,U+660C,U+660F,U+6614,U+6625,U+662D,U+663C,U+664B,U+664C,U+6652,U+6664,U+6666,U+6668,U+6674,U+6687,U+6691,U+66AE,U+66D9,U+66F0; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-67e25e8e4d.woff2?v=67e25e8e4d') format('woff2'); unicode-range: U+66F3,U+66F9,U+66FC,U+6714,U+6728,U+6731,U+6734,U+6746,U+6749,U+674E,U+6751,U+6756,U+675C,U+6768,U+676D,U+6770,U+6795,U+679D,U+67A2,U+67A3,U+67AB,U+67AF,U+67B7,U+67CF,U+67D1,U+67DC,U+67DE,U+67E0,U+67EF,U+67F3,U+67F4,U+67FF,U+6808,U+680B,U+6811,U+6813,U+6816,U+6817,U+682A,U+6842,U+6843,U+6845,U+6850,U+6851,U+6853,U+6854,U+6865,U+6868,U+6869,U+6876,U+6881,U+6885,U+6886,U+6897,U+68A2,U+68A6,U+68A7,U+68A8,U+68AD,U+68C9; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9816e8fb94.woff2?v=9816e8fb94') format('woff2'); unicode-range: U+68CB,U+68D5,U+68DA,U+68E0,U+68EE,U+68F1,U+68F5,U+6905,U+690D,U+690E,U+6912,U+6930,U+693D,U+693F,U+6954,U+695E,U+697C,U+6986,U+6994,U+699C,U+69A8,U+69B4,U+69D0,U+6A0A,U+6A1F,U+6A31,U+6A47,U+6A61,U+6A71,U+6A80,U+6A84,U+6AAC,U+6B27,U+6B32,U+6B7C,U+6B83,U+6B86,U+6B89,U+6B8A,U+6B96,U+6BB4,U+6BBF,U+6BC5,U+6BCB,U+6BD6,U+6BD7,U+6BD9,U+6BEF,U+6C0F,U+6C11,U+6C13,U+6C16,U+6C1F,U+6C22,U+6C26,U+6C27,U+6C28,U+6C2E,U+6C2F,U+6C30; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-d0ea994bb3.woff2?v=d0ea994bb3') format('woff2'); unicode-range: U+6C40,U+6C41,U+6C50,U+6C55,U+6C57,U+6C5B,U+6C5D,U+6C5E,U+6C5F,U+6C64,U+6C6A,U+6C70,U+6C72,U+6C79,U+6C7D,U+6C7E,U+6C81,U+6C82,U+6C83,U+6C88,U+6C8F,U+6C9B,U+6C9F,U+6CA4,U+6CA5,U+6CA6,U+6CA7,U+6CAA,U+6CAB,U+6CB8,U+6CBB,U+6CBC,U+6CBD,U+6CBE,U+6CC5,U+6CC9,U+6CCA,U+6CCC,U+6CDE,U+6CE3,U+6CE5,U+6CEA,U+6CF0,U+6CF3,U+6CF5,U+6CFB,U+6CFD,U+6D01,U+6D0B,U+6D12,U+6D25,U+6D2A,U+6D31,U+6D32,U+6D3C,U+6D47,U+6D4A,U+6D4E,U+6D59,U+6D5A; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-bd46e1e04a.woff2?v=bd46e1e04a') format('woff2'); unicode-range: U+6D66,U+6D69,U+6D74,U+6D77,U+6D78,U+6D85,U+6D8E,U+6D95,U+6D9B,U+6D9D,U+6D9F,U+6DA3,U+6DA4,U+6DA6,U+6DA7,U+6DA9,U+6DAA,U+6DAF,U+6DB2,U+6DB5,U+6DB8,U+6DC0,U+6DC4,U+6DCB,U+6DCC,U+6DD1,U+6DD6,U+6DD8,U+6DE4,U+6DEB,U+6DEC,U+6DEE,U+6DF3,U+6DF9,U+6E0D,U+6E14,U+6E17,U+6E1D,U+6E20,U+6E23,U+6E24,U+6E2D,U+6E2F,U+6E3A,U+6E43,U+6E4D,U+6E56,U+6E58,U+6E5B,U+6E7E,U+6E7F,U+6E83,U+6E85,U+6E89,U+6EAA,U+6EAF,U+6EB6,U+6EBA,U+6EC1,U+6EC7; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-189904afa1.woff2?v=189904afa1') format('woff2'); unicode-range: U+6ED3,U+6ED4,U+6EDE,U+6EE5,U+6EE6,U+6EE8,U+6EE9,U+6F13,U+6F20,U+6F31,U+6F33,U+6F3E,U+6F4D,U+6F58,U+6F5E,U+6F66,U+6F6D,U+6F88,U+6F8E,U+6F9C,U+6FA1,U+6FB3,U+6FD2,U+7011,U+704C,U+706F,U+7076,U+7078,U+707C,U+707E,U+707F,U+7089,U+708A,U+708E,U+7092,U+7094,U+7095,U+7099,U+70AC,U+70AD,U+70AF,U+70B3,U+70BC,U+70BD,U+70C3,U+70E4,U+70E9,U+70EB,U+70EF,U+70F7,U+70F9,U+70FD,U+7109,U+7115,U+711A,U+714C,U+714E,U+715E,U+7164,U+716E; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-b701d4f169.woff2?v=b701d4f169') format('woff2'); unicode-range: U+718A,U+718F,U+7194,U+7199,U+71AC,U+71C3,U+71CE,U+71E5,U+722A,U+722C,U+7237,U+7239,U+723D,U+725B,U+725F,U+7261,U+7267,U+7272,U+727A,U+7280,U+7281,U+728A,U+72AC,U+72C2,U+72C4,U+72C8,U+72D0,U+72D7,U+72D9,U+72DE,U+72ED,U+72EE,U+72F0,U+72F1,U+72F8,U+7316,U+731B,U+7329,U+732A,U+7334,U+733E,U+733F,U+736D,U+7389,U+739B,U+73B2,U+73BB,U+73CA,U+73CD,U+73D0,U+73E0,U+7403,U+7405,U+7409,U+7410,U+7433,U+7435,U+7436,U+743C,U+745A; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-46a3a45c5c.woff2?v=46a3a45c5c') format('woff2'); unicode-range: U+745E,U+745F,U+7476,U+7483,U+74E2,U+74E3,U+74E4,U+74E6,U+74EE,U+74F7,U+7504,U+751C,U+7525,U+752B,U+752D,U+7530,U+7538,U+7545,U+754F,U+7554,U+755C,U+7566,U+7574,U+7578,U+7586,U+7597,U+7599,U+759A,U+759F,U+75A1,U+75A4,U+75A5,U+75AB,U+75AE,U+75AF,U+75B2,U+75B5,U+75B9,U+75BD,U+75BE,U+75C7,U+75C8,U+75C9,U+75CA,U+75D4,U+75D8,U+75DE,U+75E2,U+75EA,U+75F0,U+75F4,U+75F9,U+7601,U+761F,U+7624,U+7626,U+7629,U+762A,U+762B,U+7634; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-8c45c479f3.woff2?v=8c45c479f3') format('woff2'); unicode-range: U+7638,U+764C,U+7663,U+7678,U+7682,U+7687,U+768B,U+7691,U+7696,U+76BF,U+76C2,U+76C5,U+76C6,U+76C8,U+76CE,U+76D0,U+76D1,U+76D7,U+76DB,U+76F2,U+7729,U+772F,U+7736,U+7737,U+773A,U+7763,U+7766,U+776C,U+7779,U+7784,U+77A5,U+77A9,U+77BB,U+77D7,U+77E2,U+77EB,U+77FD,U+77FE,U+77FF,U+780C,U+7812,U+7814,U+781A,U+7827,U+7830,U+7837,U+783E,U+7845,U+7852,U+7855,U+785D,U+786B,U+7877,U+787C,U+7889,U+788C,U+7891,U+7897,U+7898,U+789F; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9aaa515c43.woff2?v=9aaa515c43') format('woff2'); unicode-range: U+78A7,U+78B1,U+78B3,U+78B4,U+78BE,U+78C5,U+78CA,U+78CB,U+78D0,U+78D5,U+78F7,U+78FA,U+7901,U+793E,U+7941,U+7948,U+795F,U+7965,U+7977,U+7984,U+798F,U+79B9,U+79BD,U+79BE,U+79C0,U+79C3,U+79C6,U+79C9,U+79CB,U+79D1,U+79DF,U+79E4,U+79E6,U+79E7,U+79E9,U+79F8,U+79FD,U+7A0E,U+7A17,U+7A1A,U+7A20,U+7A3B,U+7A3C,U+7A46,U+7A57,U+7A74,U+7A77,U+7A83,U+7A8D,U+7A91,U+7A92,U+7A96,U+7A98,U+7A9C,U+7A9D,U+7AE3,U+7AE5,U+7AED,U+7AF9,U+7AFF; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-6595514de8.woff2?v=6595514de8') format('woff2'); unicode-range: U+7B06,U+7B0B,U+7B1B,U+7B3A,U+7B3C,U+7B4B,U+7B4F,U+7B50,U+7B51,U+7B52,U+7B77,U+7B8D,U+7B94,U+7B95,U+7BA9,U+7BC6,U+7BD3,U+7BD9,U+7BE1,U+7BEE,U+7BF1,U+7C07,U+7C27,U+7C4D,U+7C7D,U+7C95,U+7C98,U+7C9F,U+7CA4,U+7CA5,U+7CAA,U+7CAE,U+7CB1,U+7CB3,U+7CB9,U+7CD6,U+7CD9,U+7CDC,U+7CE0,U+7CEF,U+7D0A,U+7D6E,U+7E82,U+7EAB,U+7EAC,U+7EB2,U+7EB6,U+7EB7,U+7EBA,U+7EBD,U+7EC5,U+7EC7,U+7ECA,U+7ECE,U+7EDA,U+7EDE,U+7EE2,U+7EE3,U+7EE5,U+7EE6; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-2597aeaa4d.woff2?v=2597aeaa4d') format('woff2'); unicode-range: U+7EE9,U+7EF0,U+7EF3,U+7EF5,U+7EF8,U+7F05,U+7F06,U+7F09,U+7F14,U+7F1A,U+7F20,U+7F28,U+7F2E,U+7F34,U+7F38,U+7F50,U+7F55,U+7F5A,U+7F8C,U+7F94,U+7F9A,U+7F9E,U+7FA1,U+7FB9,U+7FC1,U+7FC5,U+7FCC,U+7FD4,U+7FD8,U+7FDF,U+7FE0,U+7FF0,U+7FF1,U+7FFC,U+8000,U+800D,U+8015,U+8018,U+8019,U+802A,U+8038,U+803B,U+803F,U+8042,U+804B,U+804C,U+8058,U+8084,U+8087,U+8089,U+808B,U+808C,U+8098,U+809A,U+809B,U+809D,U+80A0,U+80A2,U+80A5,U+80AA; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-0fbd1d4877.woff2?v=0fbd1d4877') format('woff2'); unicode-range: U+80AE,U+80B2,U+80BA,U+80BE,U+80BF,U+80C0,U+80C3,U+80CE,U+80D6,U+80DA,U+80DE,U+80EF,U+80F0,U+80F3,U+80F6,U+80FA,U+8102,U+8110,U+8113,U+8116,U+812F,U+813E,U+8146,U+814A,U+814B,U+8150,U+8151,U+8155,U+816E,U+8179,U+817A,U+817E,U+817F,U+818A,U+818F,U+8198,U+819B,U+819C,U+819D,U+81A8,U+81B3,U+81C0,U+81C2,U+81C3,U+81E3,U+81ED,U+81FB,U+81FC,U+8200,U+8205,U+8206,U+8214,U+821C,U+821F,U+822A,U+8230,U+8231,U+8235,U+8236,U+8237; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4bdc836806.woff2?v=4bdc836806') format('woff2'); unicode-range: U+8239,U+8247,U+8258,U+8270,U+8273,U+827A,U+828B,U+828D,U+829C,U+829D,U+82A5,U+82A6,U+82AC,U+82AD,U+82B3,U+82B9,U+82BD,U+82C7,U+82D1,U+82D4,U+82DB,U+82DE,U+82DF,U+82EB,U+82EF,U+8301,U+8302,U+8304,U+8305,U+830E,U+8327,U+8328,U+832B,U+832C,U+8335,U+8338,U+8339,U+8354,U+835A,U+8364,U+8367,U+836B,U+8377,U+8386,U+838E,U+83B2,U+83B9,U+83C7,U+83CA,U+83CC,U+83CF,U+83E0,U+83E9,U+83F2,U+8404,U+840C,U+840D,U+840E,U+841D,U+8424; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c68f284f33.woff2?v=c68f284f33') format('woff2'); unicode-range: U+8427,U+8428,U+8457,U+845B,U+8461,U+8463,U+846B,U+846C,U+8471,U+8475,U+8482,U+848B,U+849C,U+84B2,U+84B8,U+84C4,U+84C9,U+84D1,U+84D6,U+84DF,U+84EC,U+8517,U+851A,U+8521,U+852B,U+852C,U+853C,U+8549,U+854A,U+8574,U+859B,U+85AA,U+85AF,U+85C9,U+85D0,U+85D5,U+85E4,U+85E9,U+85FB,U+8611,U+8638,U+864F,U+8650,U+865E,U+866B,U+8671,U+8679,U+867D,U+867E,U+8680,U+8681,U+8682,U+868A,U+868C,U+8695,U+869C,U+86A4,U+86C0,U+86C6,U+86C7; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-3f452c0f60.woff2?v=3f452c0f60') format('woff2'); unicode-range: U+86CA,U+86D4,U+86D9,U+86DB,U+86E4,U+86F0,U+86F9,U+86FE,U+8700,U+8702,U+8712,U+8715,U+8717,U+8718,U+871C,U+8747,U+8749,U+874E,U+8757,U+8774,U+8776,U+879F,U+87BA,U+87F9,U+8815,U+884D,U+8857,U+8859,U+886B,U+8877,U+8881,U+8884,U+8892,U+889C,U+88AD,U+88B1,U+88D4,U+88D5,U+88F3,U+88F4,U+88F8,U+88F9,U+8902,U+8912,U+8925,U+8944,U+895F,U+89C5,U+8A79,U+8A89,U+8A8A,U+8B6C,U+8BA3,U+8BAB,U+8BAF,U+8BB3,U+8BB9,U+8BBC,U+8BC0,U+8BC5; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-6e79fd4c44.woff2?v=6e79fd4c44') format('woff2'); unicode-range: U+8BCC,U+8BD1,U+8BD7,U+8BDB,U+8BE3,U+8BE7,U+8BEB,U+8BF2,U+8BF5,U+8BFD,U+8BFE,U+8C05,U+8C06,U+8C0A,U+8C0B,U+8C0D,U+8C17,U+8C1A,U+8C23,U+8C24,U+8C26,U+8C29,U+8C2D,U+8C30,U+8C34,U+8C37,U+8C46,U+8C4C,U+8C62,U+8C6A,U+8C79,U+8C7A,U+8C89,U+8C8C,U+8D1E,U+8D21,U+8D22,U+8D24,U+8D29,U+8D2A,U+8D2B,U+8D2C,U+8D2D,U+8D2E,U+8D31,U+8D37,U+8D3A,U+8D3E,U+8D3F,U+8D41,U+8D42,U+8D4A,U+8D4E,U+8D50,U+8D58,U+8D60,U+8D61,U+8D63,U+8D66,U+8D6B; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-7538562a76.woff2?v=7538562a76') format('woff2'); unicode-range: U+8D75,U+8DB4,U+8DBE,U+8DCB,U+8DCC,U+8DEA,U+8DF5,U+8DFA,U+8E0A,U+8E0C,U+8E1E,U+8E22,U+8E2A,U+8E44,U+8E4B,U+8E66,U+8E6C,U+8E72,U+8E7F,U+8E87,U+8EAC,U+8F67,U+8F69,U+8F70,U+8F7F,U+8F85,U+8F86,U+8F88,U+8F8A,U+8F90,U+8F95,U+8F96,U+8F97,U+8F9B,U+8F9C,U+8F9F,U+8FA3,U+8FA8,U+8FB0,U+8FB1,U+8FBD,U+8FC2,U+8FC4,U+8FC5,U+8FC8,U+8FE2,U+8FEA,U+8FED,U+8FF9,U+900A,U+901B,U+901D,U+901E,U+9022,U+9038,U+903E,U+9041,U+904F,U+9063,U+9065; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-e6a235bc7c.woff2?v=e6a235bc7c') format('woff2'); unicode-range: U+906D,U+9075,U+9091,U+9093,U+90A2,U+90A6,U+90AA,U+90AE,U+90AF,U+90B1,U+90B5,U+90B9,U+90C1,U+90CA,U+90CE,U+90DD,U+90E1,U+90E7,U+90ED,U+90F4,U+90F8,U+9102,U+9119,U+9149,U+914B,U+9157,U+915A,U+915D,U+915E,U+9163,U+9165,U+916A,U+916C,U+916E,U+9175,U+9176,U+9177,U+917F,U+9187,U+9189,U+919A,U+919B,U+91C9,U+91CE,U+91DC,U+948E,U+9492,U+9499,U+949E,U+94A0,U+94A1,U+94A2,U+94A6,U+94A7,U+94A8,U+94B3,U+94B5,U+94BB,U+94BE,U+94C0; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-e5f1790309.woff2?v=e5f1790309') format('woff2'); unicode-range: U+94C2,U+94C5,U+94C6,U+94DD,U+94E1,U+94E3,U+94EC,U+94F0,U+94F1,U+94F2,U+94F8,U+9504,U+9508,U+950C,U+9511,U+9517,U+9521,U+9526,U+9528,U+952D,U+9530,U+9539,U+953B,U+9540,U+9541,U+9547,U+954A,U+954D,U+9550,U+9551,U+9563,U+956D,U+9570,U+9576,U+95EF,U+95F0,U+95FA,U+95FD,U+9600,U+9602,U+9609,U+960E,U+9610,U+9611,U+9614,U+961C,U+962E,U+9640,U+9647,U+964B,U+964C,U+9655,U+965B,U+9661,U+9662,U+9668,U+9675,U+9676,U+9685,U+968B; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-d7c9db16e3.woff2?v=d7c9db16e3') format('woff2'); unicode-range: U+9698,U+96B6,U+96C0,U+96C1,U+96C4,U+96C7,U+96CC,U+96CD,U+96CF,U+96EA,U+96F9,U+9704,U+970D,U+9713,U+9716,U+971E,U+9739,U+9756,U+975B,U+9761,U+9769,U+9773,U+9774,U+978B,U+978D,U+9798,U+97A0,U+97AD,U+97E6,U+97E7,U+97ED,U+97F6,U+9877,U+987D,U+9881,U+9882,U+9885,U+9887,U+9888,U+988A,U+9890,U+9893,U+98A0,U+98A4,U+98A7,U+9965,U+996D,U+996E,U+996F,U+9972,U+997A,U+997C,U+997F,U+9981,U+9986,U+998B,U+998F,U+9992,U+9999,U+9A6D; }
@font-face { font-family: 'RB Kai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-46a3174a74.woff2?v=46a3174a74') format('woff2'); unicode-range: U+9A6E,U+9A6F,U+9A70,U+9A74,U+9A76,U+9A79,U+9A7C,U+9A7E,U+9A84,U+9A86,U+9A87,U+9A8B,U+9A8F,U+9A9A,U+9AA1,U+9AB8,U+9AD3,U+9B03,U+9B41,U+9B4F,U+9B54,U+9C81,U+9C8D,U+9CA4,U+9CB8,U+9CC3,U+9CD6,U+9CDE,U+9E1F,U+9E21,U+9E25,U+9E2D,U+9E2F,U+9E33,U+9E35,U+9E3D,U+9E3F,U+9E43,U+9E45,U+9E4A,U+9E4F,U+9E64,U+9E70,U+9E7F,U+9E93,U+9EA6,U+9ECD,U+9ECE,U+9ED4,U+9F0E,U+9F3B,U+9F8B,U+9F9A; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-187d541893.woff2?v=187d541893') format('woff2'); unicode-range: U+20,U+21,U+22,U+23,U+24,U+25,U+26,U+27,U+28,U+29,U+2A,U+2B,U+2C,U+2D,U+2E,U+2F,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+3A,U+3B,U+3C,U+3D,U+3E,U+3F,U+40,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4E,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+5B; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-7ef1cf20a8.woff2?v=7ef1cf20a8') format('woff2'); unicode-range: U+5C,U+5D,U+5E,U+5F,U+60,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+7B,U+7C,U+7D,U+7E,U+4EBA,U+4F4D,U+5165,U+51FA,U+53EF,U+58F0,U+591C,U+5BA2,U+5BB4,U+5BBE,U+5E2D,U+5F71,U+623F,U+627F,U+65E0,U+6708,U+793A,U+8005,U+8840,U+8BF7,U+8D64,U+95F4,U+FF08,U+FF09,U+FF1A; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-1b226d5692.woff2?v=1b226d5692') format('woff2'); unicode-range: U+2026,U+4E00,U+4E48,U+4E60,U+4ECE,U+4EE3,U+4EE5,U+4F60,U+4F8D,U+51A0,U+5203,U+5211,U+53CC,U+53F8,U+540D,U+5951,U+59CB,U+5BF9,U+5C40,U+5DF2,U+5E7B,U+5F85,U+6000,U+624B,U+6267,U+63A5,U+6559,U+65F6,U+660E,U+663E,U+6697,U+66DD,U+68D8,U+6F5C,U+724C,U+730E,U+7406,U+7531,U+7535,U+7591,U+771F,U+796D,U+7A0B,U+7EC3,U+7EE7,U+7F6E,U+8111,U+81EA,U+865A,U+884C,U+8BBE,U+8BF4,U+8BFA,U+8EAB,U+8F6E,U+8FDE,U+9009,U+9080,U+90A3,U+9762; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-cecca15d99.woff2?v=cecca15d99') format('woff2'); unicode-range: U+B7,U+4E0D,U+4E3A,U+4E92,U+4EC0,U+4EFD,U+4FDD,U+4FE1,U+5047,U+51C6,U+51FD,U+521B,U+5230,U+5347,U+534A,U+53CD,U+53D1,U+548C,U+5728,U+5927,U+5948,U+594F,U+5B8C,U+5BB6,U+5C31,U+5E26,U+5E73,U+5EFA,U+5F00,U+5F20,U+5F31,U+5FAE,U+5FEB,U+6012,U+60C5,U+60CA,U+6124,U+6162,U+6211,U+6301,U+6446,U+6574,U+67E5,U+6807,U+6837,U+7269,U+76DF,U+7B11,U+7D27,U+7EC8,U+7ED3,U+7ED9,U+8282,U+8868,U+8BB6,U+8D77,U+90FD,U+95EE,U+9732,U+9759; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-66675aeddc.woff2?v=66675aeddc') format('woff2'); unicode-range: U+3002,U+4E3B,U+4ECA,U+4F59,U+4F5C,U+5148,U+5176,U+51B5,U+5206,U+5219,U+521D,U+5236,U+5417,U+542F,U+56ED,U+58F9,U+590D,U+5B57,U+5E84,U+5F53,U+5F62,U+600E,U+620F,U+6218,U+62E9,U+63D0,U+64CD,U+6570,U+65B0,U+65CF,U+6765,U+677F,U+67EC,U+6B21,U+6D4B,U+6E38,U+73A9,U+7684,U+76F4,U+770B,U+7801,U+79BB,U+7A7A,U+7B2C,U+7C3F,U+827E,U+8389,U+89C4,U+8BD5,U+8C61,U+8D74,U+8DF3,U+8F93,U+8FC7,U+91CC,U+949F,U+94FE,U+968F,U+9ED1,U+FF1F; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4fef29695d.woff2?v=4fef29695d') format('woff2'); unicode-range: U+2014,U+3001,U+300C,U+300D,U+4E0A,U+4E0B,U+4E2A,U+4E5F,U+4E86,U+4F0D,U+4F1A,U+516C,U+518D,U+5200,U+522B,U+524D,U+52A0,U+52A8,U+53C1,U+53CB,U+53E5,U+53EA,U+540C,U+540E,U+56DE,U+5973,U+597D,U+5B9A,U+5C14,U+5DEE,U+5EA7,U+6216,U+628A,U+6309,U+65B9,U+662F,U+6709,U+670B,U+672C,U+679C,U+684C,U+6CA1,U+70B9,U+7235,U+7528,U+76EE,U+7740,U+7B49,U+7EF4,U+7FFB,U+8086,U+8272,U+8499,U+8BDD,U+8D30,U+8FD8,U+8FD9,U+FF01,U+FF0C,U+FF1B; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9c43ca84b6.woff2?v=9c43ca84b6') format('woff2'); unicode-range: U+2192,U+4E0E,U+4E24,U+4E2D,U+4E4B,U+4E8B,U+4ED6,U+4EEC,U+50CF,U+5168,U+5370,U+538B,U+53BB,U+53E3,U+5427,U+5475,U+54C8,U+573A,U+591A,U+5934,U+5B50,U+5B9E,U+5C0F,U+5DF1,U+5EA6,U+5F97,U+60F3,U+6210,U+6237,U+6253,U+6307,U+6536,U+653E,U+6653,U+6700,U+6761,U+6846,U+6BCF,U+6C14,U+7559,U+767D,U+773C,U+7741,U+79D8,U+7ACB,U+7B97,U+80FD,U+88AB,U+8981,U+89C1,U+89D2,U+8A00,U+8BA4,U+8BB0,U+8BED,U+8C01,U+8FDB,U+91CD,U+97F3,U+9ED8; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9def9a10a8.woff2?v=9def9a10a8') format('woff2'); unicode-range: U+4EA4,U+4EAE,U+4F4F,U+505C,U+5149,U+5173,U+5199,U+51B3,U+51E0,U+5355,U+5361,U+53E6,U+53F0,U+53F3,U+5408,U+542C,U+5440,U+55EF,U+5668,U+56FE,U+575B,U+5965,U+5B89,U+5BBD,U+5E95,U+5F55,U+6001,U+610F,U+624D,U+62A5,U+6362,U+6389,U+6392,U+63A8,U+63ED,U+64AD,U+65AF,U+670D,U+673A,U+6B63,U+6C89,U+6CE1,U+6E05,U+6F14,U+7167,U+7279,U+73B0,U+753B,U+7834,U+7EBF,U+7ED8,U+897F,U+8BA1,U+8BA9,U+8BCD,U+8DDF,U+8FB9,U+91CF,U+957F,U+9AD8; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-00e96db1d5.woff2?v=00e96db1d5') format('woff2'); unicode-range: U+4E09,U+4EF6,U+4EFB,U+4FA7,U+503C,U+5185,U+5192,U+5217,U+5224,U+5269,U+52A1,U+539F,U+53D8,U+5411,U+54CE,U+5566,U+561B,U+5916,U+5929,U+592A,U+5BC6,U+5C11,U+5C42,U+5C4F,U+5E94,U+5F0F,U+5FC3,U+606F,U+6240,U+62C9,U+62FF,U+636E,U+6539,U+6548,U+6587,U+65AD,U+66F4,U+683C,U+6B64,U+6BB5,U+6BD4,U+6CBF,U+6CD5,U+76D8,U+76F8,U+79CD,U+79F0,U+7AEF,U+7EA6,U+7ECF,U+8425,U+89C6,U+8BC1,U+8C03,U+8FD1,U+9053,U+90E8,U+9635,U+9875,U+9898; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-3849426e27.woff2?v=3849426e27') format('woff2'); unicode-range: U+4E8E,U+4F20,U+4F46,U+4F53,U+4F55,U+514B,U+521A,U+523B,U+5316,U+5360,U+53D6,U+53F7,U+5462,U+54E6,U+54FC,U+5509,U+585E,U+5904,U+591F,U+5982,U+5B58,U+5DE6,U+5E38,U+5E8F,U+6027,U+65E7,U+665A,U+671F,U+680F,U+6A2A,U+6C34,U+6DE1,U+7136,U+77E5,U+77ED,U+786E,U+79D2,U+7C7B,U+7D20,U+7EED,U+7F29,U+843D,U+8865,U+89E3,U+8BBA,U+8BC4,U+8BFB,U+8C0E,U+8D28,U+8D70,U+8D8A,U+91D1,U+94AE,U+9519,U+952E,U+961F,U+9650,U+987A,U+98CE,U+FF5E; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9ad0d63914.woff2?v=9ad0d63914') format('woff2'); unicode-range: U+201C,U+201D,U+4E32,U+4F4E,U+4F9D,U+505A,U+5177,U+51B2,U+533A,U+53C2,U+53E4,U+5404,U+5426,U+542B,U+54AC,U+54EA,U+5706,U+5B83,U+5BB9,U+5E72,U+5E76,U+5F88,U+5FC5,U+5FF5,U+6025,U+603B,U+62BD,U+65E9,U+6602,U+6628,U+666F,U+672A,U+675F,U+6797,U+6B65,U+6EE1,U+7247,U+72B6,U+732E,U+7387,U+751F,U+76EF,U+79C1,U+7AE0,U+7C73,U+800C,U+80CC,U+81F4,U+83B1,U+857E,U+85CF,U+89C2,U+8BE5,U+8D85,U+9000,U+9001,U+900F,U+9876,U+9884,U+9E26; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-65f234d7a7.woff2?v=65f234d7a7') format('woff2'); unicode-range: U+2265,U+4ECD,U+4F34,U+4F8B,U+4FBF,U+51C0,U+51D1,U+51FB,U+5207,U+5267,U+52BF,U+5348,U+53C8,U+53E0,U+5435,U+547C,U+554A,U+5634,U+56DB,U+5957,U+5BA1,U+5E55,U+5F15,U+5F80,U+62C5,U+62CD,U+6311,U+6562,U+65C1,U+6682,U+66FF,U+6743,U+6750,U+6863,U+695A,U+6982,U+6D88,U+70DB,U+7248,U+76D6,U+7A33,U+7AD9,U+7EA2,U+7EC4,U+7EDF,U+8003,U+80DC,U+821E,U+88C5,U+89C9,U+89E6,U+8BB2,U+8F7B,U+8FD4,U+8FDC,U+9010,U+914D,U+95ED,U+9760,U+9A8C; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c7196611a9.woff2?v=c7196611a9') format('woff2'); unicode-range: U+4E14,U+4E22,U+4E59,U+4E66,U+4E71,U+4E8C,U+4E9B,U+4EE4,U+4EEA,U+4FE9,U+5012,U+5019,U+504F,U+5171,U+51B7,U+51ED,U+5373,U+5374,U+5385,U+5403,U+54CD,U+5730,U+5750,U+5757,U+5806,U+5893,U+5931,U+5C55,U+5C5E,U+5F39,U+601D,U+6325,U+63A7,U+6784,U+6838,U+6A21,U+6DF1,U+6F02,U+6F0F,U+72EC,U+7565,U+79FB,U+7F13,U+804A,U+8138,U+8D26,U+8DEF,U+8F6C,U+901A,U+901F,U+907F,U+91CA,U+955C,U+95EA,U+9669,U+9690,U+9700,U+9879,U+987B,U+9996; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9deabab538.woff2?v=9deabab538') format('woff2'); unicode-range: U+4EF7,U+4F18,U+503E,U+513F,U+514D,U+51CF,U+5237,U+529E,U+53F9,U+5439,U+544A,U+547D,U+558A,U+56E0,U+5708,U+578B,U+5C3E,U+5E03,U+602A,U+60AC,U+62A2,U+62A4,U+62C6,U+63E1,U+649E,U+652F,U+6740,U+679A,U+67D0,U+6848,U+6B7B,U+6BDB,U+6D17,U+6DF7,U+70E7,U+767B,U+76AE,U+780D,U+78B0,U+7A7F,U+7A97,U+7EB9,U+7EEA,U+80C6,U+81F3,U+8651,U+8BAE,U+8BB8,U+8BF6,U+8D1F,U+8DD1,U+8F7D,U+8FD0,U+9192,U+95E8,U+9632,U+987F,U+9891,U+989D,U+98DE; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-0d65fb9c8a.woff2?v=0d65fb9c8a') format('woff2'); unicode-range: U+2264,U+4F30,U+4F7F,U+5143,U+5229,U+523A,U+529B,U+53D7,U+5443,U+54B1,U+5514,U+559C,U+56FA,U+5F3A,U+5F84,U+60A8,U+6263,U+627E,U+6298,U+62D6,U+6302,U+6321,U+65E5,U+671B,U+6839,U+68C0,U+6977,U+69FD,U+6B22,U+6B62,U+6C42,U+6ED1,U+706B,U+73AF,U+7532,U+76CA,U+76FE,U+77DB,U+786C,U+7AD6,U+7B54,U+7B7E,U+7CFB,U+7EB8,U+7EC6,U+7F18,U+7F3A,U+8721,U+8BA8,U+8C08,U+8D34,U+8D39,U+8DB3,U+8F9E,U+8FA9,U+9501,U+9636,U+9644,U+9970,U+9F50; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-2ca0772dd1.woff2?v=2ca0772dd1') format('woff2'); unicode-range: U+4E34,U+4E45,U+4E4E,U+4EC5,U+4F3C,U+4FEE,U+500D,U+5145,U+53EB,U+54C7,U+5582,U+563F,U+5ACC,U+5BDF,U+5BF8,U+5C01,U+5C3A,U+5E2E,U+5E45,U+5E7F,U+5F8B,U+5FD7,U+618B,U+622A,U+6279,U+659C,U+666E,U+6696,U+671D,U+67D3,U+69DB,U+6BE1,U+6CE8,U+6E90,U+6FC0,U+70ED,U+731C,U+7701,U+778E,U+77F3,U+788E,U+7B14,U+7BA1,U+7CCA,U+7D22,U+7EA7,U+7EDD,U+811A,U+8BC8,U+8BEF,U+8D25,U+8F66,U+8F91,U+8FDF,U+8FFD,U+903B,U+906E,U+9694,U+96F6,U+975E; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4806cd203e.woff2?v=4806cd203e') format('woff2'); unicode-range: U+2248,U+4E13,U+4E50,U+4E70,U+4EC7,U+4F17,U+4F24,U+4F2A,U+5076,U+51C9,U+5212,U+5457,U+5458,U+5565,U+5723,U+574F,U+59D4,U+5C3D,U+5C45,U+5FBD,U+611F,U+613F,U+63A2,U+644A,U+6545,U+6599,U+66B4,U+66F2,U+67D4,U+683D,U+692D,U+6D41,U+6D6E,U+6E10,U+6E32,U+7126,U+7231,U+7537,U+75D5,U+7A84,U+7CBE,U+7F16,U+7FA4,U+8001,U+80A4,U+817B,U+82B1,U+8BC6,U+8BF1,U+8D27,U+8D4C,U+8D62,U+8D9F,U+8DA3,U+8DDD,U+9488,U+94F6,U+951A,U+9A91,U+9A97; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-55a3eb0e53.woff2?v=55a3eb0e53') format('woff2'); unicode-range: U+4E03,U+4EB2,U+4F9B,U+51B0,U+5220,U+5251,U+53C9,U+5544,U+563B,U+56F4,U+57FA,U+589E,U+58F3,U+5B75,U+5C49,U+5E0C,U+5E74,U+5F69,U+6002,U+6015,U+603C,U+614E,U+62BC,U+6324,U+6377,U+63A9,U+63D2,U+64CE,U+6563,U+6613,U+6790,U+6C60,U+6D6A,U+6E21,U+6EDA,U+7070,U+710A,U+7238,U+7262,U+77E9,U+7956,U+7A9F,U+7ABF,U+7F62,U+805A,U+8303,U+88C1,U+8986,U+8BA2,U+8FBE,U+8FF0,U+9002,U+904D,U+95F9,U+9634,U+9645,U+964D,U+96BE,U+9988,U+9A73; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-ac5a08e692.woff2?v=ac5a08e692') format('woff2'); unicode-range: U+4E1C,U+4E5D,U+4E89,U+4E94,U+4ED8,U+4F19,U+516B,U+516D,U+5174,U+5175,U+51A4,U+52C7,U+52CB,U+5305,U+5341,U+53CA,U+5410,U+5438,U+54AF,U+5657,U+58EB,U+592E,U+5938,U+5B88,U+5BFC,U+5C1A,U+5DE7,U+5E27,U+5EF6,U+6258,U+6280,U+6296,U+62AC,U+633A,U+656C,U+65CB,U+672D,U+676F,U+6781,U+6BEB,U+6D4F,U+706D,U+7184,U+7761,U+79EF,U+7B80,U+7EA0,U+7F51,U+8054,U+8350,U+8352,U+84DD,U+89C8,U+8D43,U+8D56,U+8F83,U+9152,U+9664,U+9886,U+9975; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-3adc8c7f25.woff2?v=3adc8c7f25') format('woff2'); unicode-range: U+4E49,U+4E8F,U+52B2,U+543B,U+5468,U+548B,U+54C0,U+54C4,U+5531,U+5747,U+5766,U+57DF,U+5947,U+5979,U+5999,U+5B66,U+5BA3,U+5C06,U+5CD9,U+5DF4,U+5E9F,U+5F52,U+614C,U+6241,U+626B,U+6295,U+63AA,U+63CF,U+642D,U+6495,U+65E2,U+6655,U+672B,U+672F,U+677E,U+6789,U+67F1,U+6CC4,U+6D1E,U+72B9,U+73ED,U+754C,U+775B,U+78E8,U+7A81,U+7ADF,U+7B26,U+7EAF,U+7F0E,U+88C2,U+8A93,U+8C28,U+8C2C,U+8C6B,U+8EB2,U+903C,U+9047,U+95F2,U+9601,U+96C6; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c2777e9213.woff2?v=c2777e9213') format('woff2'); unicode-range: U+4ECB,U+501F,U+515C,U+5178,U+5371,U+5386,U+5473,U+5524,U+5546,U+5567,U+5636,U+5760,U+586B,U+5907,U+5B9C,U+5C60,U+5C94,U+5ED3,U+5F03,U+5FCD,U+6062,U+60DC,U+6247,U+62DF,U+635F,U+6382,U+6390,U+6572,U+6597,U+6717,U+67B6,U+6B8B,U+6C38,U+767E,U+76CF,U+77EE,U+793C,U+7A0D,U+7B56,U+7C92,U+7C97,U+7EAA,U+7ED5,U+7F69,U+8033,U+8036,U+82F1,U+83B7,U+886C,U+8BC9,U+8BE2,U+8C22,U+8D23,U+8F74,U+9014,U+91C7,U+9493,U+94ED,U+9608,U+9A7B; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-121fccd50e.woff2?v=121fccd50e') format('woff2'); unicode-range: U+2460,U+2461,U+4E25,U+4E58,U+4F50,U+5151,U+529F,U+5356,U+5377,U+53F2,U+542D,U+54DF,U+5584,U+56E2,U+5883,U+59A5,U+5B64,U+5B9D,U+5BBF,U+5C18,U+5F04,U+5F27,U+5F7C,U+6055,U+61C2,U+6233,U+62B1,U+62E6,U+62FC,U+632A,U+6447,U+64A4,U+66FE,U+6821,U+6CB9,U+6CFC,U+6DC6,U+6F6E,U+7206,U+738B,U+75DB,U+7792,U+7968,U+7A3F,U+7EDC,U+7F57,U+806A,U+80AF,U+8109,U+8131,U+82E5,U+8336,U+8D76,U+9012,U+9171,U+949D,U+966A,U+969C,U+9A6C,U+9C7C; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-21cba91cf8.woff2?v=21cba91cf8') format('woff2'); unicode-range: U+2462,U+4E07,U+4E3E,U+4F11,U+5077,U+5141,U+517B,U+526F,U+52FF,U+5413,U+5510,U+5632,U+575A,U+5782,U+59A8,U+5B54,U+5B81,U+5C82,U+5F02,U+5FAA,U+5FC6,U+5FD8,U+5FFD,U+6251,U+626F,U+6293,U+62D2,U+62D4,U+6316,U+63B7,U+641E,U+6491,U+659F,U+6DFB,U+6E29,U+70DF,U+70EC,U+7422,U+756A,U+7656,U+795E,U+7981,U+7A00,U+7AA5,U+7B79,U+7CDF,U+7ECD,U+7F6A,U+80A9,U+822C,U+82E6,U+8DE8,U+94FA,U+9505,U+952F,U+97F5,U+987E,U+98D8,U+9B3C,U+9F13; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-31b4480a4e.woff2?v=31b4480a4e') format('woff2'); unicode-range: U+4E1D,U+4EC6,U+518C,U+51BB,U+534F,U+541E,U+5495,U+54C9,U+552C,U+5600,U+59D3,U+5B8B,U+5C04,U+5E08,U+5E42,U+5F26,U+5FD9,U+6050,U+6270,U+6396,U+63A0,U+6458,U+6478,U+6482,U+6620,U+667E,U+67AA,U+6B3E,U+6B47,U+6B49,U+6BC1,U+6C47,U+6C49,U+6CDB,U+6D3B,U+6D3E,U+6EE4,U+70C1,U+7130,U+719F,U+72AF,U+751A,U+7529,U+7785,U+77A7,U+77AC,U+77B3,U+7840,U+788D,U+78C1,U+7B28,U+853D,U+8BBD,U+8D44,U+9500,U+95F8,U+9605,U+9648,U+9699,U+9AB0; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-bdba5f71cd.woff2?v=bdba5f71cd') format('woff2'); unicode-range: U+3000,U+4F38,U+52E4,U+54A6,U+54B3,U+54D7,U+5821,U+5854,U+5939,U+5BAB,U+5BB3,U+5C16,U+5DE5,U+6094,U+6127,U+61D2,U+61F5,U+6208,U+626E,U+62DB,U+62E2,U+62EC,U+6405,U+6492,U+6670,U+6735,U+6BD5,U+6D45,U+6D8C,U+72E0,U+72E1,U+7BAD,U+7D2F,U+7EB5,U+7ED2,U+7EFD,U+7F1D,U+7F8A,U+7F8E,U+8017,U+80E1,U+8106,U+8154,U+8584,U+86CB,U+878D,U+8822,U+8861,U+888B,U+8BA7,U+8C31,U+8D3C,U+8D5E,U+8F6F,U+914C,U+94A9,U+963F,U+9707,U+989C,U+9F20; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-53a1201e04.woff2?v=53a1201e04') format('woff2'); unicode-range: U+2463,U+300A,U+300B,U+4EA7,U+4ED4,U+4F69,U+517C,U+529D,U+52FE,U+5315,U+53D9,U+552F,U+5530,U+559D,U+5740,U+57AB,U+57CE,U+5899,U+58A8,U+59D1,U+59FF,U+5A01,U+5D4C,U+5DE8,U+5E93,U+5F2F,U+6084,U+60EF,U+625B,U+6269,U+62B5,U+62B9,U+6342,U+6349,U+634B,U+63EA,U+642C,U+655B,U+6B20,U+6B3A,U+6D51,U+6E0A,U+70D8,U+70E6,U+7119,U+732B,U+7434,U+7533,U+8BDA,U+8D35,U+8D81,U+8E29,U+8E6D,U+90BB,U+9489,U+94C1,U+96FE,U+9985,U+9AA4,U+9B42; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-44cdeaf8ba.woff2?v=44cdeaf8ba') format('woff2'); unicode-range: U+2208,U+2465,U+4E11,U+4E4C,U+4E91,U+4EA1,U+4EAB,U+4FC3,U+50AC,U+50BB,U+5367,U+5389,U+538C,U+539A,U+54C1,U+55BB,U+566A,U+56AF,U+56E4,U+56FD,U+584C,U+5BC2,U+5BFB,U+5C0A,U+5D29,U+5E78,U+5F08,U+60E8,U+6109,U+6234,U+624E,U+6254,U+75BC,U+7838,U+7A76,U+7BF7,U+7D2B,U+7EFC,U+7F04,U+7FBD,U+8083,U+810F,U+8346,U+8361,U+8363,U+83DC,U+83F1,U+892A,U+8BCA,U+8C10,U+8C41,U+8FF7,U+9017,U+9020,U+9274,U+950B,U+9686,U+9A71,U+9F7F,U+9F84; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-6825bbea03.woff2?v=6825bbea03') format('woff2'); unicode-range: U+2190,U+2464,U+25CF,U+300F,U+4E4F,U+4E56,U+4E61,U+4E88,U+4EC1,U+4ED7,U+4EF0,U+4F0F,U+4F2F,U+4FCF,U+503A,U+5065,U+626C,U+6276,U+629B,U+62FE,U+6355,U+63BA,U+6512,U+65A9,U+6676,U+673D,U+6742,U+6760,U+6B67,U+6BD2,U+6C1B,U+6CE2,U+6E9C,U+7075,U+7275,U+75C5,U+7B03,U+7E41,U+7ED1,U+7F00,U+7F72,U+80F8,U+8180,U+820C,U+820D,U+8212,U+8759,U+8760,U+8896,U+8BBF,U+8BE6,U+8C1C,U+8D1D,U+8E0F,U+9006,U+9057,U+96D5,U+9752,U+9971,U+9EC4; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-16f2ea33ff.woff2?v=16f2ea33ff') format('woff2'); unicode-range: U+507F,U+50A8,U+50F5,U+52A3,U+52A9,U+52C9,U+5300,U+5339,U+5343,U+540A,U+54E5,U+55D3,U+55D6,U+5662,U+582A,U+5835,U+58EE,U+58F6,U+5949,U+5AE9,U+5B69,U+5BD2,U+5BDE,U+5BE1,U+5C1D,U+5C24,U+5C48,U+5C4A,U+5DE1,U+5E7D,U+5E86,U+6076,U+60D5,U+611A,U+6151,U+6175,U+61BE,U+61C8,U+6297,U+62A0,U+62D9,U+62F1,U+6328,U+638C,U+63B0,U+643A,U+64C5,U+654F,U+6551,U+6555,U+6591,U+65A4,U+65E6,U+661F,U+6627,U+6684,U+68AF,U+6B66,U+6BCD,U+6C99; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-8e5ec0c21d.woff2?v=8e5ec0c21d') format('woff2'); unicode-range: U+220F,U+222A,U+2260,U+300E,U+3010,U+3011,U+4E01,U+4E16,U+4E1A,U+4E27,U+4E43,U+6CB3,U+6EF4,U+6F06,U+6F84,U+70C8,U+7236,U+7518,U+7686,U+7802,U+7A3D,U+7BC7,U+7EB3,U+7EF7,U+7EFF,U+7F15,U+8010,U+8165,U+82CD,U+8349,U+8870,U+88D9,U+88E4,U+8910,U+8B66,U+8BAD,U+8BF8,U+8D2F,U+8D4F,U+8D5A,U+8DC3,U+8E81,U+8FAB,U+8FCE,U+8FDD,U+8FEB,U+8FF8,U+90D1,U+94DC,U+9525,U+95F7,U+95FB,U+963B,U+96A7,U+9776,U+9897,U+9A82,U+9E23,U+9EBB,U+9F99; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-94468fa7a9.woff2?v=94468fa7a9') format('woff2'); unicode-range: U+4EA6,U+4EB5,U+4EF2,U+4F6C,U+4F73,U+4F83,U+4FEF,U+4FF1,U+5144,U+5195,U+519B,U+51AF,U+51E1,U+51F8,U+51FF,U+5238,U+526A,U+5319,U+5398,U+53F6,U+5448,U+545C,U+556A,U+5598,U+55A7,U+567C,U+56F0,U+5751,U+57AE,U+57C3,U+57CB,U+5802,U+5956,U+5986,U+5A49,U+5A92,U+5B98,U+5C2C,U+5C34,U+5C38,U+5C51,U+5C71,U+5CF0,U+5D3D,U+5DFE,U+5E05,U+5E3D,U+5F1F,U+5F81,U+604D,U+6069,U+606A,U+607C,U+609F,U+60A0,U+60B2,U+60B8,U+60D1,U+60E0,U+60ED; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-247b095047.woff2?v=247b095047') format('woff2'); unicode-range: U+60F9,U+6123,U+6252,U+626D,U+62CE,U+62D0,U+62DC,U+6346,U+634C,U+634F,U+6380,U+6401,U+640F,U+645E,U+6487,U+64AC,U+64E6,U+6525,U+65BD,U+6643,U+667A,U+674F,U+67C4,U+67D2,U+6805,U+68B0,U+68B3,U+68CD,U+68D2,U+68FA,U+6984,U+69B7,U+6A44,U+6A59,U+6B23,U+6B4C,U+6B6A,U+6B79,U+6BB7,U+6C61,U+6CAE,U+6D1B,U+6D3D,U+6D46,U+6D53,U+6D82,U+6D89,U+6DA1,U+6DA8,U+6E0E,U+6E34,U+6EA2,U+6ECB,U+6F2B,U+70AE,U+70B8,U+70C2,U+70D9,U+717D,U+71D5; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-bc5daaa746.woff2?v=bc5daaa746') format('woff2'); unicode-range: U+7259,U+72FC,U+7384,U+7396,U+73AB,U+7470,U+74DC,U+74F6,U+758F,U+75D2,U+763E,U+76B1,U+76D2,U+76D4,U+76FC,U+7709,U+7720,U+7728,U+776B,U+77AA,U+77E3,U+7816,U+795D,U+7978,U+7ADE,U+7B5B,U+7BB1,U+7C89,U+7CD5,U+7EA4,U+7EB1,U+803D,U+8096,U+80A1,U+80C1,U+810A,U+8170,U+81C6,U+826F,U+8292,U+82AF,U+82CF,U+82D7,U+82F9,U+836F,U+83AB,U+83BD,U+8511,U+8513,U+8537,U+8587,U+864E,U+86EE,U+8845,U+8854,U+8863,U+888D,U+8BA5,U+8BDE,U+8BE1; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4980b77380.woff2?v=4980b77380') format('woff2'); unicode-range: U+2018,U+2019,U+8BEC,U+8C13,U+8D38,U+8D4B,U+8D54,U+8D5B,U+8D6D,U+8D8B,U+8E48,U+8EAF,U+8EBA,U+8F68,U+8F89,U+8F99,U+8FC1,U+9003,U+902E,U+9042,U+9178,U+918B,U+94A5,U+94B1,U+94C3,U+94E0,U+9510,U+9523,U+9524,U+9633,U+9646,U+9677,U+96C5,U+96E8,U+96F7,U+9709,U+971C,U+9738,U+97E9,U+9896,U+98DF,U+9910,U+9976,U+9AA8,U+9B44,U+9C9C,U+9EE0,U+9F9F; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9a1f9736be.woff2?v=9a1f9736be') format('woff2'); unicode-range: U+4E08,U+4E18,U+4E19,U+4E1B,U+4E2B,U+4E30,U+4E38,U+4E39,U+4E3D,U+4E4D,U+4E52,U+4E53,U+4E54,U+4E5E,U+4E73,U+4E7E,U+4E95,U+4E9A,U+4EA2,U+4EA5,U+4EA8,U+4EA9,U+4EAC,U+4EAD,U+4EBF,U+4ED1,U+4ED3,U+4ED5,U+4ED9,U+4EDF,U+4EFF,U+4F01,U+4F0A,U+4F0E,U+4F10,U+4F1E,U+4F1F,U+4F26,U+4F36,U+4F3A,U+4F43,U+4F51,U+4F5B,U+4F63,U+4F6F,U+4F70,U+4F84,U+4F88,U+4F97,U+4FA0,U+4FA3,U+4FA5,U+4FA6,U+4FA8,U+4FA9,U+4FAE,U+4FAF,U+4FB5,U+4FC4,U+4FCA; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-549a682ee0.woff2?v=549a682ee0') format('woff2'); unicode-range: U+4FD0,U+4FD7,U+4FD8,U+4FDE,U+4FED,U+4FFA,U+5014,U+5018,U+501A,U+5021,U+5026,U+502A,U+5080,U+5085,U+5088,U+508D,U+50A3,U+50B2,U+50DA,U+50E7,U+50F3,U+50FB,U+5112,U+5121,U+5146,U+5154,U+515A,U+5162,U+5170,U+5179,U+517D,U+5180,U+5188,U+5189,U+5197,U+519C,U+51AC,U+51B6,U+51C4,U+51CB,U+51CC,U+51DB,U+51DD,U+51E4,U+51EF,U+51F0,U+51F3,U+51F6,U+51F9,U+5201,U+520A,U+5218,U+5228,U+522E,U+5239,U+523D,U+5241,U+5242,U+5243,U+524A; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-336a4a25d2.woff2?v=336a4a25d2') format('woff2'); unicode-range: U+5250,U+5254,U+5256,U+5265,U+5272,U+527F,U+5288,U+52AA,U+52AB,U+52B1,U+52B3,U+52C3,U+52D2,U+52D8,U+52DF,U+52FA,U+5306,U+5308,U+5317,U+531D,U+5320,U+5321,U+5323,U+532A,U+533B,U+533F,U+5349,U+534E,U+5351,U+5352,U+5353,U+5357,U+535A,U+535C,U+535E,U+5362,U+5364,U+536B,U+536F,U+5375,U+5378,U+537F,U+5382,U+5384,U+5395,U+53A2,U+53A6,U+53A8,U+53A9,U+53BF,U+53D4,U+53DB,U+53EC,U+53ED,U+53EE,U+53FC,U+5401,U+5409,U+540F,U+5415; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-a86e9b8e72.woff2?v=a86e9b8e72') format('woff2'); unicode-range: U+541B,U+541D,U+541F,U+5420,U+5428,U+5429,U+542E,U+5431,U+5434,U+543C,U+543E,U+5446,U+5450,U+5455,U+545B,U+5478,U+547B,U+5480,U+5486,U+548E,U+548F,U+5490,U+5492,U+5496,U+5499,U+54A8,U+54B8,U+54BD,U+54C6,U+54D1,U+54E8,U+54E9,U+54ED,U+54EE,U+54F2,U+54FA,U+5501,U+5506,U+5507,U+552E,U+553E,U+5543,U+5561,U+5564,U+556E,U+5578,U+557C,U+5580,U+5587,U+5589,U+55B3,U+55B7,U+55C5,U+55DC,U+55E1,U+55E3,U+55FD,U+5609,U+560E,U+5618; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-a63a3b38e8.woff2?v=a63a3b38e8') format('woff2'); unicode-range: U+5631,U+564E,U+566C,U+5676,U+568E,U+568F,U+56A3,U+56B7,U+56BC,U+56CA,U+56DA,U+56F1,U+5703,U+571F,U+572D,U+573E,U+574A,U+574D,U+574E,U+575D,U+575E,U+575F,U+5761,U+5764,U+576A,U+576F,U+5777,U+5783,U+5784,U+5792,U+579B,U+57A2,U+57A3,U+57A6,U+57C2,U+57D4,U+57E0,U+57F9,U+5811,U+5815,U+5824,U+5830,U+5851,U+5858,U+5885,U+5892,U+589F,U+58A9,U+58C1,U+58D5,U+58E4,U+58EC,U+590F,U+5915,U+592B,U+592F,U+5937,U+593A,U+5944,U+594B; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c573fc475b.woff2?v=c573fc475b') format('woff2'); unicode-range: U+594E,U+5954,U+5960,U+5962,U+5974,U+5976,U+5978,U+5984,U+5987,U+5988,U+598A,U+5992,U+5993,U+5996,U+59AE,U+59B9,U+59BB,U+59C6,U+59D0,U+59DA,U+59DC,U+59E5,U+59E8,U+59EC,U+59FB,U+5A03,U+5A04,U+5A07,U+5A18,U+5A1C,U+5A1F,U+5A20,U+5A25,U+5A29,U+5A31,U+5A36,U+5A46,U+5A5A,U+5A6A,U+5A74,U+5A76,U+5A7F,U+5A9A,U+5AB3,U+5AC1,U+5AC2,U+5AC9,U+5AE1,U+5B55,U+5B59,U+5B5C,U+5B5D,U+5B5F,U+5B63,U+5B6A,U+5B70,U+5B7A,U+5B7D,U+5B85,U+5B87; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-51b3e49c25.woff2?v=51b3e49c25') format('woff2'); unicode-range: U+5B8F,U+5B97,U+5B99,U+5B9B,U+5BA0,U+5BA4,U+5BA6,U+5BAA,U+5BB0,U+5BB5,U+5BC4,U+5BC5,U+5BC7,U+5BCC,U+5BD0,U+5BD3,U+5BDD,U+5BE5,U+5BE8,U+5BFA,U+5BFF,U+5C09,U+5C27,U+5C39,U+5C3C,U+5C3F,U+5C41,U+5C4B,U+5C4E,U+5C61,U+5C65,U+5C6F,U+5C79,U+5C7F,U+5C81,U+5C97,U+5C9B,U+5CA9,U+5CAD,U+5CB3,U+5CB8,U+5CBF,U+5CE1,U+5CE6,U+5CE8,U+5CEA,U+5CED,U+5CFB,U+5D07,U+5D0E,U+5D14,U+5D16,U+5D2D,U+5DCD,U+5DDD,U+5DDE,U+5DE2,U+5DE9,U+5DEB,U+5DF3; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-eab757ff86.woff2?v=eab757ff86') format('woff2'); unicode-range: U+5DF7,U+5E01,U+5E02,U+5E06,U+5E10,U+5E15,U+5E16,U+5E18,U+5E1A,U+5E1B,U+5E1C,U+5E1D,U+5E4C,U+5E62,U+5E7C,U+5E87,U+5E8A,U+5E90,U+5E97,U+5E99,U+5E9A,U+5E9C,U+5E9E,U+5EAD,U+5EB6,U+5EB7,U+5EB8,U+5EC9,U+5ECA,U+5ED6,U+5EF7,U+5F0A,U+5F13,U+5F17,U+5F18,U+5F1B,U+5F25,U+5F5D,U+5F64,U+5F66,U+5F6A,U+5F6C,U+5F6D,U+5F70,U+5F79,U+5F7B,U+5F8A,U+5F90,U+5F92,U+5F98,U+5FA1,U+5FB7,U+5FCC,U+5FE0,U+5FE7,U+5FF1,U+5FFB,U+5FFF,U+6014,U+6016; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-fe6cba4a7b.woff2?v=fe6cba4a7b') format('woff2'); unicode-range: U+601C,U+6020,U+6028,U+602F,U+6043,U+604B,U+6052,U+6064,U+6068,U+606B,U+606C,U+606D,U+6070,U+6073,U+607F,U+6089,U+608D,U+60A3,U+60A6,U+60AF,U+60BC,U+60CB,U+60DF,U+60E6,U+60E7,U+60E9,U+60EB,U+60EE,U+60F0,U+60F6,U+60FA,U+6101,U+6108,U+6148,U+6155,U+6167,U+6168,U+6170,U+6177,U+618E,U+61A8,U+61CA,U+61E6,U+620A,U+620C,U+620D,U+620E,U+6212,U+621A,U+622E,U+6266,U+6273,U+627C,U+6284,U+6289,U+6291,U+6292,U+629A,U+62A1,U+62A8; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-f49a53cf39.woff2?v=f49a53cf39') format('woff2'); unicode-range: U+62AB,U+62BF,U+62C2,U+62C4,U+62C7,U+62C8,U+62CC,U+62D3,U+62D8,U+62E3,U+62E5,U+62E7,U+62E8,U+62ED,U+62EF,U+62F3,U+62F4,U+62F7,U+62FD,U+630E,U+631A,U+631B,U+631D,U+631E,U+631F,U+6320,U+6323,U+632B,U+632F,U+633D,U+6345,U+634D,U+634E,U+6350,U+635E,U+6361,U+6363,U+6367,U+6376,U+637B,U+6387,U+6388,U+638F,U+6398,U+63A3,U+63B3,U+63B8,U+63C9,U+63CD,U+63D6,U+63E3,U+63E9,U+63F4,U+63FD,U+6400,U+6402,U+6410,U+6413,U+6414,U+641C; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-f7b6dd8281.woff2?v=f7b6dd8281') format('woff2'); unicode-range: U+642A,U+643D,U+6444,U+6448,U+6454,U+6467,U+6469,U+6479,U+6485,U+64A9,U+64AE,U+64B0,U+64B5,U+64BC,U+64C2,U+64D2,U+64DE,U+6500,U+6518,U+652B,U+653B,U+653F,U+654C,U+6556,U+655D,U+655E,U+6566,U+6577,U+658B,U+658C,U+65A1,U+65A5,U+65A7,U+65C5,U+65D7,U+65E8,U+65EC,U+65ED,U+65F1,U+65F7,U+65FA,U+6606,U+660C,U+660F,U+6614,U+6625,U+662D,U+663C,U+664B,U+664C,U+6652,U+6664,U+6666,U+6668,U+6674,U+6687,U+6691,U+66AE,U+66D9,U+66F0; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-67e25e8e4d.woff2?v=67e25e8e4d') format('woff2'); unicode-range: U+66F3,U+66F9,U+66FC,U+6714,U+6728,U+6731,U+6734,U+6746,U+6749,U+674E,U+6751,U+6756,U+675C,U+6768,U+676D,U+6770,U+6795,U+679D,U+67A2,U+67A3,U+67AB,U+67AF,U+67B7,U+67CF,U+67D1,U+67DC,U+67DE,U+67E0,U+67EF,U+67F3,U+67F4,U+67FF,U+6808,U+680B,U+6811,U+6813,U+6816,U+6817,U+682A,U+6842,U+6843,U+6845,U+6850,U+6851,U+6853,U+6854,U+6865,U+6868,U+6869,U+6876,U+6881,U+6885,U+6886,U+6897,U+68A2,U+68A6,U+68A7,U+68A8,U+68AD,U+68C9; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9816e8fb94.woff2?v=9816e8fb94') format('woff2'); unicode-range: U+68CB,U+68D5,U+68DA,U+68E0,U+68EE,U+68F1,U+68F5,U+6905,U+690D,U+690E,U+6912,U+6930,U+693D,U+693F,U+6954,U+695E,U+697C,U+6986,U+6994,U+699C,U+69A8,U+69B4,U+69D0,U+6A0A,U+6A1F,U+6A31,U+6A47,U+6A61,U+6A71,U+6A80,U+6A84,U+6AAC,U+6B27,U+6B32,U+6B7C,U+6B83,U+6B86,U+6B89,U+6B8A,U+6B96,U+6BB4,U+6BBF,U+6BC5,U+6BCB,U+6BD6,U+6BD7,U+6BD9,U+6BEF,U+6C0F,U+6C11,U+6C13,U+6C16,U+6C1F,U+6C22,U+6C26,U+6C27,U+6C28,U+6C2E,U+6C2F,U+6C30; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-d0ea994bb3.woff2?v=d0ea994bb3') format('woff2'); unicode-range: U+6C40,U+6C41,U+6C50,U+6C55,U+6C57,U+6C5B,U+6C5D,U+6C5E,U+6C5F,U+6C64,U+6C6A,U+6C70,U+6C72,U+6C79,U+6C7D,U+6C7E,U+6C81,U+6C82,U+6C83,U+6C88,U+6C8F,U+6C9B,U+6C9F,U+6CA4,U+6CA5,U+6CA6,U+6CA7,U+6CAA,U+6CAB,U+6CB8,U+6CBB,U+6CBC,U+6CBD,U+6CBE,U+6CC5,U+6CC9,U+6CCA,U+6CCC,U+6CDE,U+6CE3,U+6CE5,U+6CEA,U+6CF0,U+6CF3,U+6CF5,U+6CFB,U+6CFD,U+6D01,U+6D0B,U+6D12,U+6D25,U+6D2A,U+6D31,U+6D32,U+6D3C,U+6D47,U+6D4A,U+6D4E,U+6D59,U+6D5A; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-bd46e1e04a.woff2?v=bd46e1e04a') format('woff2'); unicode-range: U+6D66,U+6D69,U+6D74,U+6D77,U+6D78,U+6D85,U+6D8E,U+6D95,U+6D9B,U+6D9D,U+6D9F,U+6DA3,U+6DA4,U+6DA6,U+6DA7,U+6DA9,U+6DAA,U+6DAF,U+6DB2,U+6DB5,U+6DB8,U+6DC0,U+6DC4,U+6DCB,U+6DCC,U+6DD1,U+6DD6,U+6DD8,U+6DE4,U+6DEB,U+6DEC,U+6DEE,U+6DF3,U+6DF9,U+6E0D,U+6E14,U+6E17,U+6E1D,U+6E20,U+6E23,U+6E24,U+6E2D,U+6E2F,U+6E3A,U+6E43,U+6E4D,U+6E56,U+6E58,U+6E5B,U+6E7E,U+6E7F,U+6E83,U+6E85,U+6E89,U+6EAA,U+6EAF,U+6EB6,U+6EBA,U+6EC1,U+6EC7; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-189904afa1.woff2?v=189904afa1') format('woff2'); unicode-range: U+6ED3,U+6ED4,U+6EDE,U+6EE5,U+6EE6,U+6EE8,U+6EE9,U+6F13,U+6F20,U+6F31,U+6F33,U+6F3E,U+6F4D,U+6F58,U+6F5E,U+6F66,U+6F6D,U+6F88,U+6F8E,U+6F9C,U+6FA1,U+6FB3,U+6FD2,U+7011,U+704C,U+706F,U+7076,U+7078,U+707C,U+707E,U+707F,U+7089,U+708A,U+708E,U+7092,U+7094,U+7095,U+7099,U+70AC,U+70AD,U+70AF,U+70B3,U+70BC,U+70BD,U+70C3,U+70E4,U+70E9,U+70EB,U+70EF,U+70F7,U+70F9,U+70FD,U+7109,U+7115,U+711A,U+714C,U+714E,U+715E,U+7164,U+716E; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-b701d4f169.woff2?v=b701d4f169') format('woff2'); unicode-range: U+718A,U+718F,U+7194,U+7199,U+71AC,U+71C3,U+71CE,U+71E5,U+722A,U+722C,U+7237,U+7239,U+723D,U+725B,U+725F,U+7261,U+7267,U+7272,U+727A,U+7280,U+7281,U+728A,U+72AC,U+72C2,U+72C4,U+72C8,U+72D0,U+72D7,U+72D9,U+72DE,U+72ED,U+72EE,U+72F0,U+72F1,U+72F8,U+7316,U+731B,U+7329,U+732A,U+7334,U+733E,U+733F,U+736D,U+7389,U+739B,U+73B2,U+73BB,U+73CA,U+73CD,U+73D0,U+73E0,U+7403,U+7405,U+7409,U+7410,U+7433,U+7435,U+7436,U+743C,U+745A; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-46a3a45c5c.woff2?v=46a3a45c5c') format('woff2'); unicode-range: U+745E,U+745F,U+7476,U+7483,U+74E2,U+74E3,U+74E4,U+74E6,U+74EE,U+74F7,U+7504,U+751C,U+7525,U+752B,U+752D,U+7530,U+7538,U+7545,U+754F,U+7554,U+755C,U+7566,U+7574,U+7578,U+7586,U+7597,U+7599,U+759A,U+759F,U+75A1,U+75A4,U+75A5,U+75AB,U+75AE,U+75AF,U+75B2,U+75B5,U+75B9,U+75BD,U+75BE,U+75C7,U+75C8,U+75C9,U+75CA,U+75D4,U+75D8,U+75DE,U+75E2,U+75EA,U+75F0,U+75F4,U+75F9,U+7601,U+761F,U+7624,U+7626,U+7629,U+762A,U+762B,U+7634; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-8c45c479f3.woff2?v=8c45c479f3') format('woff2'); unicode-range: U+7638,U+764C,U+7663,U+7678,U+7682,U+7687,U+768B,U+7691,U+7696,U+76BF,U+76C2,U+76C5,U+76C6,U+76C8,U+76CE,U+76D0,U+76D1,U+76D7,U+76DB,U+76F2,U+7729,U+772F,U+7736,U+7737,U+773A,U+7763,U+7766,U+776C,U+7779,U+7784,U+77A5,U+77A9,U+77BB,U+77D7,U+77E2,U+77EB,U+77FD,U+77FE,U+77FF,U+780C,U+7812,U+7814,U+781A,U+7827,U+7830,U+7837,U+783E,U+7845,U+7852,U+7855,U+785D,U+786B,U+7877,U+787C,U+7889,U+788C,U+7891,U+7897,U+7898,U+789F; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-9aaa515c43.woff2?v=9aaa515c43') format('woff2'); unicode-range: U+78A7,U+78B1,U+78B3,U+78B4,U+78BE,U+78C5,U+78CA,U+78CB,U+78D0,U+78D5,U+78F7,U+78FA,U+7901,U+793E,U+7941,U+7948,U+795F,U+7965,U+7977,U+7984,U+798F,U+79B9,U+79BD,U+79BE,U+79C0,U+79C3,U+79C6,U+79C9,U+79CB,U+79D1,U+79DF,U+79E4,U+79E6,U+79E7,U+79E9,U+79F8,U+79FD,U+7A0E,U+7A17,U+7A1A,U+7A20,U+7A3B,U+7A3C,U+7A46,U+7A57,U+7A74,U+7A77,U+7A83,U+7A8D,U+7A91,U+7A92,U+7A96,U+7A98,U+7A9C,U+7A9D,U+7AE3,U+7AE5,U+7AED,U+7AF9,U+7AFF; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-6595514de8.woff2?v=6595514de8') format('woff2'); unicode-range: U+7B06,U+7B0B,U+7B1B,U+7B3A,U+7B3C,U+7B4B,U+7B4F,U+7B50,U+7B51,U+7B52,U+7B77,U+7B8D,U+7B94,U+7B95,U+7BA9,U+7BC6,U+7BD3,U+7BD9,U+7BE1,U+7BEE,U+7BF1,U+7C07,U+7C27,U+7C4D,U+7C7D,U+7C95,U+7C98,U+7C9F,U+7CA4,U+7CA5,U+7CAA,U+7CAE,U+7CB1,U+7CB3,U+7CB9,U+7CD6,U+7CD9,U+7CDC,U+7CE0,U+7CEF,U+7D0A,U+7D6E,U+7E82,U+7EAB,U+7EAC,U+7EB2,U+7EB6,U+7EB7,U+7EBA,U+7EBD,U+7EC5,U+7EC7,U+7ECA,U+7ECE,U+7EDA,U+7EDE,U+7EE2,U+7EE3,U+7EE5,U+7EE6; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-2597aeaa4d.woff2?v=2597aeaa4d') format('woff2'); unicode-range: U+7EE9,U+7EF0,U+7EF3,U+7EF5,U+7EF8,U+7F05,U+7F06,U+7F09,U+7F14,U+7F1A,U+7F20,U+7F28,U+7F2E,U+7F34,U+7F38,U+7F50,U+7F55,U+7F5A,U+7F8C,U+7F94,U+7F9A,U+7F9E,U+7FA1,U+7FB9,U+7FC1,U+7FC5,U+7FCC,U+7FD4,U+7FD8,U+7FDF,U+7FE0,U+7FF0,U+7FF1,U+7FFC,U+8000,U+800D,U+8015,U+8018,U+8019,U+802A,U+8038,U+803B,U+803F,U+8042,U+804B,U+804C,U+8058,U+8084,U+8087,U+8089,U+808B,U+808C,U+8098,U+809A,U+809B,U+809D,U+80A0,U+80A2,U+80A5,U+80AA; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-0fbd1d4877.woff2?v=0fbd1d4877') format('woff2'); unicode-range: U+80AE,U+80B2,U+80BA,U+80BE,U+80BF,U+80C0,U+80C3,U+80CE,U+80D6,U+80DA,U+80DE,U+80EF,U+80F0,U+80F3,U+80F6,U+80FA,U+8102,U+8110,U+8113,U+8116,U+812F,U+813E,U+8146,U+814A,U+814B,U+8150,U+8151,U+8155,U+816E,U+8179,U+817A,U+817E,U+817F,U+818A,U+818F,U+8198,U+819B,U+819C,U+819D,U+81A8,U+81B3,U+81C0,U+81C2,U+81C3,U+81E3,U+81ED,U+81FB,U+81FC,U+8200,U+8205,U+8206,U+8214,U+821C,U+821F,U+822A,U+8230,U+8231,U+8235,U+8236,U+8237; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-4bdc836806.woff2?v=4bdc836806') format('woff2'); unicode-range: U+8239,U+8247,U+8258,U+8270,U+8273,U+827A,U+828B,U+828D,U+829C,U+829D,U+82A5,U+82A6,U+82AC,U+82AD,U+82B3,U+82B9,U+82BD,U+82C7,U+82D1,U+82D4,U+82DB,U+82DE,U+82DF,U+82EB,U+82EF,U+8301,U+8302,U+8304,U+8305,U+830E,U+8327,U+8328,U+832B,U+832C,U+8335,U+8338,U+8339,U+8354,U+835A,U+8364,U+8367,U+836B,U+8377,U+8386,U+838E,U+83B2,U+83B9,U+83C7,U+83CA,U+83CC,U+83CF,U+83E0,U+83E9,U+83F2,U+8404,U+840C,U+840D,U+840E,U+841D,U+8424; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-c68f284f33.woff2?v=c68f284f33') format('woff2'); unicode-range: U+8427,U+8428,U+8457,U+845B,U+8461,U+8463,U+846B,U+846C,U+8471,U+8475,U+8482,U+848B,U+849C,U+84B2,U+84B8,U+84C4,U+84C9,U+84D1,U+84D6,U+84DF,U+84EC,U+8517,U+851A,U+8521,U+852B,U+852C,U+853C,U+8549,U+854A,U+8574,U+859B,U+85AA,U+85AF,U+85C9,U+85D0,U+85D5,U+85E4,U+85E9,U+85FB,U+8611,U+8638,U+864F,U+8650,U+865E,U+866B,U+8671,U+8679,U+867D,U+867E,U+8680,U+8681,U+8682,U+868A,U+868C,U+8695,U+869C,U+86A4,U+86C0,U+86C6,U+86C7; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-3f452c0f60.woff2?v=3f452c0f60') format('woff2'); unicode-range: U+86CA,U+86D4,U+86D9,U+86DB,U+86E4,U+86F0,U+86F9,U+86FE,U+8700,U+8702,U+8712,U+8715,U+8717,U+8718,U+871C,U+8747,U+8749,U+874E,U+8757,U+8774,U+8776,U+879F,U+87BA,U+87F9,U+8815,U+884D,U+8857,U+8859,U+886B,U+8877,U+8881,U+8884,U+8892,U+889C,U+88AD,U+88B1,U+88D4,U+88D5,U+88F3,U+88F4,U+88F8,U+88F9,U+8902,U+8912,U+8925,U+8944,U+895F,U+89C5,U+8A79,U+8A89,U+8A8A,U+8B6C,U+8BA3,U+8BAB,U+8BAF,U+8BB3,U+8BB9,U+8BBC,U+8BC0,U+8BC5; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-6e79fd4c44.woff2?v=6e79fd4c44') format('woff2'); unicode-range: U+8BCC,U+8BD1,U+8BD7,U+8BDB,U+8BE3,U+8BE7,U+8BEB,U+8BF2,U+8BF5,U+8BFD,U+8BFE,U+8C05,U+8C06,U+8C0A,U+8C0B,U+8C0D,U+8C17,U+8C1A,U+8C23,U+8C24,U+8C26,U+8C29,U+8C2D,U+8C30,U+8C34,U+8C37,U+8C46,U+8C4C,U+8C62,U+8C6A,U+8C79,U+8C7A,U+8C89,U+8C8C,U+8D1E,U+8D21,U+8D22,U+8D24,U+8D29,U+8D2A,U+8D2B,U+8D2C,U+8D2D,U+8D2E,U+8D31,U+8D37,U+8D3A,U+8D3E,U+8D3F,U+8D41,U+8D42,U+8D4A,U+8D4E,U+8D50,U+8D58,U+8D60,U+8D61,U+8D63,U+8D66,U+8D6B; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-7538562a76.woff2?v=7538562a76') format('woff2'); unicode-range: U+8D75,U+8DB4,U+8DBE,U+8DCB,U+8DCC,U+8DEA,U+8DF5,U+8DFA,U+8E0A,U+8E0C,U+8E1E,U+8E22,U+8E2A,U+8E44,U+8E4B,U+8E66,U+8E6C,U+8E72,U+8E7F,U+8E87,U+8EAC,U+8F67,U+8F69,U+8F70,U+8F7F,U+8F85,U+8F86,U+8F88,U+8F8A,U+8F90,U+8F95,U+8F96,U+8F97,U+8F9B,U+8F9C,U+8F9F,U+8FA3,U+8FA8,U+8FB0,U+8FB1,U+8FBD,U+8FC2,U+8FC4,U+8FC5,U+8FC8,U+8FE2,U+8FEA,U+8FED,U+8FF9,U+900A,U+901B,U+901D,U+901E,U+9022,U+9038,U+903E,U+9041,U+904F,U+9063,U+9065; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-e6a235bc7c.woff2?v=e6a235bc7c') format('woff2'); unicode-range: U+906D,U+9075,U+9091,U+9093,U+90A2,U+90A6,U+90AA,U+90AE,U+90AF,U+90B1,U+90B5,U+90B9,U+90C1,U+90CA,U+90CE,U+90DD,U+90E1,U+90E7,U+90ED,U+90F4,U+90F8,U+9102,U+9119,U+9149,U+914B,U+9157,U+915A,U+915D,U+915E,U+9163,U+9165,U+916A,U+916C,U+916E,U+9175,U+9176,U+9177,U+917F,U+9187,U+9189,U+919A,U+919B,U+91C9,U+91CE,U+91DC,U+948E,U+9492,U+9499,U+949E,U+94A0,U+94A1,U+94A2,U+94A6,U+94A7,U+94A8,U+94B3,U+94B5,U+94BB,U+94BE,U+94C0; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-e5f1790309.woff2?v=e5f1790309') format('woff2'); unicode-range: U+94C2,U+94C5,U+94C6,U+94DD,U+94E1,U+94E3,U+94EC,U+94F0,U+94F1,U+94F2,U+94F8,U+9504,U+9508,U+950C,U+9511,U+9517,U+9521,U+9526,U+9528,U+952D,U+9530,U+9539,U+953B,U+9540,U+9541,U+9547,U+954A,U+954D,U+9550,U+9551,U+9563,U+956D,U+9570,U+9576,U+95EF,U+95F0,U+95FA,U+95FD,U+9600,U+9602,U+9609,U+960E,U+9610,U+9611,U+9614,U+961C,U+962E,U+9640,U+9647,U+964B,U+964C,U+9655,U+965B,U+9661,U+9662,U+9668,U+9675,U+9676,U+9685,U+968B; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-d7c9db16e3.woff2?v=d7c9db16e3') format('woff2'); unicode-range: U+9698,U+96B6,U+96C0,U+96C1,U+96C4,U+96C7,U+96CC,U+96CD,U+96CF,U+96EA,U+96F9,U+9704,U+970D,U+9713,U+9716,U+971E,U+9739,U+9756,U+975B,U+9761,U+9769,U+9773,U+9774,U+978B,U+978D,U+9798,U+97A0,U+97AD,U+97E6,U+97E7,U+97ED,U+97F6,U+9877,U+987D,U+9881,U+9882,U+9885,U+9887,U+9888,U+988A,U+9890,U+9893,U+98A0,U+98A4,U+98A7,U+9965,U+996D,U+996E,U+996F,U+9972,U+997A,U+997C,U+997F,U+9981,U+9986,U+998B,U+998F,U+9992,U+9999,U+9A6D; size-adjust: 108%; }
@font-face { font-family: 'RB Kai UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-46a3174a74.woff2?v=46a3174a74') format('woff2'); unicode-range: U+9A6E,U+9A6F,U+9A70,U+9A74,U+9A76,U+9A79,U+9A7C,U+9A7E,U+9A84,U+9A86,U+9A87,U+9A8B,U+9A8F,U+9A9A,U+9AA1,U+9AB8,U+9AD3,U+9B03,U+9B41,U+9B4F,U+9B54,U+9C81,U+9C8D,U+9CA4,U+9CB8,U+9CC3,U+9CD6,U+9CDE,U+9E1F,U+9E21,U+9E25,U+9E2D,U+9E2F,U+9E33,U+9E35,U+9E3D,U+9E3F,U+9E43,U+9E45,U+9E4A,U+9E4F,U+9E64,U+9E70,U+9E7F,U+9E93,U+9EA6,U+9ECD,U+9ECE,U+9ED4,U+9F0E,U+9F3B,U+9F8B,U+9F9A; size-adjust: 108%; }
@font-face { font-family: 'RB Kai Latin'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-187d541893.woff2?v=187d541893') format('woff2'); unicode-range: U+20,U+21,U+22,U+23,U+24,U+25,U+26,U+27,U+28,U+29,U+2A,U+2B,U+2C,U+2D,U+2E,U+2F,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+3A,U+3B,U+3C,U+3D,U+3E,U+3F,U+40,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4E,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+5B; size-adjust: 130%; }
@font-face { font-family: 'RB Kai Latin'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/crgkk/crgkk-7ef1cf20a8.woff2?v=7ef1cf20a8') format('woff2'); unicode-range: U+5C,U+5D,U+5E,U+5F,U+60,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+7B,U+7C,U+7D,U+7E; size-adjust: 130%; }

/* /fonts/latin/font.css */
/* 'RB Latin'：Noto Serif SC 600 的半角字母 / 数字 / 标点（scripts/build-latin-subset.py 生成，勿手改；SIL OFL 1.1）。
   只接管 U+21–7E，汉字仍走刻楷；字族链见 public/styles/font-unify.css */
@font-face { font-family: 'RB Latin'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/latin/rb-latin-9c401f3c74.woff2?v=9c401f3c74') format('woff2'); unicode-range: U+21,U+22,U+23,U+24,U+25,U+26,U+27,U+28,U+29,U+2A,U+2B,U+2C,U+2D,U+2E,U+2F,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+3A,U+3B,U+3C,U+3D,U+3E,U+3F,U+40,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4E,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+5B,U+5C,U+5D,U+5E,U+5F,U+60,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+7B,U+7C,U+7D,U+7E; size-adjust: 100%; }

/* /style.css */
/* 《血月夜宴》视觉系统。换皮主要改 :root 变量与 /assets 下的资源。 */
:root {
  /* 素材（public/assets.js 运行时会用同名变量覆盖） */
  --asset-card-back: url('/assets/card-back.svg');
  --asset-token-gold: url('/assets/coin.svg');
  --asset-card-face-LEADER: url('/assets/roles/LEADER.svg');
  --asset-card-face-SEER: url('/assets/roles/SEER.svg');
  --asset-card-face-FOLLOWER: url('/assets/roles/FOLLOWER.svg');
  --asset-card-face-TWIN: url('/assets/roles/TWIN.svg');
  --asset-card-face-BRUTE: url('/assets/roles/BRUTE.svg');
  --asset-card-face-LURKER: url('/assets/roles/LURKER.svg');
  --asset-card-face-DECOY: url('/assets/roles/DECOY.svg');
  /* 演出：时长由 app.js 按 shared/presentation.js 写入 --pace-*；--fx-speed 随快进/缩放变化 */
  --fx-speed: 1;
  --pace-fate-each: 1300ms;
  --pace-flip-each: 950ms;
  --ease-fate: cubic-bezier(.3,.7,.3,1);
  --ease-flip: cubic-bezier(.4,.1,.2,1);
  --fx-card-w: 58px;
  --fx-front-w: 30px;
  --fx-fate-scale: 0.35;
  --night: #141016;
  --wine: #301a24;
  --wine-deep: #22121a;
  --gold: #c7a36a;
  --gold-dim: #8a6f45;
  --dawn: #b23e4c;
  --ivory: #f0e2cb;
  --ivory-dim: #b9ab95;
  --phantom: #80728d;
  --crystal: #7eafc2;
  --serif: 'Songti SC', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', 'Source Han Serif', serif;
  --latin: 'Cinzel', 'Trajan Pro', 'Optima', 'Palatino', serif;
  --sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --card-w: 112px;
  --seat-w: 150px;
  --top-h: 52px;
  font-family: var(--sans);
  color: var(--ivory);
  background: var(--night);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, #3a1520 0%, transparent 70%),
    var(--night);
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--gold); }
:focus-visible { outline: 2px solid #ffe1a8; outline-offset: 2px; } /* 金色系，和游戏风格一致（原来是蓝灰色 --crystal） */

/* ---------- buttons: 黑金铭牌 ---------- */
.btn {
  font: 500 0.95rem/1.2 var(--serif);
  color: var(--ivory);
  padding: 0.55em 1.1em;
  min-height: 40px;
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  background: linear-gradient(#2a1a20, #18101a);
  box-shadow: inset 0 1px 0 #ffffff14, inset 0 0 0 3px #00000040;
  cursor: pointer;
  letter-spacing: 0.06em;
}
.btn:not(:disabled):hover { border-color: var(--gold); color: #fff; }
.btn.primary { color: #1b1209; border-color: #e3c58f; background: linear-gradient(#dcbd84, #a9864f); box-shadow: inset 0 1px 0 #fff6, 0 0 0 1px #00000080; }
.btn.primary:not(:disabled):hover { background: linear-gradient(#ead09b, #b8935a); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.target { border-color: var(--crystal); }
input {
  font: 1rem var(--sans);
  color: var(--ivory);
  background: #0e0a10;
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 0.5em 0.6em;
  min-height: 40px;
}
input::placeholder { color: #7c7068; }
.tool { font: 0.85rem var(--sans); color: var(--ivory-dim); background: none; border: 1px solid #ffffff22; border-radius: 3px; padding: 0.3em 0.7em; min-height: 32px; cursor: pointer; }
.tool:hover { color: var(--ivory); border-color: var(--gold-dim); }

/* ---------- top bar ---------- */
.topbar { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); border-bottom: 1px solid #c7a36a33; background: #0f0b10e6; position: relative; z-index: 5; }
.brand { display: flex; align-items: baseline; gap: 0.7rem; }
.brand-zh { font: 700 1.25rem var(--serif); letter-spacing: 0.2em; color: var(--ivory); }
.brand-en { font: 0.8rem var(--latin); letter-spacing: 0.12em; color: var(--gold); }
.top-tools { display: flex; gap: 0.6rem; align-items: center; }
.conn { font-size: 0.8rem; color: var(--ivory-dim); }
.conn.ok { color: #8fbf8a; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; padding: 1rem; max-width: 1500px; margin: 0 auto; }
.layout.solo { grid-template-columns: minmax(0, 1fr); }
main { min-width: 0; }

/* ---------- home: 抵达黑棘庄园 ---------- */
.arrival {
  position: relative;
  min-height: calc(100vh - var(--top-h) - 2rem);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    url('/assets/manor.svg') bottom center / 100% auto no-repeat,
    radial-gradient(circle at 72% 30%, #e45a5a 0 7%, #9b2232 9%, #4d1420 13%, transparent 30%),
    linear-gradient(#1d0d14, #141016 60%);
}
.arrival-inner { position: relative; text-align: center; padding: 2rem; max-width: 30rem; width: 100%; }
.logo { font: 700 clamp(2.4rem, 6vw, 4rem) var(--serif); letter-spacing: 0.3em; margin: 0 0 0.2rem 0.3em; color: var(--ivory); text-shadow: 0 0 24px #b23e4c88; }
.logo-en { font: clamp(0.8rem, 1.6vw, 1.05rem) var(--latin); letter-spacing: 0.35em; color: var(--gold); margin: 0 0 2rem; }
.entry { background: #120c12d9; border: 1px solid var(--gold-dim); padding: 1.4rem; display: grid; gap: 0.9rem; text-align: left; box-shadow: 0 20px 60px #000a; }
.entry label { display: grid; gap: 0.3rem; font: 0.9rem var(--serif); color: var(--ivory-dim); }
.entry .split { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.entry .or { text-align: center; color: var(--ivory-dim); font-size: 0.85rem; }
.entry-note { color: var(--ivory-dim); font-size: 0.85rem; margin: 0; }

/* ---------- lobby: 宴会邀请函 ---------- */
.invite {
  max-width: 640px;
  margin: 2rem auto;
  padding: 2rem 2.2rem;
  background: radial-gradient(ellipse at 50% 0%, #4a1f2c, var(--wine) 60%, var(--wine-deep));
  border: 1px solid var(--gold);
  outline: 1px solid var(--gold-dim);
  outline-offset: -10px;
  box-shadow: 0 30px 80px #000c;
  text-align: center;
}
.invite h2 { font: 700 1.5rem var(--serif); letter-spacing: 0.25em; margin: 0.4rem 0; }
.invite .lead { color: var(--ivory-dim); margin: 0 0 1.4rem; font-family: var(--serif); }
.room-code { font: 700 2.4rem var(--latin); letter-spacing: 0.35em; color: var(--gold); margin-left: 0.35em; }
.invite .linkrow { display: flex; gap: 0.5rem; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0.6rem 0 1.6rem; font-size: 0.85rem; color: var(--ivory-dim); }
.roster { list-style: none; padding: 0; margin: 0 auto 1.4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.4rem 1rem; text-align: left; }
.roster li { display: flex; gap: 0.5rem; align-items: center; padding: 0.4rem 0; border-bottom: 1px dotted #c7a36a44; font-family: var(--serif); }
.roster li.empty { color: #ffffff30; }
.roster .host { font-size: 0.75rem; color: var(--gold); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5a5058; flex: none; }
.dot.on { background: #8fbf8a; box-shadow: 0 0 6px #8fbf8a; }
.muted { color: var(--ivory-dim); font-size: 0.88rem; }

/* ---------- game: 顶部状态与行动 ---------- */
.headline { display: flex; align-items: center; gap: 0.8rem 1.2rem; flex-wrap: wrap; padding: 0.5rem 0.2rem 0.8rem; }
.headline .meta { font: 0.9rem var(--serif); color: var(--ivory-dim); white-space: nowrap; }
.headline .meta b { color: var(--gold); font-family: var(--latin); letter-spacing: 0.1em; }
.prompt { font: 1.05rem var(--serif); margin: 0; flex: 1 1 18rem; }
.prompt.mine { color: #ffe1a8; text-shadow: 0 0 12px #c7a36a66; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; width: 100%; }
.verdict { padding: 1rem 1.2rem; margin-bottom: 0.8rem; border: 1px solid var(--gold-dim); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: #1b1016; }
.verdict .banner { font: 700 1.5rem var(--serif); letter-spacing: 0.15em; }
.verdict[data-winner='light'] { background: radial-gradient(ellipse at 20% 50%, #5a4320, #1b1016 70%); border-color: var(--gold); }
.verdict[data-winner='light'] .banner { color: #ffd98f; text-shadow: 0 0 18px #c7a36aaa; }
.verdict[data-winner='thorn'] { background: radial-gradient(ellipse at 20% 50%, #3d0f17, #120b0f 70%); border-color: var(--dawn); }
.verdict[data-winner='thorn'] .banner { color: #ff8a95; text-shadow: 0 0 18px #b23e4caa; }
.verdict .reason { font-family: var(--serif); color: var(--ivory-dim); flex: 1 1 14rem; }

/* ---------- 长桌 ---------- */
.stage { position: relative; width: 100%; height: clamp(340px, calc(100vh - var(--top-h) - 330px), 640px); }
.table {
  position: absolute;
  inset: 15% 13%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 40%, #5a2333 0%, #3c1824 45%, var(--wine) 75%, #1e0f16 100%);
  box-shadow:
    0 0 0 6px #2b1a12,
    0 0 0 8px var(--gold-dim),
    0 0 0 14px #1a100c,
    0 30px 80px #000,
    inset 0 0 60px #000a;
}
.table::before { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed #c7a36a33; }
.table-center { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4%; padding: 0 11%; }
.zone { text-align: center; font-family: var(--serif); }
.zone .label { font-size: 0.85rem; color: var(--ivory-dim); letter-spacing: 0.1em; }
.zone .count { font: 700 2rem var(--latin); line-height: 1.1; }
.zone .count small { font-size: 0.9rem; color: var(--ivory-dim); }
.zone.altar .count { color: var(--gold); }
.zone.altar.lit .count { text-shadow: 0 0 14px #ffd98f; }
.zone.altar .heir { font-size: 0.75rem; color: #ffd98f; }
.zone.abyss .count { color: #ff8a95; }
.ritual { display: grid; justify-items: center; gap: 0.35rem; min-width: 7rem; }
.pile { display: flex; height: 54px; align-items: center; }
.pile .back { width: 34px; aspect-ratio: 2 / 3; background: var(--asset-card-back) center / cover; border-radius: 3px; margin-left: -18px; box-shadow: 0 2px 6px #000a; }
.pile .back:first-child { margin-left: 0; }
.pile .empty { font-size: 0.8rem; color: #ffffff40; font-family: var(--serif); }
.last-reveal { font-size: 0.78rem; color: var(--ivory-dim); text-align: center; max-width: 14rem; }
.dissolved { font-size: 0.75rem; color: var(--phantom); }

/* ---------- 座位 ---------- */
.seat {
  position: absolute;
  width: var(--seat-w);
  background: linear-gradient(#211620f2, #150e14f2);
  border: 1px solid #c7a36a40;
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
  display: grid;
  gap: 0.25rem;
  color: var(--ivory);
  text-align: left;
  font-family: var(--sans);
}
.seat.me { border-color: var(--gold); }
/* 无正式桌子时的座位位置（--sx/--sy 由 app.js seatPos 给出）：按边缘锚定在舞台内 */
.seat { left: calc(50% + var(--sx) * 50%); top: calc(50% + var(--sy) * 50%); transform: translate(calc(-50% - var(--sx) * 50%), calc(-50% - var(--sy) * 50%)); }
.seat.actor { border-color: #ffd98f; box-shadow: 0 0 0 2px #ffd98f55, 0 0 22px #ffb84d66; }
.seat.targetable { cursor: pointer; border-color: var(--crystal); box-shadow: 0 0 0 2px #7eafc255; }
.seat.targetable:hover { box-shadow: 0 0 0 3px var(--crystal); }
.seat.offline { opacity: 0.6; }
.seat .nm { display: flex; align-items: center; gap: 0.35rem; font: 600 0.9rem var(--serif); white-space: nowrap; overflow: hidden; }
.seat .nm span { overflow: hidden; text-overflow: ellipsis; }
.seat .icons { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; min-height: 20px; }
.ico { width: 18px; height: 18px; flex: none; }
.ico.coin { width: 20px; height: 20px; }
.ico.crystal { width: 14px; height: 19px; }
.cnt { display: inline-flex; align-items: center; gap: 2px; color: var(--ivory-dim); font-size: 0.78rem; }
.cnt i { width: 10px; height: 15px; background: var(--asset-card-back) center / cover; border-radius: 1px; display: inline-block; }
.chip { font-size: 0.72rem; padding: 0 0.35em; border-radius: 2px; border: 1px solid #ffffff2a; color: var(--ivory-dim); white-space: nowrap; }
.chip.played { border-color: var(--gold-dim); color: var(--gold); }
.chip.crys { border-color: #7eafc266; color: var(--crystal); }
.chip.eye { border-color: #80728d; color: #c9bfd6; }
.chip[data-faction='light'] { border-color: var(--gold); color: var(--gold); }
.chip[data-faction='thorn'] { border-color: var(--dawn); color: #ff8a95; }

/* ---------- 我的区域 ---------- */
.my-area { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 1rem 1.4rem; align-items: end; padding: 0.6rem 0.2rem 0; }
.my-id { display: grid; gap: 0.4rem; justify-items: start; }
.my-id .fac { display: flex; align-items: center; gap: 0.4rem; font: 600 1rem var(--serif); }
.my-id .fac img { width: 26px; height: 26px; }
.my-id .fac[data-faction='light'] { color: var(--gold); }
.my-id .fac[data-faction='thorn'] { color: #ff8a95; }
.hand-row { display: flex; gap: 0.9rem; align-items: flex-end; flex-wrap: wrap; }
.hand { display: flex; gap: 0.6rem; }
.card {
  width: var(--card-w);
  aspect-ratio: 2 / 3;
  padding: 0;
  border-radius: 7px;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(#2d1a22, #160d13);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  cursor: default;
  color: var(--ivory);
  box-shadow: 0 6px 16px #000a, inset 0 0 0 3px #00000055;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.card .art { background-position: center 40%; background-size: 70%; background-repeat: no-repeat; }
.card .name { font: 600 0.8rem var(--serif); padding: 0.35em 0.2em 0.45em; background: #0e090ccc; border-top: 1px solid #c7a36a55; text-align: center; letter-spacing: 0.05em; }
.card .mark { position: absolute; top: 5px; left: 5px; width: 18px; height: 18px; }
.card .eye { position: absolute; top: 5px; right: 6px; font-size: 0.7rem; color: #c9bfd6; }
.card[data-faction='light'] { border-color: var(--gold); }
.card[data-faction='thorn'] { border-color: var(--dawn); background: linear-gradient(#3a161d, #170b0f); }
.card[data-faction='none'] { border-color: var(--phantom); background: linear-gradient(#242029, #121016); }
button.card:not(:disabled) { cursor: pointer; }
button.card:not(:disabled):hover { transform: translateY(-8px); box-shadow: 0 14px 24px #000c, 0 0 0 2px #ffd98f88; }
button.card:is(:disabled, [aria-disabled='true']) { opacity: 1; filter: saturate(0.75) brightness(0.85); }
.card[data-role='LEADER'] .art { background-image: var(--asset-card-face-LEADER); }
.card[data-role='SEER'] .art { background-image: var(--asset-card-face-SEER); }
.card[data-role='FOLLOWER'] .art { background-image: var(--asset-card-face-FOLLOWER); }
.card[data-role='TWIN'] .art { background-image: var(--asset-card-face-TWIN); }
.card[data-role='BRUTE'] .art { background-image: var(--asset-card-face-BRUTE); }
.card[data-role='LURKER'] .art { background-image: var(--asset-card-face-LURKER); }
.card[data-role='DECOY'] .art { background-image: var(--asset-card-face-DECOY); }
.hand-empty { font-family: var(--serif); color: var(--ivory-dim); padding: 1rem 0; }
.notes { font-size: 0.85rem; color: #d6cbe0; max-width: 22rem; }
.notes summary { cursor: pointer; font-family: var(--serif); color: #c9bfd6; }
.notes ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }

.mini { display: inline-block; padding: 0 0.4em; margin: 0 0.15em 0.15em 0; border-radius: 2px; border: 1px solid var(--gold-dim); font-size: 0.8rem; color: var(--ivory); }
.mini[data-faction='thorn'] { border-color: var(--dawn); color: #ff8a95; }
.mini[data-faction='none'] { border-color: var(--phantom); color: #c9bfd6; border-style: dashed; }

/* ---------- 侧栏 ---------- */
.side { background: #120c11; border: 1px solid #c7a36a33; display: flex; flex-direction: column; max-height: calc(100vh - var(--top-h) - 2rem); position: sticky; top: 1rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #c7a36a33; }
.tab { font: 0.95rem var(--serif); color: var(--ivory-dim); background: none; border: 0; padding: 0.7rem; cursor: pointer; border-bottom: 2px solid transparent; }
.tab[aria-selected='true'] { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: flex; flex-direction: column; min-height: 0; flex: 1; padding: 0.7rem; }
.tab-panel[hidden] { display: none; }
.chat-list, .log-list { list-style: none; padding: 0; margin: 0; overflow: auto; flex: 1; min-height: 8rem; font-size: 0.86rem; display: flex; flex-direction: column; gap: 0.35rem; line-height: 1.45; }
.chat-list b { color: var(--gold); font-weight: 600; }
.log-list li { color: var(--ivory-dim); }
.log-list li.big { color: var(--ivory); }
.chat-form { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.chat-form input { flex: 1; min-width: 0; }

/* ---------- 动画层 ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 20; }
.fx-coin { position: fixed; width: 34px; height: 34px; background: var(--asset-token-gold) center / contain no-repeat; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 8px #000); }
.fx-veil { position: fixed; background: radial-gradient(ellipse at 50% 50%, #05030680, #050306ee); border-radius: 8px; animation: fx-fade 0.5s ease both; }
.fx-moon { position: fixed; width: 54px; height: 54px; border-radius: 50%; transform: translate(-50%, -50%); border: 2px solid #c9d6e6; box-shadow: 0 0 18px #c9d6e6, inset -10px -4px 0 #c9d6e655; animation: fx-pulse 1.2s ease-in-out infinite alternate; }
.fx-caption { position: fixed; transform: translate(-50%, -50%); text-align: center; font: 1.05rem var(--serif); color: var(--ivory); background: #0d080ce6; border: 1px solid var(--gold-dim); padding: 0.7rem 1.1rem; max-width: min(28rem, 80vw); box-shadow: 0 12px 40px #000; animation: fx-rise 0.35s ease both; }
.fx-caption small { display: block; color: var(--ivory-dim); font-size: 0.85rem; margin-top: 0.25rem; }
.fx-caption.crystal { border-color: var(--crystal); box-shadow: 0 0 30px #7eafc266, 0 12px 40px #000; }
.fx-caption.crystal img { width: 30px; display: block; margin: 0 auto 0.3rem; filter: drop-shadow(0 0 10px #7eafc2); }
.fx-glow { position: fixed; transform: translate(-50%, -50%); border-radius: 6px; box-shadow: 0 0 0 2px #ffe1a8, 0 0 30px #ffd98f; animation: fx-fade 0.3s ease both; }
.fx-back { position: fixed; width: 46px; aspect-ratio: 2 / 3; transform: translate(-50%, -50%); background: var(--asset-card-back) center / cover; border-radius: 4px; box-shadow: 0 6px 16px #000; animation: fx-drop 0.45s ease both; }
.fx-reveal { position: fixed; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0.6rem; background: #0d080cee; border: 1px solid var(--gold-dim); padding: 0.9rem 1.2rem; box-shadow: 0 20px 60px #000; }
.fx-reveal .row { display: flex; gap: 0.5rem; perspective: 600px; }
.fx-reveal .fc { width: 54px; aspect-ratio: 2 / 3; position: relative; transform-style: preserve-3d; transition: transform 0.5s ease; }
.fx-reveal .fc > div { position: absolute; inset: 0; border-radius: 4px; backface-visibility: hidden; }
.fx-reveal .fc .b { background: var(--asset-card-back) center / cover; }
.fx-reveal .fc .f { transform: rotateY(180deg); border: 1px solid var(--gold); background: #1b1016 center 35% / 70% no-repeat; font: 0.6rem var(--serif); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; }
.fx-reveal .fc .f[data-faction='thorn'] { border-color: var(--dawn); }
.fx-reveal .fc .f[data-faction='none'] { border-color: var(--phantom); }
.fx-reveal .row.shuffle .fc { animation: fx-shuffle 0.18s ease-in-out 3 alternate; }
.fx-reveal .row.open .fc { transform: rotateY(180deg); }
.fx-reveal .out { font: 1rem var(--serif); }
.fx-end { position: fixed; transform: translate(-50%, -50%); width: 240px; height: 240px; border-radius: 50%; animation: fx-fade 0.8s ease both; }
.fx-end.light { background: radial-gradient(circle, #ffd98faa, #c7a36a33 50%, transparent 70%); }
.fx-end.thorn { background: radial-gradient(circle at 60% 40%, #000 0 35%, transparent 36%), radial-gradient(circle, #b23e4c 0 40%, #b23e4c55 52%, transparent 70%); }
@keyframes fx-fade { from { opacity: 0; } }
@keyframes fx-rise { from { opacity: 0; transform: translate(-50%, -40%); } }
@keyframes fx-pulse { to { box-shadow: 0 0 30px #e6eef8, inset -10px -4px 0 #c9d6e655; } }
@keyframes fx-drop { from { opacity: 0; transform: translate(-50%, -80%) scale(1.25); } }
@keyframes fx-shuffle { to { transform: translateX(6px) rotate(4deg); } }

.toast { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); background: #0d080c; color: var(--ivory); border: 1px solid var(--gold-dim); padding: 0.55rem 1.1rem; z-index: 30; font-family: var(--serif); }
.rotate { display: none; }

/* ---------- 人数密度 ---------- */
.stage.dense { --seat-w: 128px; }
.stage.dense .seat { font-size: 0.75rem; padding: 0.3rem 0.4rem; }
.stage.dense .seat .nm { font-size: 0.82rem; }

/* ---------- 窄屏 / 手机横屏 ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .drawer-toggle { display: inline-block; }
  .side { position: fixed; right: 0; top: var(--top-h); bottom: 0; width: min(340px, 85vw); max-height: none; z-index: 15; transform: translateX(100%); transition: transform 0.2s ease; box-shadow: -20px 0 50px #000c; }
  .side.open { transform: none; }
}
@media (max-height: 520px) {
  :root { --top-h: 40px; --card-w: 66px; --seat-w: 112px; }
  .layout { padding: 0.4rem; padding-left: max(0.4rem, env(safe-area-inset-left)); padding-right: max(0.4rem, env(safe-area-inset-right)); }
  .brand-en { display: none; }
  .brand-zh { font-size: 1rem; }
  .headline { padding: 0.1rem 0 0.3rem; gap: 0.3rem 0.8rem; }
  .prompt { font-size: 0.88rem; }
  .verdict { padding: 0.4rem 0.7rem; margin-bottom: 0.3rem; }
  .verdict .banner { font-size: 1.05rem; }
  .stage { height: calc(100vh - var(--top-h) - 150px); min-height: 200px; }
  .stage.dense { --seat-w: 96px; }
  .seat { font-size: 0.68rem; padding: 0.2rem 0.3rem; gap: 0.1rem; }
  .seat .nm { font-size: 0.74rem; }
  .ico { width: 14px; height: 14px; }
  .ico.coin { width: 16px; height: 16px; }
  .zone .count { font-size: 1.3rem; }
  .zone .label { font-size: 0.7rem; }
  .pile { height: 34px; }
  .pile .back { width: 22px; margin-left: -12px; }
  .last-reveal { display: none; }
  .my-area { gap: 0.4rem 0.8rem; padding-top: 0.2rem; }
  .card .name { font-size: 0.66rem; }
  .card .mark { width: 13px; height: 13px; }
  .notes { font-size: 0.75rem; }
  .arrival { min-height: calc(100vh - var(--top-h) - 1rem); }
  .logo-en { margin-bottom: 0.8rem; }
  .entry { padding: 0.9rem; gap: 0.5rem; }
  .invite { margin: 0.4rem auto; padding: 1rem 1.2rem; }
  .room-code { font-size: 1.6rem; }
}
/* 竖屏提示层：styles/themed-controls.css（rotate-hint） */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- 补充：显隐、座位按钮、主体分栏 ---------- */
.side[hidden], .drawer-toggle[hidden] { display: none !important; }
.drawer-toggle:not([hidden]) { display: inline-block; }
button.seat { font: inherit; cursor: pointer; }
.game-body { display: block; }
.my-area .choices { grid-column: 1 / -1; }
.pass { display: grid; gap: 0.3rem; justify-items: start; align-self: center; }
@media (max-height: 520px) {
  .game-body { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 0.5rem; }
  .stage { height: calc(100vh - var(--top-h) - 3.2rem); height: calc(100dvh - var(--top-h) - 3.2rem); }
  .my-area { display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; max-height: calc(100dvh - var(--top-h) - 3.2rem); overflow-y: auto; padding: 0; }
  .my-area .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; }
  .my-area .choices .btn { padding: 0.3em 0.4em; font-size: 0.78rem; }
  .hand-row { flex-wrap: wrap; gap: 0.4rem; }
  .hand { gap: 0.3rem; }
  .pass { align-self: stretch; }
  .pass .btn { width: 100%; }
  .my-id .fac { font-size: 0.85rem; }
  .my-id .fac img { width: 20px; height: 20px; }
  .verdict ~ .game-body .stage, .verdict ~ .game-body .my-area { height: calc(100dvh - var(--top-h) - 6.5rem); max-height: none; }
}

/* 座位紧凑标记：桌面显示文字 .t，手机横屏显示短标记 .s */
.seat .chip .s { display: none; }
.chip.crys { display: inline-flex; align-items: center; gap: 2px; }
.chip.fac { display: inline-flex; align-items: center; }
.seat[data-faction='light'] { border-color: #c7a36a99; }
.seat[data-faction='thorn'] { border-color: #b23e4c; }
@media (max-height: 520px) {
  .seat .icons { flex-wrap: nowrap; gap: 0.2rem; overflow: hidden; }
  .seat .chip .t { display: none; }
  .seat .chip .s { display: inline; }
  .seat .chip { padding: 0 0.25em; line-height: 1.3; }
  .seat .chip.fac { border: 0; padding: 0; }
  .seat .chip.crys { border: 0; padding: 0; }
  .verdict { gap: 0.3rem 0.7rem; }
  .verdict img { width: 24px; height: 24px; }
  .verdict .reason { font-size: 0.78rem; flex-basis: 10rem; }
  .verdict .btn { min-height: 40px; padding: 0.3em 0.8em; }
}
@media (max-height: 520px) {
  .verdict ~ .game-body .stage, .verdict ~ .game-body .my-area { height: calc(100dvh - var(--top-h) - 5.4rem); }
  .verdict ~ .headline { padding: 0 0 0.15rem; }
  .stage.dense .seat { padding: 0.12rem 0.3rem; gap: 0; }
  .stage.dense .seat .ico { width: 13px; height: 13px; }
  .stage.dense .seat .ico.coin { width: 14px; height: 14px; }
}

/* ---------- 大厅座位与电脑 ---------- */
.lobby-tools { display: flex; gap: 0.8rem; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; font-family: var(--serif); color: var(--ivory-dim); }
.lobby-tools select { font: 0.95rem var(--sans); color: var(--ivory); background: #0e0a10; border: 1px solid var(--gold-dim); border-radius: 3px; min-height: 40px; padding: 0 0.5em; margin-left: 0.3em; }
.roster .slot { justify-content: flex-start; min-height: 48px; }
.roster .slot .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roster .slot.empty .who { color: #ffffff55; }
.roster .slot.cpu .who { color: #c9bfd6; }
.roster .badge, .cpu-tag { font: normal 0.7rem var(--sans); color: #c9bfd6; border: 1px solid var(--phantom); border-radius: 2px; padding: 0 0.3em; flex: none; }
.btn.mini-btn { font-size: 0.8rem; padding: 0.25em 0.6em; min-height: 40px; flex: none; }
.seat .nm .cpu-tag { margin-left: auto; }
@media (max-height: 520px) {
  .lobby-tools { margin-bottom: 0.4rem; }
  .roster { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-bottom: 0.6rem; }
  .roster .slot { min-height: 44px; padding: 0.1rem 0; }
  .seat .nm .cpu-tag { display: none; }
}

/* ======================= 开场仪式 ======================= */
body.opening-on { overflow: hidden; }
.op {
  position: fixed; inset: 0; z-index: 40; display: grid; grid-template-rows: 1fr auto;
  color: var(--ivory); font-family: var(--serif);
  --card-h: min(34vh, 260px);
}
.op-bg { position: absolute; inset: 0; overflow: hidden;
  background:
    url('/assets/manor.svg') bottom center / 100% auto no-repeat,
    radial-gradient(circle at 76% 22%, #e45a5a 0 5%, #9b2232 7%, #4d1420 11%, transparent 26%),
    radial-gradient(ellipse 90% 60% at 50% 100%, #3c1824, transparent 70%),
    linear-gradient(#1d0d14, #120a10 70%);
}
.op-candles { position: absolute; inset: auto 0 18% 0; height: 30%;
  background: radial-gradient(circle at 20% 60%, #ffb84d33 0 2%, transparent 8%), radial-gradient(circle at 35% 70%, #ffb84d2a 0 2%, transparent 7%),
    radial-gradient(circle at 65% 70%, #ffb84d2a 0 2%, transparent 7%), radial-gradient(circle at 80% 60%, #ffb84d33 0 2%, transparent 8%);
  animation: op-flicker 2.4s ease-in-out infinite alternate; }
.op-veil { position: absolute; inset: 0; background: #05030a; opacity: 0; transition: opacity 1.4s ease; }
.op.night .op-veil { opacity: 0.86; }
.op.night .op-candles { opacity: 0.15; transition: opacity 1.2s ease; }
.op.dawn .op-veil { opacity: 0; transition-duration: 2s; }
.op-stage { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; padding: 3vh 2rem 0; min-height: 0; }
.op-lines { grid-row: 1; text-align: center; min-height: 6em; display: grid; align-content: start; gap: 0.5rem; padding-top: 4vh; max-width: 34rem; }
.op-line { margin: 0; font-size: clamp(1.05rem, 2.4vw, 1.5rem); letter-spacing: 0.08em; text-shadow: 0 2px 12px #000; animation: op-line 1.1s ease both; }
.op-line.strong { color: #ffd98f; margin-top: 0.6rem; }
.op-line.title { font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: 0.25em; color: #ffe1a8; text-shadow: 0 0 24px #b23e4caa; margin-top: 0.8rem; }
.op-caption { grid-row: 3; text-align: center; min-height: 4.6em; max-width: 36rem; position: relative; z-index: 3; }
.op-say { margin: 0; font-size: clamp(0.95rem, 2vw, 1.2rem); animation: op-line 0.6s ease both; display: grid; gap: 0.3rem; justify-items: center; text-shadow: 0 2px 10px #000; }
.op-say small { font-size: 0.85rem; color: var(--ivory-dim); }
.op-youare { color: var(--ivory-dim); }
.op-role { font-size: clamp(1.4rem, 3.4vw, 2rem); letter-spacing: 0.15em; }
.op-role[data-faction='light'] { color: #ffd98f; }
.op-role[data-faction='thorn'] { color: #ff8a95; }
.op-role[data-faction='none'] { color: #c9bfd6; }
.op-continue { margin-top: 0.6rem; }
.op-wait { grid-row: 3; font-size: 1.05rem; color: #ffe1a8; margin-bottom: 1rem; }
.op-bar { position: relative; display: flex; gap: 0.6rem; justify-content: flex-end; align-items: center; padding: 0.8rem 1.2rem; padding-bottom: max(0.8rem, env(safe-area-inset-bottom)); z-index: 5; }
.op-note { margin-right: auto; color: var(--ivory-dim); font-size: 0.8rem; font-family: var(--sans); }

/* ---- 卡牌：一条 transform 由变量组合；状态只改变量 ---- */
.opc { --tx: 0px; --ty: 0px; --rot: 0deg; --sc: 1; --lift: 0px;
  position: relative; width: calc(var(--card-h) * 2 / 3); height: var(--card-h); padding: 0; border: 0; background: none; color: inherit;
  transform: translate(var(--tx), calc(var(--ty) + var(--lift))) rotate(var(--rot)) scale(var(--sc));
  transition: transform 0.6s cubic-bezier(.3,.7,.25,1), opacity 0.5s ease, filter 0.5s ease;
  perspective: 900px; will-change: transform; }
.opc-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.85s cubic-bezier(.4,.1,.2,1); }
.opc.flipped .opc-inner { transform: rotateY(180deg); }
.opc-face { position: absolute; inset: 0; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px #00000080, 0 2px 3px #0009, 0 8px 16px #0008, 0 22px 40px -12px #000c; }
.opc-back { background: var(--asset-card-back) center / cover; }
.opc-front { transform: rotateY(180deg); display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 2px solid var(--gold); background: linear-gradient(#2d1a22, #160d13); }
.opc-front[data-faction='thorn'] { border-color: var(--dawn); background: linear-gradient(#3a161d, #170b0f); }
.opc-front[data-faction='none'] { border-color: var(--phantom); background: linear-gradient(#242029, #121016); }
.opc-art { background: center 42% / 68% no-repeat; }
.opc-name { font-size: calc(var(--card-h) * 0.075); padding: 0.35em 0.2em 0.5em; background: #0e090ccc; border-top: 1px solid #c7a36a55; text-align: center; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 七张命运牌扇形 */
.op-fan { grid-row: 2; align-self: center; display: flex; justify-content: center; align-items: center; position: relative; z-index: 2; }
.op-fan .fate { --rot: calc(var(--i) * 7deg); --ty: calc(var(--i) * var(--i) * 4px); margin: 0 calc(var(--card-h) * -0.12); opacity: 0; cursor: pointer; }
.op-fan.in .fate { opacity: 1; transition-delay: calc((var(--i) + 3) * 60ms); }
.op-fan .fate:not(:disabled):hover, .op-fan .fate:not(:disabled):focus-visible { --lift: -14px; z-index: 2; }
.op-fan .fate.dim { opacity: 0.18; filter: grayscale(0.6); transition-delay: 0s; }
.op-fan .fate.chosen { --rot: 0deg; z-index: 5; opacity: 1; transition-delay: 0s; }
.op-fan .fate.chosen .opc-face { box-shadow: 0 0 0 1px #000, 0 0 28px #ffd98f88, 0 20px 50px #000; }
.op-fan .fate.flying { transition-duration: 0.6s; }
.op-fan.gone .fate { opacity: 0; transition: opacity 0.4s ease; }

/* 自己的手牌位 */
.op-hand { grid-row: 4; display: flex; gap: 1rem; justify-content: center; padding: 0.6rem 0 0.4rem; min-height: calc(var(--card-h) * 0.62 + 1rem); --card-h: min(24vh, 180px); }
.op-hand .slot { opacity: 0; }
.op-hand .slot.incoming { --ty: -42vh; --sc: 0.8; opacity: 1; transition: none; }
.op-hand .slot.placed { --ty: 0px; --sc: 1; opacity: 1; transition: transform 0.6s cubic-bezier(.3,.7,.25,1), opacity 0.3s; }
.op.night .op-hand .slot { filter: brightness(0.55); }
.op-hand .slot.swapping .opc-inner { animation: op-mirror 1.2s ease-in-out; }
.op-hand .slot.swapped .opc-face { box-shadow: 0 0 0 2px #c9d6e6, 0 0 26px #c9d6e6aa, 0 10px 24px #000; }
.op.night .op-hand .slot.swapped, .op.night .op-hand .slot.swapping { filter: none; }

/* 夜间席位环 */
.op-ring { grid-row: 2; align-self: stretch; justify-self: stretch; position: relative; opacity: 0; pointer-events: none; transition: opacity 0.8s ease; margin: 0 6%; }
.op-ring.in { opacity: 1; }
.op-ring.fade { opacity: 0.25; }
.op-seat { position: absolute; left: calc(50% + var(--x) * 44%); top: calc(50% + var(--y) * 40%); transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 0.25rem; font-size: 0.85rem; color: #8d8296; min-width: 5rem; transition: color 0.4s, filter 0.4s; }
.op-eye { width: 46px; height: 26px; border-radius: 50% / 60%; border: 2px solid #4a4252; background: #0d0a10; position: relative; transition: all 0.45s ease; }
.op-eye::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%) scaleY(0.1); background: #4a4252; transition: transform 0.45s ease, background 0.45s; }
.op-seat.spot { filter: drop-shadow(0 0 14px #c9d6e6aa); color: var(--ivory); }
.op-seat.open .op-eye { border-color: #ffd98f; box-shadow: 0 0 18px #ffb84daa; }
.op-seat.open .op-eye::after { transform: translate(-50%, -50%) scaleY(1); background: #ffd98f; }
.op-seat.open { color: #ffe1a8; }
.op-seat.closed .op-eye { height: 6px; margin: 10px 0; border-radius: 3px; border-color: #3a3340; }
.op-seat.masked .op-eye { border-color: #5d5468; background: repeating-linear-gradient(45deg, #1a1520 0 4px, #231c2b 4px 8px); }
.op-seat.masked.spot .op-eye { box-shadow: 0 0 16px #80728d88; }

@keyframes op-line { from { opacity: 0; transform: translateY(8px); } }
@keyframes op-flicker { to { opacity: 0.7; } }
@keyframes op-mirror { 50% { transform: rotateY(90deg); filter: brightness(2); } }

/* 减少动态效果：不翻转、不飞行，用淡入直接切换 */
.op.rm .opc, .op.rm .opc-inner { transition: opacity 0.3s ease !important; }
.op.rm .opc { --tx: 0px !important; --ty: 0px !important; --rot: 0deg !important; --lift: 0px !important; }
.op.rm .op-fan .fate.chosen { --sc: 1.2 !important; }
.op.rm .opc.flipped .opc-inner { transform: none; }
.op.rm .opc.flipped .opc-back { opacity: 0; }
.op.rm .opc-front { transform: none; opacity: 0; transition: opacity 0.3s; }
.op.rm .opc.flipped .opc-front { opacity: 1; }
.op.rm .op-hand .slot.incoming { --ty: 0px; opacity: 0; }
.op.rm .op-hand .slot.placed { opacity: 1; }
.op.rm .op-line, .op.rm .op-say { animation: op-fade 0.4s ease both; }
@keyframes op-fade { from { opacity: 0; } }

/* 手机横屏 */
@media (max-height: 520px) {
  .op { --card-h: min(40vh, 150px); }
  .op-stage { padding-top: 1vh; grid-template-rows: auto 1fr auto auto; }
  .op-lines { min-height: 0; padding-top: 1vh; gap: 0.2rem; }
  .op-line { font-size: 0.95rem; }
  .op-line.title { font-size: 1.4rem; }
  .op-caption { min-height: 3.2em; }
  .op-say { font-size: 0.9rem; }
  .op-role { font-size: 1.15rem; }
  .op-hand { --card-h: 24vh; min-height: 0; padding: 0.2rem 0; gap: 0.6rem; }
  .op-bar { padding: 0.3rem 0.8rem; padding-bottom: max(0.3rem, env(safe-area-inset-bottom)); }
  .op-note { display: none; }
  .op-seat { font-size: 0.72rem; }
  .op-eye { width: 34px; height: 20px; }
}
/* 同一行叠放的层必须钉在第 1 列，否则自动排布会生成隐式第 2 列把内容挤偏 */
.op-stage > * { grid-column: 1; }
.op-hand .slot.instant, .op-hand .slot.instant .opc-inner { transition: none !important; }

/* 夜间汇总：标记保留，聚光收起 */
.op-ring.summary .op-seat { filter: none; }
.op-ring.summary .op-seat.open { filter: drop-shadow(0 0 10px #ffb84d88); }
.op-say small[data-testid] { display: block; }

/* ======================= 对局节奏与特写 ======================= */
.tabs { grid-template-columns: repeat(4, 1fr); }
.tab { padding: 0.65rem 0.2rem; }
.headline .ffwd { margin-left: auto; font-size: 0.85rem; padding: 0.35em 0.8em; }

/* 座位前方的暗置牌（公开：谁出了牌；不公开：哪张） */
.fronts { position: absolute; inset: 0; pointer-events: none; }
.front-back { position: absolute; left: calc(50% + var(--fc) * 29%); top: calc(50% + var(--fs) * 26%); width: 30px; aspect-ratio: 2 / 3; transform: translate(-50%, -50%) rotate(-4deg); background: var(--asset-card-back) center / cover; border-radius: 3px; box-shadow: 0 0 0 1px #0008, 0 3px 6px #000a, 0 8px 16px -6px #000c; }
.stage.gathering .front-back { visibility: hidden; }
/* .seat.thinking 只留类名（e2e / 读屏用）：不再在头像右上角冒「…」小框（11-07 用户：不说话时两个「…」都不要） */
.stage[data-presenting='1'] .seat.actor { box-shadow: 0 0 0 2px #ffd98f, 0 0 28px #ffb84d99; }

.fx-back { position: fixed; width: 44px; aspect-ratio: 2 / 3; transform: translate(-50%, -50%); background: var(--asset-card-back) center / cover; border-radius: 4px; box-shadow: 0 0 0 1px #0008, 0 4px 8px #000a, 0 14px 28px -8px #000; animation: none; }
.fx-bubble { position: fixed; transform: translate(-50%, -100%); background: #f0e2cb; color: #2a1a20; font: 600 0.95rem var(--serif); padding: 0.45em 1em; border-radius: 1.2em; box-shadow: 0 6px 18px #000a; animation: bubble 0.35s cubic-bezier(.3,1.6,.5,1) both; }
.fx-bubble::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: #f0e2cb; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
@keyframes bubble { from { opacity: 0; transform: translate(-50%, -80%) scale(0.6); } }
.fx-banner { position: fixed; transform: translate(-50%, -50%); font: 700 2rem var(--serif); letter-spacing: 0.3em; color: #ffe1a8; text-shadow: 0 0 24px #b23e4c, 0 2px 8px #000; animation: fx-rise 0.5s ease both; }
.fx-coin { width: 40px; height: 40px; }

.fx-card { position: fixed; width: 58px; aspect-ratio: 2 / 3; transform: translate(-50%, -50%); perspective: 600px; }
.fx-card .b, .fx-card .f { position: absolute; inset: 0; border-radius: 5px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.6s ease; box-shadow: 0 0 0 1px #0008, 0 4px 8px #000a, 0 12px 24px -8px #000; }
.fx-card .b { background: var(--asset-card-back) center / cover; }
.fx-card .f { transform: rotateY(180deg); background: #1b1016 center 38% / 66% no-repeat; border: 1px solid var(--gold); display: flex; align-items: flex-end; justify-content: center; }
.fx-card .f span { font: 0.58rem var(--serif); background: #0e090ccc; width: 100%; text-align: center; padding: 2px 0; }
.fx-card .f[data-faction='thorn'] { border-color: var(--dawn); }
.fx-card .f[data-faction='none'] { border-color: var(--phantom); }
.fx-card.open .b { transform: rotateY(-180deg); }
.fx-card.open .f { transform: rotateY(0deg); }
.fx-card.vanish { transition: opacity 0.9s ease, transform 0.9s ease !important; opacity: 0 !important; transform: translate(-50%, -110%) scale(0.8) !important; }
.fx-card.strike .f { box-shadow: 0 0 0 2px #ff5c6a, 0 0 22px #b23e4c; }
.fx-caption.reveal-cap { font-size: 1.1rem; min-width: 16rem; }
.fx-slain { position: fixed; transform: translate(-50%, -50%); font: 700 1.6rem var(--serif); color: #ff8a95; background: radial-gradient(ellipse, #3d0f17ee, #120b0fdd 70%); border: 1px solid var(--dawn); padding: 1rem 1.6rem; box-shadow: 0 0 60px #b23e4c; animation: fx-rise 0.4s ease both; }

/* 战况 */
.report { overflow: auto; flex: 1; font-family: var(--serif); }
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.rp-cell { border: 1px solid #c7a36a33; padding: 0.45rem 0.6rem; background: #1a1117; }
.rp-cell.abyss, .rp-cell.altar, .rp-cell.heir { grid-column: span 2; display: flex; justify-content: space-between; align-items: baseline; }
.rp-label { font-size: 0.8rem; color: var(--ivory-dim); }
.rp-num { font: 700 1.9rem var(--latin); line-height: 1.1; }
.rp-num small { font-size: 0.9rem; color: var(--ivory-dim); }
.rp-cell.abyss .rp-num { color: #ff8a95; }
.rp-cell.altar .rp-num { color: var(--gold); }
.rp-cell.crys .rp-num { color: var(--crystal); }
.rp-state { font-size: 1.05rem; color: var(--ivory-dim); }
.rp-cell.heir.on { border-color: var(--gold); background: radial-gradient(ellipse at 80% 50%, #5a432066, #1a1117 70%); }
.rp-cell.heir.on .rp-state { color: #ffd98f; }
.rp-cell.bump { animation: bump 1.2s ease; }
@keyframes bump { 0% { box-shadow: 0 0 0 2px #ffd98f, 0 0 24px #ffd98f; transform: scale(1.04); } 100% { box-shadow: none; transform: none; } }
.rp-goal { font-size: 0.84rem; line-height: 1.5; margin: 0.7rem 0; padding: 0.5rem 0.6rem; border-left: 2px solid var(--gold-dim); background: #150e13; }
.rp-goal p { margin: 0.15rem 0; }
.t-thorn { color: #ff8a95; }
.t-light { color: var(--gold); }
.rp-h { font: 600 0.95rem var(--serif); margin: 0.6rem 0 0.3rem; color: var(--ivory-dim); }
.rp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.82rem; }
.rp-rows li { display: grid; grid-template-columns: auto auto 1fr; gap: 0.2rem 0.5rem; align-items: center; padding: 0.3rem 0.4rem; background: #150e13; border: 1px solid #ffffff10; }
.rp-r { color: var(--gold); }
.rp-p { color: var(--ivory-dim); }
.rp-roles { grid-column: 1 / -1; }
.rp-o { grid-column: 1 / -1; color: var(--ivory); }
.rp-o[data-outcome='killed'] { color: #ff8a95; }
.rp-o[data-outcome='sacrificed'] { color: #ffd98f; }
.side-notes { font-size: 0.9rem; }
.side-notes .notes { max-width: none; }

@media (max-height: 520px) {
  .front-back { width: 18px; }
  .fx-card { width: 40px; }
  .fx-banner { font-size: 1.3rem; }
  .fx-slain { font-size: 1.1rem; }
  .headline .ffwd { min-height: 32px; padding: 0.2em 0.6em; font-size: 0.75rem; }
}

/* ---------- 面板收起 / 未读 ---------- */
.layout.side-collapsed { grid-template-columns: minmax(0, 1fr); }
.layout.side-collapsed .side { display: none; }
.badge-unread { display: inline-block; min-width: 1.3em; margin-left: 0.3em; padding: 0 0.35em; border-radius: 0.65em; background: var(--dawn); color: #fff; font: 600 0.72rem var(--sans); line-height: 1.3em; text-align: center; }

/* ---------- 去向特效：处决（冷、灰、碎）vs 献祭（暖、金、圆）---------- */
.fx-card.resolved { transition: left 0.4s var(--ease-fate), top 0.4s var(--ease-fate), transform 0.4s var(--ease-fate), opacity 0.4s; }
.fx-card .fx-slash { position: absolute; left: -30%; top: 45%; width: 160%; height: 3px; background: linear-gradient(90deg, transparent, #f3e9ff 40%, #b23e4c 60%, transparent); transform: rotate(-35deg) scaleX(0); transform-origin: left center; box-shadow: 0 0 10px #ff8a95; animation: slash calc(var(--fate-ms) * 0.22) var(--ease-fate) forwards; pointer-events: none; }
.fx-card .fx-slash.strong { height: 6px; box-shadow: 0 0 22px #ff5c6a, 0 0 44px #b23e4c; }
@keyframes slash { 0% { transform: rotate(-35deg) scaleX(0); opacity: 1; } 70% { transform: rotate(-35deg) scaleX(1); opacity: 1; } 100% { transform: rotate(-35deg) scaleX(1); opacity: 0; } }
.fx-card.fate-killed .f { animation: desat calc(var(--fate-ms) * 0.35) ease forwards; animation-delay: calc(var(--fate-ms) * 0.2); }
.fx-card.fate-killed .f::after { content: ''; position: absolute; inset: 0; opacity: 0; background:
    linear-gradient(115deg, transparent 47%, #0008 48%, #0008 49%, transparent 50%),
    linear-gradient(60deg, transparent 58%, #0007 59%, transparent 60%),
    linear-gradient(160deg, transparent 30%, #0006 31%, transparent 32%);
  animation: crack 0.2s ease forwards; animation-delay: calc(var(--fate-ms) * 0.2); }
@keyframes desat { to { filter: grayscale(1) brightness(0.55) contrast(1.1); } }
@keyframes crack { to { opacity: 1; } }
.fx-card .ash { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #4a4450; opacity: 0;
  animation: ash calc(var(--fate-ms) * 0.45) ease-out forwards; animation-delay: calc(var(--fate-ms) * 0.45);
  --dx: calc((var(--k) - 2.5) * 9px); }
@keyframes ash { 0% { opacity: 0.9; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--dx), -26px) scale(0.4); } }

.fx-card .rune { position: absolute; left: 50%; bottom: -14px; width: 120%; aspect-ratio: 3 / 1; transform: translateX(-50%) scale(0.3); border-radius: 50%; border: 2px solid #ffd98f;
  box-shadow: 0 0 14px #ffb84d, inset 0 0 10px #ffb84d88; opacity: 0; animation: rune calc(var(--fate-ms) * 0.4) var(--ease-fate) forwards; }
@keyframes rune { to { opacity: 1; transform: translateX(-50%) scale(1); } }
.fx-card.fate-sacrificed .f { animation: goldedge calc(var(--fate-ms) * 0.4) ease forwards; animation-delay: calc(var(--fate-ms) * 0.25); }
@keyframes goldedge { to { box-shadow: 0 0 0 2px #ffd98f, 0 0 26px #ffb84d, 0 0 50px #c7a36a88; border-color: #ffd98f; } }
.fx-card .spark { position: absolute; left: calc(15% + var(--k) * 11%); bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 6px #ffb84d; opacity: 0;
  animation: spark calc(var(--fate-ms) * 0.5) ease-out forwards; animation-delay: calc(var(--fate-ms) * (0.1 + var(--k) * 0.03)); }
@keyframes spark { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-40px); } }
.fx-card.fate-smoke { transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease !important; opacity: 0 !important; filter: blur(3px) grayscale(1) sepia(0.3) hue-rotate(220deg); transform: translate(-50%, -80%) scale(0.85) !important; }

/* 月血继承人 */
.fx-card .crown-seal { position: absolute; left: 50%; top: -38px; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #e45a5a 0 45%, #9b2232 60%, transparent 72%); color: #ffd98f; font-size: 22px; text-shadow: 0 0 8px #ffd98f;
  opacity: 0; animation: seal 0.9s ease forwards; animation-delay: calc(var(--fate-ms) * 0.15); }
@keyframes seal { 0% { opacity: 0; transform: translateX(-50%) scale(0.4); } 60% { opacity: 1; transform: translateX(-50%) scale(1.15); } 100% { opacity: 1; transform: translateX(-50%) scale(1); } }
.fx-dim { position: fixed; background: radial-gradient(ellipse, #0000 20%, #000c 75%); border-radius: 8px; opacity: 0; animation: dim 0.9s ease forwards; pointer-events: none; }
@keyframes dim { to { opacity: 1; } }

/* 柔和特效：无剑光、无骤暗、无闪动，用静态标记表达结果 */
body.calm .fx-card .fx-slash, body.calm .fx-card .ash, body.calm .fx-card .spark, body.calm .fx-dim { display: none; }
body.calm .fx-card.fate-killed .f { animation: none; filter: grayscale(1) brightness(0.6); }
body.calm .fx-card.fate-killed .f::after { animation: none; opacity: 1; }
body.calm .fx-card.fate-killed::before { content: '处决'; position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font: 600 0.75rem var(--serif); color: #ff8a95; }
body.calm .fx-card.fate-sacrificed::before { content: '献祭'; position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font: 600 0.75rem var(--serif); color: #ffd98f; }
body.calm .fx-card .rune, body.calm .fx-card .crown-seal { animation: none; opacity: 1; transform: translateX(-50%); }
body.calm .fx-card.fate-sacrificed .f { animation: none; box-shadow: 0 0 0 2px #ffd98f; }
body.calm .fx-slain { box-shadow: none; }
body.calm .rp-cell.bump { animation: none; outline: 2px solid #ffd98f; }

.verdict-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
#leave-top[hidden] { display: none; }

/* ---------- 布局稳定：行动/演出不改变任何容器尺寸 ---------- */
html { scrollbar-gutter: stable; }
.headline { flex-wrap: nowrap; height: 52px; padding-top: 0; padding-bottom: 0; }
.headline .prompt { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headline .ffwd { flex: none; }
.headline .ffwd.idle { visibility: hidden; }
.seat { min-height: 82px; align-content: start; }
.stage.dense .seat { min-height: 74px; }
.my-area .choices-slot { grid-column: 1 / -1; min-height: 44px; display: flex; align-items: center; }
.my-area .choices-slot .choices { width: 100%; }
@media (max-height: 520px) {
  .headline { height: 36px; }
  .seat, .stage.dense .seat { min-height: 0; }
  .my-area .choices-slot { min-height: 0; }
}
.pass.idle, .pass .must.idle { visibility: hidden; }
@media (max-height: 520px) {
  .my-area .notes ul { height: 4.6em; overflow-y: auto; overscroll-behavior: contain; }
  .my-area .choices-slot { order: 3; }
  .my-area .my-id { order: 1; }
  .my-area .hand-row { order: 2; }
}
.fx-bubble.veil { background: #2a2433; color: #d8cfe4; border: 1px dashed #91abc0; }
.chip.veil { border-style: dashed; border-color: #91abc0; color: #c9d6e6; }
.verdict .reason .ending { display: block; margin-top: 0.25rem; font-size: 0.86rem; color: var(--ivory); opacity: 0.85; }

/* ---- 发言：座位气泡、聊天里的结构化发言、快捷发言栏 ---- */
.speech-layer { position: fixed; inset: 0; pointer-events: none; z-index: 12; }
.speech-bubble {
  --tail-x: 50%;
  position: fixed; transform: translate(-50%, -100%); max-width: min(17rem, 42vw); padding: 0.5em 0.85em;
  background: #f3e6cf; color: #2a1a20; border: 1px solid #c7a36a; border-radius: 0.9em;
  font: 500 0.92rem/1.45 var(--serif); box-shadow: 0 8px 22px #000b; animation: speech-in 0.3s ease-out both;
}
.speech-bubble::after { content: ''; position: absolute; left: var(--tail-x); bottom: -6px; width: 10px; height: 10px; background: #f3e6cf; border: solid #c7a36a; border-width: 0 1px 1px 0; transform: translateX(-50%) rotate(45deg); }
.speech-bubble.below { transform: translate(-50%, 0); }
.speech-bubble.below::after { bottom: auto; top: -6px; border-width: 1px 0 0 1px; }
.speech-bubble[hidden] { display: none; }
.seat.speaking { border-color: #f3e6cf; box-shadow: 0 0 0 1px #f3e6cf88, 0 0 16px #f3e6cf44; }
.chat-list li.say .act-tag { font-style: normal; font-size: 0.72rem; color: var(--ivory-dim); border: 1px solid #c7a36a55; border-radius: 2px; padding: 0 0.3em; margin-left: 0.3em; }
.chat-list li.say.cpu b { color: #e6c993; }
.say-bar { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #c7a36a33; display: grid; gap: 0.4rem; }
.say-bar[hidden] { display: none; }
.say-row { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--ivory-dim); }
.say-row label { display: flex; align-items: center; gap: 0.3em; flex: 1; min-width: 7rem; }
.say-row select { flex: 1; min-width: 0; font: 0.85rem var(--sans); color: var(--ivory); background: #0e0a10; border: 1px solid var(--gold-dim); border-radius: 3px; min-height: 34px; }
.say-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; }
.say-btn { font-size: 0.8rem; padding: 0.35em 0.3em; min-height: 34px; }
@media (max-height: 520px) {
  .speech-bubble { font-size: 0.78rem; max-width: min(13rem, 34vw); padding: 0.35em 0.6em; }
  .say-btn, .say-row select { min-height: 40px; }
}
@keyframes speech-in { from { opacity: 0; } }
.roster .arche { font-size: 0.75rem; margin-left: 0.4em; }

.say-more { display: grid; gap: 0.3rem; margin-top: 0.3rem; padding-top: 0.4rem; border-top: 1px dashed #c7a36a33; font-size: 0.8rem; color: var(--ivory-dim); }
.say-more label { display: flex; align-items: center; gap: 0.3em; }
.say-more select, .say-more-fields select { flex: 1; min-width: 0; font: 0.85rem var(--sans); color: var(--ivory); background: #0e0a10; border: 1px solid var(--gold-dim); border-radius: 3px; min-height: 34px; }
.say-more-fields { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.say-checks { display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; }
.chat-free-toggle { align-self: flex-start; margin-top: 0.4rem; }
.chat-form[hidden] { display: none; }
.say-row label[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 发言面板（11-02）：5 个类别 + 每类 3–5 句可以直接点的整句；其余收进「更多」 */
.say-bar { max-height: 40%; overflow: auto; }
.say-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.say-cat { font: 600 0.8rem var(--sans); color: var(--ivory-dim); background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 0.35em 0; min-height: 32px; cursor: pointer; }
.say-cat[aria-selected="true"] { color: var(--gold, #e3c48a); border-bottom-color: var(--gold, #e3c48a); }
.say-cat:focus-visible { outline: 2px solid var(--gold, #e3c48a); outline-offset: -2px; }
.say-lines { display: grid; gap: 0.3rem; }
.say-line { text-align: left; font: 0.85rem/1.3 var(--sans); padding: 0.45em 0.7em; min-height: 36px; white-space: normal; }
.say-line .who { color: var(--gold, #e3c48a); font-weight: 600; }
.say-line.picked { box-shadow: inset 3px 0 0 var(--gold, #e3c48a); }
.say-hint { font-size: 0.72rem; margin: 0; }
.say-full > summary { font-size: 0.75rem; color: var(--ivory-dim); cursor: pointer; padding: 0.2em 0; }
.say-full[open] { padding-top: 0.3rem; border-top: 1px dashed #c7a36a33; display: grid; gap: 0.4rem; }
.stage .seat.say-pick .medal { box-shadow: 0 0 0 3px var(--gold, #e3c48a); border-radius: 50%; }
@media (max-height: 500px) { .say-line { min-height: 32px; padding: 0.3em 0.6em; font-size: 0.8rem; } .say-cat { min-height: 28px; } }
/* 点自己的人像：一圈 7 个表情 */
.emote-ring { position: fixed; z-index: 60; width: 1px; height: 1px; }
.emote-ring button { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid var(--gold-dim, #8a6f45); background: #160f14ee; color: var(--ivory, #f3e9d6); font: 0.72rem var(--sans); cursor: pointer; transform: translate(var(--x), var(--y)); }
.emote-ring button:hover, .emote-ring button:focus-visible { border-color: var(--gold, #e3c48a); outline: 2px solid var(--gold, #e3c48a); }
.stage .seat.me { cursor: pointer; }
@media (max-height: 500px) {
  .say-lines { grid-template-columns: 1fr 1fr; gap: 0.2rem; }
  .say-line { min-height: 28px; padding: 0.2em 0.45em; font-size: 0.72rem; line-height: 1.2; }
  .say-hint { display: none; }
}
@media (max-height: 500px) { .say-bar { max-height: none; overflow: visible; } .say-full > summary { padding: 0; } }

.say-line-row { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem; align-items: stretch; }
.say-reroll { min-width: 34px; border: 1px solid var(--gold-dim, #8a6f45); background: transparent; border-radius: 3px; cursor: pointer; font-size: 0.85rem; }
.say-reroll:hover, .say-reroll:focus-visible { border-color: var(--gold, #e3c48a); outline: 2px solid var(--gold, #e3c48a); outline-offset: -2px; }
@media (max-height: 500px) { .say-reroll { min-width: 26px; font-size: 0.7rem; } }
/* 句子变长后：手机横屏改单列、每句一行（超出省略，长按 / 悬停看全句） */
@media (max-height: 500px) {
  .say-lines { grid-template-columns: 1fr; gap: 0.15rem; }
  .say-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 24px; padding: 0.1em 0.45em; }
  .say-reroll { min-height: 24px; }
}
@media (max-height: 500px) {
  .tab-panel[data-panel="chat"]:not([hidden]) { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
  .tab-panel[data-panel="chat"] .chat-list { flex: 1 1 0; min-height: 36px; max-height: none; overflow: auto; }
  .tab-panel[data-panel="chat"] .say-bar { flex: 0 0 auto; }
  .say-cat { min-height: 24px; padding: 0.1em 0; font-size: 0.72rem; }
}

/* /styles/bloodmoon-theme.css */
/* =====================================================================
   《血月夜宴》视觉设计 V2 · 阶段 A：主题 tokens、16:9 布局、黑金椭圆桌、座位
   规范：docs/design/bloodmoon_visual_design_v2_copilot.md
   本文件只覆盖样式；在 style.css 之后加载。正式素材到位前一律用 CSS 渐变占位，
   素材变量 --asset-* 由 public/assets.js 的 BLOODMOON 映射写入（默认 none）。
   ===================================================================== */

:root {
  /* ---- 设计色板 tokens ---- */
  --bg: #100e13;
  --panel: #211a21;
  --table-felt: #251a21;
  --gold: #be9a63;
  --text: #eadfcc;
  --muted: #a99ba0;
  --blood: #b6434e;
  --ritual: #d9b371;
  --secret: #91abc0;
  --online: #6fae93;

  /* 旧变量名映射到新 tokens，原有样式自动跟随 */
  --night: var(--bg);
  --wine: var(--table-felt);
  --wine-deep: #1a1318;
  --gold-dim: #8b6f47;
  --dawn: var(--blood);
  --ivory: var(--text);
  --ivory-dim: var(--muted);

  /* 字体：标题宋体衬线，正文黑体，均有系统回退 */
  --serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --sans: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;

  /* 未交付的 V2 素材（assets.js 填入路径后自动生效） */
  --asset-bg_castle_hall: none;
  --asset-table_oval: none;
  --asset-tray_card_back: none;
  --asset-altar_frame: none;
  --asset-graveyard_frame: none;

  /* 布局 */
  --side-w: clamp(240px, 18vw, 360px); /* 用户验收：右栏 18–20%，再宽会压缩桌面 */
  --seat-w: 178px;
  --avatar: 40px;
  --stage-max: 720px;
}

/* ---- 场景背景：宴会厅占位（彩窗血月 + 两侧烛光 + 暗角），低对比，不写文字 ---- */
body {
  background:
    radial-gradient(ellipse 22% 26% at 40% -2%, #7d1f2c88 0%, #4d142044 45%, transparent 75%),
    radial-gradient(circle at 40% 6%, #c83a4a55 0 3.5%, transparent 9%),
    repeating-linear-gradient(90deg, transparent 0 7%, #2a1a2433 7% 7.6%, transparent 7.6% 14%),
    radial-gradient(ellipse 8% 14% at 6% 38%, #ffb84d14, transparent 70%),
    radial-gradient(ellipse 8% 14% at 74% 38%, #ffb84d14, transparent 70%),
    radial-gradient(ellipse 120% 90% at 40% 30%, transparent 55%, #000a 100%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
}

.topbar { background: #0e0b10ee; border-bottom-color: #be9a6333; }
.brand-zh { font-family: var(--serif); }

/* ---- 16:9 布局：左游戏区约 78%，右栏约 22% 可折叠 ---- */
.layout {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) var(--side-w);
  gap: 0.9rem;
  padding: 0.8rem 1rem;
}
.layout.solo, .layout.side-collapsed { grid-template-columns: minmax(0, 1fr); }
.side { background: #191319f2; border-color: #be9a6340; box-shadow: 0 20px 50px #0008; }
.tab { font-family: var(--serif); }
.tab[aria-selected='true'] { color: var(--gold); border-bottom-color: var(--gold); background: linear-gradient(#be9a6312, transparent); }
.rp-cell, .rp-rows li, .rp-goal { background: var(--panel); }

/* ---- 牌桌舞台 ---- */
/* 只在高屏生效：不分屏幕时它覆盖了 style.css 的手机横屏规则（下限 340px > 844×390 的可用高度），舞台底部 ~32–39px 落到屏幕外、页面可滚动 */
@media (min-height: 521px) { .stage { height: clamp(340px, calc(100vh - var(--top-h) - 330px), var(--stage-max)); } }
.table {
  inset: 16% 15% 17%;
  background:
    var(--asset-table_oval) center / 100% 100% no-repeat,
    radial-gradient(ellipse 70% 62% at 50% 46%, #2e2029 0%, var(--table-felt) 52%, #1a1218 82%, #120c10 100%);
  box-shadow:
    0 0 0 2px #0c0809,
    0 0 0 4px var(--gold),
    0 0 0 5px #5a4428,
    0 0 0 13px #17100f,
    0 0 0 14px #be9a6355,
    0 28px 70px #000d,
    inset 0 0 70px #000c;
}
.table::before { inset: 6% 5%; border: 1px solid #be9a6326; }

/* 中央三处：盟约祭坛（左）· 本轮出牌银盘（中）· 血棘墓园（右）；中间保持留白 */
.table-center { grid-template-columns: minmax(0, 7.2rem) minmax(0, 9.5rem) minmax(0, 7.2rem); justify-content: center; gap: 4%; padding: 0; }
.zone { display: grid; justify-items: center; align-content: center; gap: 0.15rem; padding: 0.55rem 0.4rem; border-radius: 10px; position: relative; }
.zone .label { font-family: var(--serif); letter-spacing: 0.12em; color: var(--muted); }
.zone.altar {
  background: var(--asset-altar_frame) center / contain no-repeat, radial-gradient(ellipse at 50% 70%, #d9b37122, transparent 70%);
  box-shadow: inset 0 0 0 1px #d9b37140;
}
.zone.altar .count { color: var(--ritual); }
.zone.abyss {
  background: var(--asset-graveyard_frame) center / contain no-repeat, linear-gradient(#1b1518, #120e11);
  box-shadow: inset 0 0 0 1px #8a7d8355, inset 0 -10px 18px #0008;
}
.zone.abyss .count { color: #e0717b; }
.zone.tray {
  aspect-ratio: 1.55 / 1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 40%, #d7d4dc26, #8d889a14 45%, transparent 70%);
  box-shadow: inset 0 0 0 2px #c9c4d240, inset 0 0 0 7px #00000030, inset 0 0 0 8px #c9c4d222, 0 6px 18px #0006;
}
.zone.tray .pile { height: auto; }
.zone.tray .empty { font-family: var(--serif); color: #c9c4d299; font-size: 0.82rem; letter-spacing: 0.1em; text-align: center; overflow-wrap: anywhere; }
.zone { min-width: 0; }

/* ---- 座位：头像 + 名字 + 状态图标；暖金线标当前行动者，固定标识本人 ---- */
.seat {
  grid-template-columns: var(--avatar) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  row-gap: 0.15rem;
  align-items: center;
  background: linear-gradient(#231b22f0, #17111af0);
  border: 1px solid #be9a6338;
  border-radius: 10px;
}
.seat .avatar {
  grid-row: 1 / span 2;
  width: var(--avatar);
  height: var(--avatar);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 calc(var(--avatar) * 0.42) var(--serif);
  color: #f4e9d5;
  background:
    var(--avatar-img, none) center / cover no-repeat,
    radial-gradient(circle at 35% 30%, #5a3a46, #2a1a22 70%);
  box-shadow: 0 0 0 1px #0009, 0 0 0 2px #be9a6380, 0 3px 8px #000a;
}
.seat .avatar b { font-weight: 600; }
.seat .avatar.has-img b { visibility: hidden; }
.seat .nm, .seat .icons { grid-column: 2; }
.seat .nm .dot { flex: none; }

.seat.actor {
  border-color: #e2bc7c;
  box-shadow: 0 0 0 1px #e2bc7c, 0 0 0 3px #be9a6340, 0 0 22px #e0a24f55;
}
.seat.actor .avatar { box-shadow: 0 0 0 1px #0009, 0 0 0 2px #f0cf8f, 0 0 14px #f0b860aa; }
.seat.me { background: linear-gradient(#2c2129f2, #1d151cf2); border-color: var(--gold); }
.seat.me::before {
  content: '你';
  position: absolute;
  left: 6px;
  top: -9px;
  font: 600 0.68rem var(--serif);
  color: #1b1209;
  background: linear-gradient(#e3c58f, #b8935a);
  border-radius: 3px;
  padding: 0 0.4em;
  line-height: 1.5;
  box-shadow: 0 1px 3px #000a;
}
.seat.offline { opacity: 1; filter: grayscale(0.85) brightness(0.8); }
.seat.targetable { border-color: var(--secret); box-shadow: 0 0 0 2px #91abc066; }
.chip.eye { border-color: var(--secret); color: var(--secret); }
.dot.on { background: var(--online); box-shadow: 0 0 6px var(--online); }
.stage.dense { --seat-w: 154px; --avatar: 32px; }

/* 自己的区域：贴在游戏区下缘 */
.my-area { padding-top: 0.5rem; }
.btn.primary { background: linear-gradient(#d8b67e, #a8854f); border-color: #e3c58f; }

/* ---- 窄屏：右栏为抽屉（默认收起） ---- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 手机横屏 ---- */
@media (max-height: 520px) {
  :root { --seat-w: 124px; --avatar: 22px; --stage-max: 9999px; }
  .stage.dense { --seat-w: 108px; --avatar: 18px; }
  .layout { padding: 0.4rem; padding-left: max(0.4rem, env(safe-area-inset-left)); padding-right: max(0.4rem, env(safe-area-inset-right)); }
  .table { inset: 15% 14% 16%; }
  .table-center { grid-template-columns: minmax(0, 4.6rem) minmax(0, 5.6rem) minmax(0, 4.6rem); gap: 3%; }
  .zone { padding: 0.15rem 0.2rem; }
  .zone .label { font-size: 0.62rem; letter-spacing: 0.04em; }
  .zone.tray .empty { font-size: 0.58rem; letter-spacing: 0.02em; }
  .seat { column-gap: 0.3rem; border-radius: 7px; }
  .seat.me::before { top: -7px; font-size: 0.6rem; }
  body { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  .seat.actor { box-shadow: 0 0 0 1px #e2bc7c, 0 0 0 3px #be9a6340; }
}

/* 8–10 人：座位状态改用紧凑图标（文字放在 title 里），避免终局显示阵营后换行变高 */
.stage.dense .seat .chip .t { display: none; }
.stage.dense .seat .chip .s { display: inline; }
.stage.dense .seat .chip.fac, .stage.dense .seat .chip.crys { border: 0; padding: 0; }
.stage.dense .seat .icons { flex-wrap: nowrap; gap: 0.22rem; }

/* =====================================================================
   正式素材第一批：宴会厅背景、椭圆桌、7 张卡面、卡背
   （html.has-official-table / html.has-official-cards 由 public/assets.js 按资源表开启）
   ===================================================================== */

/* 背景：原图 1672×941 cover 铺满（不放大锐化）；上面压一层暗幕保证文字与座位对比 */
html.has-official-table body.in-game {
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, #100e1366 30%, #100e13d9 100%),
    linear-gradient(#100e13b3, #100e13b3),
    var(--asset-bg_castle_hall) center 30% / cover no-repeat,
    var(--bg);
  background-attachment: fixed;
}

/* 桌子：按素材实测锚点放置（scripts/prepare-bloodmoon-assets.py → TABLE_ANCHORS）。
   毛毡内椭圆中心 (--felt-cx, --felt-cy)、半轴 (--felt-rx, --felt-ry)，都是相对图片宽高的比例。
   图片宽度取舞台宽度与高度换算后的较小值，毛毡中心对准舞台中心。 */
html.has-official-table .stage { container-type: size; }
html.has-official-table .table {
  inset: auto;
  left: 50%;
  top: 50%;
  width: min(78cqw, 82cqh * 1.92);
  aspect-ratio: var(--table-aspect);
  transform: translate(-50%, calc(var(--felt-cy) * -100%));
  border-radius: 0;
  box-shadow: none;
  background: var(--asset-table_oval) center / 100% 100% no-repeat;
  filter: drop-shadow(0 22px 30px #000c);
}
html.has-official-table .table::before { display: none; }
/* 三个区域放进毛毡内椭圆的外接框，再由下方尺寸保证落在椭圆内、避开上下中央饰件 */
html.has-official-table .table-center {
  inset: auto;
  left: calc((var(--felt-cx) - var(--felt-rx)) * 100%);
  width: calc(var(--felt-rx) * 200%);
  top: calc((var(--felt-cy) - var(--felt-ry)) * 100%);
  height: calc(var(--felt-ry) * 200%);
  grid-template-columns: minmax(0, 15%) minmax(0, 19%) minmax(0, 15%);
  gap: 6%;
  align-items: center;
}
html.has-official-table .zone { padding: 0.35rem 0.3rem; }
html.has-official-table .zone.altar { background: radial-gradient(ellipse at 50% 70%, #d9b37126, #0e0a0d99 75%); box-shadow: inset 0 0 0 1px #d9b37150; }
html.has-official-table .zone.abyss { background: linear-gradient(#1b1518d9, #0e0a0de6); box-shadow: inset 0 0 0 1px #8a7d8366, inset 0 -10px 18px #0008; }
html.has-official-table .zone.tray { aspect-ratio: 1.7 / 1; background: radial-gradient(ellipse at 50% 40%, #d7d4dc2e, #0e0a0d99 70%); }

/* 卡牌：图铺满卡面，四角圆角由素材自带透明通道决定；牌名用 HTML 叠在底部 */
html.has-official-cards {
  --card-radius: 4.9% / 3.3%;
}
html.has-official-cards .card {
  display: block;
  border: 0;
  border-radius: var(--card-radius);
  background: transparent;
  box-shadow: 0 8px 18px #000b;
  overflow: visible;
}
html.has-official-cards .card .art {
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background-size: cover;
  background-position: center;
}
html.has-official-cards .card .name {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 5.5%;
  padding: 0.22em 0.15em;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(#0b080acc, #0b080aee);
  box-shadow: 0 0 0 1px #be9a6355;
  color: #f4e9d5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.25;
}
html.has-official-cards .card .mark { top: 6%; left: 8%; filter: drop-shadow(0 1px 2px #000); }
html.has-official-cards .card .eye { top: 5%; right: 9%; text-shadow: 0 1px 3px #000; }
html.has-official-cards .card[data-faction] { box-shadow: 0 8px 18px #000b; }
html.has-official-cards button.card:is(:disabled, [aria-disabled='true']) { filter: saturate(0.85) brightness(0.9); }

/* 开场七张命运牌 / 翻开 / 发牌：卡背与卡面同一套素材 */
html.has-official-cards .opc-face { border-radius: var(--card-radius); }
html.has-official-cards .opc-front { border: 0; background: transparent; display: block; }
html.has-official-cards .opc-art { position: absolute; inset: 0; border-radius: var(--card-radius); background-size: cover; background-position: center; }
html.has-official-cards .opc-name {
  position: absolute; left: 7%; right: 7%; bottom: 5.5%;
  border: 0; border-radius: 3px; background: linear-gradient(#0b080acc, #0b080aee); box-shadow: 0 0 0 1px #be9a6355; color: #f4e9d5;
}

/* 洗牌/揭示中的牌、桌前暗置牌、飞行中的牌：同一张卡背，同一圆角 */
html.has-official-cards :is(.fx-card .b, .fx-card .f, .fx-back, .front-back, .pile .back, .fx-reveal .fc .b) { border-radius: var(--card-radius); }
html.has-official-cards .fx-card .f { border: 0; background-color: transparent; background-size: cover; background-position: center; }
html.has-official-cards .fx-card .f span { position: absolute; left: 6%; right: 6%; bottom: 5%; width: auto; border-radius: 2px; background: #0b080ae6; white-space: nowrap; overflow: hidden; }
html.has-official-cards .cnt i { border-radius: 1px; }

@media (max-height: 520px) {
  html.has-official-table .table { width: min(76cqw, 84cqh * 1.92); }
  html.has-official-table .table-center { grid-template-columns: minmax(0, 16%) minmax(0, 20%) minmax(0, 16%); gap: 5%; }
  html.has-official-cards .card .name { font-size: 0.6rem; left: 5%; right: 5%; letter-spacing: 0; }
}

/* 座位前方暗置牌：位置由 app.js frontOffset 计算（毛毡内椭圆 88% 半径，近竖直方向让开上下饰件） */
html.has-official-table .fronts { --tw: min(78cqw, 82cqh * 1.92); }
html.has-official-table .front-back {
  left: calc(50% + var(--fx) * var(--tw) * var(--felt-rx));
  top: calc(50% + var(--fy) * var(--tw) * var(--table-hw) * var(--felt-ry));
}
@media (max-height: 520px) {
  html.has-official-table .fronts { --tw: min(76cqw, 84cqh * 1.92); }
}

/* 开场特写（七张命运牌、放大翻开、发牌）用大图档 */
.op .opc-back { background-image: var(--asset-card-back-lg); }

/* =====================================================================
   正式素材第二批：头像、中央三区底座、秘印、夜宴信物、图标、特效图层
   ===================================================================== */
/* 头像：头到肩的方形构图，圆形裁切 */
.seat .avatar.has-img { background: var(--avatar-img) center 20% / cover no-repeat, #2a1a22; }

/* 当前行动者：三叉刃标记，绝对定位，不占位、不改变座位尺寸 */
.seat .actor-mark { position: absolute; left: calc(var(--avatar) * 0.5 + 0.35rem); top: -14px; width: 18px; height: 22px; object-fit: contain; transform: translateX(-50%); opacity: 0; transition: opacity 0.25s; pointer-events: none; filter: drop-shadow(0 0 4px #ffb84d88); }
.seat.actor .actor-mark { opacity: 1; }
.seat.me .actor-mark { left: auto; right: 10px; transform: none; }

/* 秘印：座位上的未翻开背面与翻开后的印记（圆形） */
.seat .ico.crystal.seal { width: 20px; height: 20px; object-fit: contain; }
.stage.dense .seat .ico.crystal.seal { width: 16px; height: 16px; }
.fx-caption.crystal img.seal-big { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 12px #c94a5a88); }

/* 私密睁眼（秘密蓝）与沉默图标 */
.chip.eye { padding: 0 0.15em; display: inline-flex; align-items: center; }
.seat .ico.awakened { width: 1.15em; height: 1.15em; margin: -0.25em 0; vertical-align: middle; object-fit: contain; filter: drop-shadow(0 0 3px #91abc0aa); }
.seat .ico.silent { width: 1.1em; height: 1.1em; margin: -0.25em 0; vertical-align: middle; object-fit: contain; }
.fx-bubble .bubble-ico { width: 1.25em; height: 1.25em; object-fit: contain; vertical-align: -0.25em; margin-right: 0.3em; }
.fx-bubble.veil .bubble-ico { display: none; }

/* 夜宴信物：吊坠（高于宽） */
.fx-coin { width: 34px; height: 48px; background-size: contain; }
.seat .ico.coin { width: 20px; height: 20px; object-fit: contain; }
.stage.dense .seat .ico.coin { width: 16px; height: 16px; }

/* 中央三区底座：图像在框后方，略大于框；计数文字加描边保证可读 */
html.has-official-table .zone.altar, html.has-official-table .zone.abyss { background: none; box-shadow: none; }
html.has-official-table .zone.altar::before, html.has-official-table .zone.abyss::before {
  content: ''; position: absolute; inset: -14% -10%; z-index: -1; pointer-events: none;
  background: center / contain no-repeat; opacity: 0.92; filter: drop-shadow(0 6px 10px #000c);
}
html.has-official-table .zone.altar::before { background-image: var(--asset-altar_frame); }
html.has-official-table .zone.abyss::before { background-image: var(--asset-graveyard_frame); }
html.has-official-table .zone.tray { background: none; box-shadow: none; border-radius: 0; }
html.has-official-table .zone { isolation: isolate; }
html.has-official-table .zone .label, html.has-official-table .zone .count, html.has-official-table .zone .empty, html.has-official-table .zone .dissolved {
  text-shadow: 0 0 3px #000, 0 0 6px #000, 0 1px 2px #000;
}
html.has-official-table .zone .label { background: #0b080ab3; border-radius: 3px; padding: 0 0.3em; }

/* 特效图层：处决剑光、灰烬（红黑）；献祭法阵（金色重着色）——两者颜色与形态明显不同 */
.fx-card .fx-slash { height: 46%; top: 27%; left: -35%; width: 170%; background: var(--asset-fx-slash) center / contain no-repeat; box-shadow: none; transform: rotate(-8deg) scaleX(0); }
.fx-card .fx-slash.strong { filter: brightness(1.35) drop-shadow(0 0 12px #ff5c6a); box-shadow: none; }
@keyframes slash { 0% { transform: rotate(-8deg) scaleX(0); opacity: 1; } 70% { transform: rotate(-8deg) scaleX(1); opacity: 1; } 100% { transform: rotate(-8deg) scaleX(1); opacity: 0; } }
.fx-card .ash-cloud { position: absolute; inset: -20% -30% -10%; background: var(--asset-fx-ash) center / contain no-repeat; opacity: 0; pointer-events: none;
  animation: ashcloud calc(var(--fate-ms) * 0.5) ease-out forwards; animation-delay: calc(var(--fate-ms) * 0.42); }
@keyframes ashcloud { 0% { opacity: 0; transform: translateY(6px) scale(0.85); } 30% { opacity: 0.95; } 100% { opacity: 0; transform: translateY(-22px) scale(1.1); } }
.fx-card .rune { border: 0; box-shadow: none; border-radius: 0; width: 170%; aspect-ratio: 1 / 1; bottom: auto; top: 50%; transform: translate(-50%, -50%) scale(0.3);
  background: var(--asset-fx-ritual) center / contain no-repeat; mix-blend-mode: screen; pointer-events: none; filter: drop-shadow(0 0 10px #d9b371aa); }
@keyframes rune { to { opacity: 0.95; transform: translate(-50%, -50%) scale(1); } }
body.calm .fx-card .ash-cloud { display: none; }
body.calm .fx-card .rune { transform: translate(-50%, -50%); }
.invite > img { object-fit: contain; }
/* 开场夜晚：仅有权限者看到的“睁眼”使用秘密蓝睁眼图标（无权限者没有 .open，只看遮蔽节奏） */
.op-seat.open .op-eye { border-color: #91abc0; box-shadow: 0 0 18px #91abc0aa; background: #0d0a10 var(--asset-icon-awakened) center / 80% no-repeat; }
.op-seat.open .op-eye::after { background: transparent; }

/* =====================================================================
   终局「撕开面具」揭晓（面具/碎片为 CSS 占位，正式特效图到位后替换）
   ===================================================================== */
.fx-unmask { position: fixed; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem;
  background: radial-gradient(ellipse at 50% 55%, #1a0d14ee 0%, #07050799 75%, #07050700 100%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.fx-unmask.in { opacity: 1; }
.fx-unmask.fade { opacity: 0.35; transition-duration: 0.8s; }
.um-line { font: 600 1.25rem/1.4 var(--serif); color: var(--ivory, #efe3cc); text-shadow: 0 2px 10px #000; letter-spacing: 0.06em; text-align: center; min-height: 1.4em; }
.um-row { display: flex; justify-content: center; gap: 12px; width: 100%; --tw: clamp(44px, calc((100% - (var(--n) - 1) * 12px) / var(--n)), 118px); }
.fx-unmask.dense .um-row { gap: 6px; --tw: clamp(40px, calc((100% - (var(--n) - 1) * 6px) / var(--n)), 96px); }
.um-seat { width: var(--tw); display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0.55; transition: opacity 0.3s, transform 0.3s; }
.um-seat.spot, .um-seat.torn { opacity: 1; }
.um-seat.spot { transform: translateY(-6px) scale(1.06); }
.um-stack { position: relative; width: 100%; aspect-ratio: 2 / 3; perspective: 600px; }
.um-face { position: absolute; inset: 6% 4%; border-radius: 46% / 40%; background: var(--avatar-img) center 20% / cover no-repeat, #2a1a22; box-shadow: 0 0 0 2px #4a3a40, 0 6px 14px #000a;
  transition: opacity calc(var(--um-ms) * 0.3) ease, transform calc(var(--um-ms) * 0.3) ease, filter calc(var(--um-ms) * 0.3) ease; }
.um-card { position: absolute; inset: 0; border-radius: var(--card-radius, 6px); background: #1b1216 center / cover no-repeat; opacity: 0; transform: rotateY(90deg) scale(0.9);
  transition: opacity calc(var(--um-ms) * 0.35) ease calc(var(--um-ms) * 0.12), transform calc(var(--um-ms) * 0.4) cubic-bezier(.2,.8,.3,1.2) calc(var(--um-ms) * 0.12), box-shadow 0.4s; }
.um-card span { position: absolute; left: 5%; right: 5%; bottom: 4%; padding: 1px 0; background: #0b080ae6; color: var(--ivory, #efe3cc); font: 600 0.72rem var(--serif); text-align: center; white-space: nowrap; overflow: hidden; border-radius: 2px; }
.um-seat[data-faction='light'] .um-card { box-shadow: 0 0 0 2px #d9b371, 0 0 22px #d9b37199; }
.um-seat[data-faction='thorn'] .um-card { box-shadow: 0 0 0 2px #c94a5a, 0 0 22px #c94a5a99; }
.um-seat.torn .um-card { opacity: 1; transform: none; }
.um-seat.torn .um-face { opacity: 0; transform: scale(0.88); filter: blur(3px); }
/* 面具（CSS/SVG 占位）：金色假面舞会面具，沿中缝锯齿撕成两半向两侧飞散，伴随碎片 */
.fx-unmask { --um-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fbefd2'/%3E%3Cstop offset='.55' stop-color='%23d4b073'/%3E%3Cstop offset='1' stop-color='%238a6631'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url%28%23g%29' stroke='%237a1f2b' stroke-width='1.2' fill-rule='evenodd' d='M2,13 C10,1 30,3 42,9 C46,11 50,13 50,13 C50,13 54,11 58,9 C70,3 90,1 98,13 C96,28 80,37 66,33 C58,31 54,26 50,26 C46,26 42,31 34,33 C20,37 4,28 2,13 Z M17,18 C21,11 35,11 39,18 C35,24 21,24 17,18 Z M61,18 C65,11 79,11 83,18 C79,24 65,24 61,18 Z'/%3E%3Cpath fill='none' stroke='%23a8323f' stroke-width='.8' d='M8,14 C14,8 24,7 30,8 M92,14 C86,8 76,7 70,8 M46,22 L50,19 L54,22'/%3E%3C/svg%3E"); }
.um-mask { position: absolute; left: 20%; right: 20%; top: 31%; aspect-ratio: 100 / 40; opacity: 0; transform: scale(1.4); transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.3,1.4,.5,1); }
.um-seat.masked .um-mask { opacity: 1; transform: none; }
.um-mask i { position: absolute; inset: 0; background: var(--um-mask) center / contain no-repeat; filter: drop-shadow(0 2px 4px #000c);
  transition: transform calc(var(--um-ms) * 0.35) cubic-bezier(.5,0,.8,.6), opacity calc(var(--um-ms) * 0.35) ease; }
.um-mask i.l { clip-path: polygon(0 0, 52% 0, 47% 30%, 54% 55%, 48% 80%, 51% 100%, 0 100%); }
.um-mask i.r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 51% 100%, 48% 80%, 54% 55%, 47% 30%); }
.um-mask b { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: #efe0c2; clip-path: polygon(50% 0, 100% 80%, 0 100%); opacity: 0;
  --dx: calc((var(--k) - 2.5) * 16px); --dy: calc(-18px + var(--k) * 9px); }
.um-seat.torn .um-mask i.l { transform: translate(-75%, 40%) rotate(-38deg); opacity: 0; }
.um-seat.torn .um-mask i.r { transform: translate(75%, 40%) rotate(38deg); opacity: 0; }
.um-seat.torn .um-mask b { animation: um-shard calc(var(--um-ms) * 0.45) ease-out forwards; }
@keyframes um-shard { 0% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(calc(var(--k) * 70deg)); } }
.um-name { font: 600 0.78rem var(--serif); color: var(--ivory, #efe3cc); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.um-fac { display: flex; align-items: center; gap: 3px; font-size: 0.7rem; opacity: 0; transition: opacity 0.4s ease calc(var(--um-ms) * 0.3); white-space: nowrap; }
.um-fac img { width: 14px; height: 14px; object-fit: contain; }
.um-seat[data-faction='light'] .um-fac { color: #e8c98a; }
.um-seat[data-faction='thorn'] .um-fac { color: #ff8a95; }
.um-seat.torn .um-fac { opacity: 1; }
.fx-unmask.summary .um-seat { opacity: 1; transform: none; }
.fx-unmask.dense .um-name, .fx-unmask.dense .um-fac { font-size: 0.62rem; }
/* 柔和特效 / 减少动态：不撕裂、不飞散，面具淡出、角色牌淡入 */
body.calm .um-mask b { display: none; }
body.calm .um-seat.torn .um-mask i { transform: none; }
body.calm .um-card { transform: none; }
body.calm .um-seat.spot { transform: none; }
body.calm .um-seat.torn .um-face { transform: none; filter: none; }

/* 终局汇总（停留在牌桌上）：每个座位一张抽到的角色牌 + 阵营标记 */
.unmask-final { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; width: min(70%, calc(var(--cols) * 70px + 24px));
  padding: 0.45rem 0.6rem 0.5rem; border-radius: 10px; background: #0b080ad9; box-shadow: 0 0 0 1px #be9a6355, 0 10px 30px #000c; }
.unmask-final.folded { width: auto; padding: 0.25rem 0.5rem; }
/* app.js placeUnmask：上沿落在远端座位标签之下，放不下时按 --uf-k 缩小（以上沿为原点） */
.unmask-final.placed:not(.folded) { transform: translate(-50%, 0) scale(var(--uf-k, 1)); transform-origin: 50% 0; }
.uf-nm { min-width: 0; white-space: nowrap; }
.unmask-final.folded .uf-row { display: none; }
.uf-fold { margin-left: 0.6em; padding: 0 0.5em; font: 500 0.7rem var(--sans, sans-serif); letter-spacing: 0; color: var(--ivory, #efe3cc); background: #2a1a22; border: 1px solid #be9a6366; border-radius: 3px; cursor: pointer; vertical-align: 1px; }
.uf-title { text-align: center; font: 600 0.8rem var(--serif); color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.3rem; }
.uf-row { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px 6px; }
.uf-card { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.uf-art { width: 100%; aspect-ratio: 2 / 3; border-radius: 4px; background: #1b1216 center / cover no-repeat; }
.uf-card[data-faction='light'] .uf-art { box-shadow: 0 0 0 2px #d9b371; }
.uf-card[data-faction='thorn'] .uf-art { box-shadow: 0 0 0 2px #c94a5a; }
.uf-role, .uf-name { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.66rem; line-height: 1.25; }
.uf-role { font-family: var(--serif); font-weight: 600; }
.uf-card[data-faction='light'] .uf-role { color: #e8c98a; }
.uf-card[data-faction='thorn'] .uf-role { color: #ff8a95; }
.uf-name { color: #cfc3d6; display: flex; align-items: center; gap: 2px; }
.uf-name img { width: 11px; height: 11px; flex: none; }
@media (max-height: 520px) {
  .unmask-final { width: min(74%, calc(var(--cols) * 54px + 16px)); padding: 0.2rem 0.35rem 0.3rem; }
  .uf-row { gap: 3px 4px; }
  .uf-title { font-size: 0.66rem; margin-bottom: 0.1rem; }
  .uf-role, .uf-name { font-size: 0.56rem; }
  .um-line { font-size: 0.95rem; }
  .fx-unmask { gap: 0.5rem; }
  .um-row { --tw: clamp(36px, calc((100% - (var(--n) - 1) * 6px) / var(--n)), 76px); gap: 6px; }
  .um-name, .um-fac { font-size: 0.6rem; }
}

/* =====================================================================
   UI 修正 V3 Step A：塔罗过渡卡面 + HTML 铭牌 + 手牌四种交互状态
   ===================================================================== */
/* 牌名放进卡面自带铭牌（位置由脚本实测 --plate-*），底色盖住擦除烘焙文字后的残影 */
html.has-plate-cards :is(.card .name, .opc-name, .fx-card .f span, .um-card span) {
  position: absolute; display: flex; align-items: center; justify-content: center;
  left: calc(var(--plate-left) * 100% + 2%); right: calc((1 - var(--plate-right)) * 100% + 2%);
  top: calc(var(--plate-top) * 100% + 1.2%); bottom: calc((1 - var(--plate-bottom)) * 100% + 1.2%);
  width: auto; height: auto; padding: 0; margin: 0;
  background: radial-gradient(ellipse at 50% 50%, #1b1115 0%, #0b080a 85%); box-shadow: none; border: 0; border-radius: 2px;
  color: #f1e3c6; font-family: var(--serif); font-weight: 600; letter-spacing: 0.08em; line-height: 1;
  font-size: clamp(9px, calc(var(--card-w) * 0.095), 15px); white-space: nowrap; overflow: hidden; text-overflow: clip;
  text-shadow: 0 1px 2px #000;
}
html.has-plate-cards .card .name { container-type: normal; }
html.has-plate-cards .opc-name { font-size: clamp(12px, calc(var(--card-h) * 0.05), 22px); }
html.has-plate-cards .fx-card .f span { font-size: clamp(8px, calc(var(--fx-card-w) * 0.1), 12px); letter-spacing: 0; }
html.has-plate-cards .um-card span { font-size: clamp(8px, calc(var(--tw) * 0.1), 12px); letter-spacing: 0; }
/* 塔罗卡面自带阵营色与主体符号：去掉卡上叠加的阵营小图标，眼睛标记缩小移到右上角 */
html.has-plate-cards .card .mark { display: none; }

/* 手牌四种状态。抬起只用一个 transform 变量，悬停与选中不叠加 */
html.has-plate-cards .hand .card { --lift: 0px; transform: translateY(var(--lift)); transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; }
html.has-plate-cards .hand .card[data-state='playable'] { box-shadow: 0 8px 18px #000b, 0 0 0 1px #d9b37188; }
@media (hover: hover) { html.has-plate-cards .hand .card[data-state='playable']:hover { --lift: -8px; box-shadow: 0 14px 24px #000c, 0 0 0 2px #ffd98faa; } }
html.has-plate-cards .hand .card[data-state='playable']:focus-visible { --lift: -8px; }
html.has-plate-cards .hand .card[data-state='selected'], html.has-plate-cards .hand .card[data-state='submitting'] { --lift: -18px; box-shadow: 0 18px 30px #000d, 0 0 0 2px #ffd98f, 0 0 22px #ffb84d99; z-index: 2; }
html.has-plate-cards .hand .card[data-state='submitting'] { animation: card-submit 0.9s ease-in-out infinite alternate; }
@keyframes card-submit { to { box-shadow: 0 18px 30px #000d, 0 0 0 2px #ffd98f, 0 0 34px #ffb84dcc; } }
html.has-plate-cards .hand .card[data-state='disabled'] { filter: saturate(0.55) brightness(0.72); box-shadow: 0 6px 14px #000a; }
body.calm .hand .card, body.calm .hand .card[data-state='submitting'] { transition: none; animation: none; }
@media (max-height: 520px) {
  /* 小手牌：铭牌文字放宽到整条铭牌（含两端饰件），保证 5 字牌名 ≥ 9.5px 不裁切 */
  html.has-plate-cards .my-area .hand .card .name { left: 6%; right: 6%; font-size: 10px; letter-spacing: 0; }
}
/* 右栏结算注记：幻影消散（桌面上不再显示） */
.rp-rows li .rp-note { display: block; grid-column: 1 / -1; font-size: 0.78rem; color: #a89cb4; letter-spacing: 0.06em; }
.rp-removed { margin: 0.5rem 0 0; font-size: 0.8rem; color: #a89cb4; border-left: 2px solid #a89cb466; padding-left: 0.5rem; }
.rp-removed.bump { animation: rp-flash 1.1s ease-out; --flash: #a89cb4; }

/* /styles/camera-v3.css */
/* =====================================================================
   UI 修正 V3 Step B：近景镜头 + 桌面透视平面 + 骑在桌沿上的勋章座位
   生效条件：html.has-close-table（近景桌面素材 table_close 已就位）。
   数字的唯一来源是 public/camera.js 的 CAMERA（app.js 写成 --plane-* / --cam-* 变量）与
   scripts/prepare-bloodmoon-table-close.py 的实测锚点（--felt-* / --felt-top / --rim-*）。不写死像素。
   ===================================================================== */

html.has-close-table {
  /* 桌子宽 = 主区宽 × tableW（左右超出画面）；前沿落在手牌后方 */
  --cam-table-w: calc(var(--cam-table-frac) * 100cqw);
  --cam-table-h: calc(var(--cam-table-w) * var(--table-hw));
  --felt-box-w: calc(var(--felt-rx) * 2 * var(--cam-table-w));
  /* 效果图 03：勋章直径 ≈ 主区宽 6.5% */
  --medal: clamp(50px, 6.2cqw, 112px); /* 用户验收：7 人局 5–6.5% 主区宽 */
  --medal-w: clamp(96px, 11cqw, 180px);
}

/* ---------- 主区 = 镜头画面；手牌在前景压住桌面前沿 ---------- */
@media (min-height: 521px) {
  html.has-close-table .game-body {
    position: relative;
    container-type: size;
    height: calc(100dvh - var(--top-h) - 52px - 1.6rem);
    min-height: 440px;
    overflow: hidden;
    --card-w: clamp(72px, min(9.6cqw, 14cqh), 170px); /* 手牌高 ≈ 主区高 21%（用户验收：原来 27% 挡住桌面前半） */
    --hand-w: calc(var(--card-w) * 3 + 1.4rem);
  }
  html.has-close-table .verdict ~ .game-body { height: calc(100dvh - var(--top-h) - 52px - 1.6rem - 6.2rem); }
  html.has-close-table .stage { position: absolute; inset: 0; height: auto; }

  html.has-close-table .my-area { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: block; padding: 0; pointer-events: none; }
  html.has-close-table .my-area > * { pointer-events: auto; }
  html.has-close-table .my-area .hand-row { position: absolute; left: 50%; bottom: 1.2cqh; width: var(--hand-w); transform: translateX(-50%); flex-wrap: nowrap; align-items: flex-end; gap: 1rem; }
  html.has-close-table .my-area .hand { gap: 0.7rem; }
  html.has-close-table .my-area .hand-row .pass { position: absolute; left: calc(100% + 1rem); bottom: calc(var(--card-w) * 0.95); width: max-content; }
  html.has-close-table .my-area .my-id { position: absolute; left: 0.2rem; bottom: 0.4rem; width: min(19rem, 24cqw); }
  html.has-close-table .my-area .notes { max-width: none; }
  html.has-close-table .my-area .notes ul { max-height: 7.5em; overflow-y: auto; }
  html.has-close-table .my-area .choices-slot { position: absolute; left: 50%; bottom: calc(var(--card-w) * 1.5 + 1.2cqh + 2.2rem); transform: translateX(-50%); width: min(44rem, 60cqw); min-height: 0; justify-content: center; }
  /* 前景手牌：离镜头近、亮度正常，投影落在后面的桌面上 */
  html.has-close-table.has-plate-cards .my-area .hand .card { box-shadow: 0 2px 4px #000c, 0 16px 28px -6px #000e, 0 0 0 1px #00000080; }
}

/* ---------- 桌子：毛毡上沿对准主区 27% 高度；左右超出画面；底部淡入暗处 ---------- */
html.has-close-table .stage { container-type: size; }
html.has-close-table .table {
  inset: auto;
  width: var(--cam-table-w);
  aspect-ratio: var(--table-aspect);
  left: 50%;
  top: calc(var(--cam-felt-top) * 100cqh - var(--felt-top) * var(--cam-table-h));
  transform: translateX(-50%);
  background: none; box-shadow: none; filter: none; border-radius: 0;
}
html.has-close-table .table::before {
  display: block; content: ''; position: absolute; inset: 0; border: 0; border-radius: 0; pointer-events: none;
  background: var(--asset-table_oval) center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(#000 82%, transparent 100%);
  mask-image: linear-gradient(#000 82%, transparent 100%);
  filter: drop-shadow(0 -6px 18px #0009);
}
/* 桌面 v4 裂纹已淡，不再叠加压暗层 */

/* ---------- 桌面平面：毛毡框（图片坐标）里放一个按倾角拉长的平面，rotateX 压回桌面 ---------- */
html.has-close-table .felt {
  position: absolute;
  left: calc((var(--felt-cx) - var(--felt-rx)) * 100%);
  width: calc(var(--felt-rx) * 200%);
  top: calc(var(--felt-top) * 100%);
  bottom: calc((1 - var(--felt-bottom, 1)) * 100%);
  perspective: calc(var(--plane-persp-frac) * var(--felt-box-w));
  perspective-origin: 50% 50%;
  pointer-events: none;
  z-index: 1;
}
html.has-close-table .plane {
  position: absolute; left: 0; width: 100%;
  top: 50%; height: calc(100% / var(--plane-cos));
  transform: translateY(-50%) rotateX(var(--plane-tilt));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
}
/* 平面里的三区：盟约祭坛（左）· 出牌银盘（中）· 血棘墓园（右）平放在桌面上，靠远端一侧，给手牌让出前沿 */
html.has-close-table .plane .table-center {
  position: absolute; left: 0; right: 0; top: 33%; height: 24%;
  display: grid; grid-template-columns: minmax(0, 12%) minmax(0, 21%) minmax(0, 12%); justify-content: center; align-content: center; gap: 0 2.5%;
  pointer-events: auto;
}
html.has-close-table .plane .zone { padding: 0.5rem 0.3rem; }
html.has-close-table .plane .zone .count { font-size: clamp(1.6rem, 3.2cqw, 3.4rem); }
html.has-close-table .plane .zone .label { font-size: clamp(0.78rem, 1.3cqw, 1.25rem); white-space: nowrap; letter-spacing: 0.08em; }

/* 暗置牌：平面子元素，平放、底边朝向出牌者；接触阴影随平面一起投影；被环境光压暗，远端有一点反光 */
html.has-close-table .plane .fronts { position: absolute; inset: 0; }
html.has-close-table .plane .front-back {
  left: calc(var(--pu) * 100%);
  top: calc(var(--pv) * 100%);
  width: 5.4%;
  transform: translate(-50%, -50%) rotate(var(--rz, 0deg));
  border-radius: var(--card-radius, 4px);
  /* 主光在远端上方：影子朝画面下方（平面 +y）略偏外 */
  box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 9px 14px -2px #000c, 0 18px 26px -8px #000a;
  filter: brightness(0.8) saturate(0.88);
}
html.has-close-table .plane .front-back::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(175deg, #ffffff24 0%, transparent 30%), linear-gradient(#5a0d1a2e, #20060c4d);
}

/* ---------- 座位：勋章骑在桌沿上（头像圆心落在桌沿中线），近大远小 ---------- */
html.has-close-table .stage .seat {
  left: clamp(calc((var(--cam-table-w) - 100cqw) / 2 + var(--medal-w) * 0.62),
              calc((var(--rim-cx) + var(--sx) * var(--rim-rx)) * 100%),
              calc((var(--cam-table-w) + 100cqw) / 2 - var(--medal-w) * 0.62));
  top: calc((var(--rim-cy) + var(--sy) * var(--rim-ry)) * 100%);
  /* 远端座位往后退（0.62 个头像 × −sin）：坐在桌子后面，头像下沿压住远端桌沿 */
  transform: translate(-50%, calc(var(--medal) * -0.5 - var(--medal) * 0.62 * max(0, -1 * var(--sy)))) scale(calc(1.06 + var(--sy) * 0.14));
  transform-origin: 50% calc(var(--medal) * 0.5);
  width: var(--medal-w); min-height: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  background: none; border: 0; box-shadow: none; text-align: center; z-index: 2;
}
html.has-close-table .stage .seat .avatar {
  width: var(--medal); height: var(--medal); flex: none;
  box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #b8935a, 0 0 0 5px #3a2a18, 0 10px 16px #000d;
}
html.has-close-table .stage .seat .nm {
  margin-top: calc(var(--medal) * -0.16); position: relative; z-index: 1;
  max-width: 100%; padding: 0.05rem 0.55rem;
  background: linear-gradient(#211820, #120c11); border: 1px solid #be9a6399; border-radius: 3px;
  font-size: clamp(0.66rem, 0.95cqw, 1rem); line-height: 1.35; justify-content: center; box-shadow: 0 3px 8px #000c;
}
html.has-close-table .stage .seat .nm .cpu-tag { display: none; }
html.has-close-table .stage .seat .icons {
  justify-content: center; flex-wrap: nowrap; gap: 0.18rem; min-height: 0; height: 22px; margin-top: 2px;
  padding: 0 0.3rem; border-radius: 11px; background: #0c080bcc; box-shadow: 0 0 0 1px #be9a6340;
}
html.has-close-table .stage .seat .chip .t { display: none; }
html.has-close-table .stage .seat .chip .s { display: inline; }
html.has-close-table .stage .seat .chip { border: 0; padding: 0 0.1em; }
html.has-close-table .stage .seat.actor, html.has-close-table .stage[data-presenting='1'] .seat.actor { box-shadow: none; border: 0; }
html.has-close-table .stage .seat.actor .avatar { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #ffd98f, 0 0 22px 4px #ffb84daa, 0 10px 16px #000d; }
html.has-close-table .stage .seat.me { background: none; }
html.has-close-table .stage .seat.me .avatar { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #e3c58f, 0 0 0 6px #e3c58f55, 0 10px 16px #000d; }
html.has-close-table .stage .seat.me::before { left: 50%; top: calc(var(--medal) * -0.12); transform: translateX(-50%); z-index: 2; }
html.has-close-table .stage .seat.targetable .avatar { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px var(--secret), 0 0 18px #91abc099; }
html.has-close-table .stage .seat[data-faction] { border: 0; }
html.has-close-table .stage .seat .actor-mark { left: auto; right: calc(50% - var(--medal) * 0.75); top: calc(var(--medal) * -0.1); transform: none; }

/* 8–10 人：勋章缩小一档，桌沿上不挤 */
html.has-close-table .stage.dense { --medal: clamp(40px, 4.6cqw, 86px); --medal-w: clamp(80px, 8.8cqw, 140px); }

/* 自己：前景里，手牌右侧（手牌压住桌面前沿，自己的勋章不放在桌沿上） */
@media (min-height: 521px) {
  html.has-close-table .stage .seat.me {
    left: calc(50% + var(--hand-w) / 2 + 1.4rem + var(--medal-w) * 0.5);
    top: auto; bottom: 1.2cqh;
    transform: translateX(-50%);
    z-index: 7;
  }
}

/* ---------- 手机横屏：手牌在右侧栏，舞台全部给桌子 ---------- */
@media (max-height: 520px) {
  html.has-close-table .stage { overflow: hidden; }
  html.has-close-table {
    --cam-table-w: calc(var(--cam-table-frac) * 100cqw);
    --medal: clamp(24px, 7.5cqh, 36px);
    --medal-w: clamp(62px, 11cqw, 92px);
  }
  html.has-close-table .stage .seat .nm { font-size: 0.6rem; padding: 0 0.3rem; }
  html.has-close-table .stage .seat .icons { height: 16px; }
  html.has-close-table .stage .seat .ico { width: 12px; height: 12px; }
  html.has-close-table .plane .zone .count { font-size: 1.35rem; }
  html.has-close-table .plane .zone .label { font-size: 0.7rem; letter-spacing: 0; }
  html.has-close-table .plane .zone { padding: 0.12rem; }
  html.has-close-table .stage .plane .table-center { grid-template-columns: minmax(0, 11%) minmax(0, 19%) minmax(0, 11%); gap: 0 3%; }
  html.has-close-table .stage .seat.me { top: auto; bottom: 2cqh; left: 50%; transform: translateX(-50%); z-index: 3; }
  html.has-close-table .stage.dense { --medal: clamp(22px, 6.5cqh, 32px); --medal-w: clamp(54px, 9.5cqw, 80px); }
}
/* 8–10 人：两侧最低的勋章离祭坛/墓园更近，三区向中间收一点 */
html.has-close-table .stage.dense .plane .table-center { grid-template-columns: minmax(0, 11.5%) minmax(0, 20%) minmax(0, 11.5%); }

/* 出牌飞行：金色拖尾（多层发光 + 运动方向无关的光晕），落桌后换成与桌上暗置牌相同的接触阴影 */
html.has-close-table .fx-back.flying { box-shadow: 0 0 0 1px #000a, 0 0 14px 3px #ffcf7a99, 0 0 34px 10px #e0a24f55, 0 0 60px 18px #b2302e33; filter: brightness(1.05); }
html.has-close-table .fx-back.flying.landed { box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 9px 14px -2px #000c, 0 18px 26px -8px #000a; filter: brightness(0.8) saturate(0.88); }
body.calm .fx-back.flying { box-shadow: 0 0 0 1px #000a, 0 6px 14px #000c; }

/* 洗牌：牌贴在桌面上（带桌面透视），接触阴影与桌上暗置牌一致；中央红色旋涡光效（桌面平面内的椭圆） */
html.has-close-table .fx-card.on-table .b { box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 10px 16px -2px #000c; filter: brightness(0.85); }
.fx-vortex { position: fixed; width: 30vw; height: 9vw; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--vx), #b2302e00, #e0404a66, #b2302e00 30%, #ff6a5e55 55%, #b2302e00 70%, #e0404a55 88%, #b2302e00);
  -webkit-mask-image: radial-gradient(closest-side, transparent 35%, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 35%, #000 55%, transparent 100%);
  filter: blur(6px); opacity: 0; animation: vortex-in 0.6s ease forwards, vortex-spin 2.4s linear infinite; }
.fx-vortex.fade { transition: opacity 0.6s ease; opacity: 0 !important; animation: vortex-spin 2.4s linear infinite; }
@keyframes vortex-in { to { opacity: 1; } }
/* 旋转用 background 的 conic 角度（父元素压扁成椭圆，元素本身不转，保持贴桌面的扁椭圆） */
@property --vx { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes vortex-spin { to { --vx: 360deg; } }
body.calm .fx-vortex { display: none; }

/* 三区的数字与名称：底座平放在桌面，文字立起面向镜头（反向 rotateX），保证可读，与效果图一致 */
html.has-close-table .plane .table-center, html.has-close-table .plane .zone, html.has-close-table .plane .zone .pile { transform-style: preserve-3d; }
html.has-close-table .plane .zone > .label, html.has-close-table .plane .zone > .count, html.has-close-table .plane .zone .empty, html.has-close-table .plane .zone .heir, html.has-close-table .plane .zone .dissolved {
  transform: rotateX(calc(var(--plane-tilt) * -1)); transform-origin: 50% 100%; display: block;
}
/* isolation / filter 会把 3D 压平：平面里的三区不建层叠组，底座图改为最先绘制的普通层 */
html.has-close-table .plane .zone { isolation: auto; }
html.has-close-table .plane .zone::before { z-index: auto; transform: translateZ(-1px); }

/* ---------- 桌面道具（测试稿）：底座接触点落在桌面图片坐标，压暗、远处更小更暗 ---------- */
html.has-close-table .table .props { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
html.has-close-table .table .prop {
  position: absolute; left: calc(var(--ix) * 100%); top: calc(var(--iy) * 100%);
  height: calc(var(--ph) * 100%); aspect-ratio: 1 / 1.5;
  transform: translate(-50%, -94%);
  background: center bottom / contain no-repeat;
  filter: brightness(0.62) saturate(0.85) drop-shadow(0 2px 2px #000c);
}
/* 接触阴影：主光在远端上方 → 影子落向画面下方（朝观众） */
html.has-close-table .table .prop::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, #000c, #0000); transform: translateY(45%); z-index: -1; }
html.has-close-table .table .prop.prop_candle_single { aspect-ratio: 589 / 640; }
html.has-close-table .table .prop.prop_gems { aspect-ratio: 203 / 151; transform: translate(-50%, -60%); filter: brightness(0.55) saturate(0.8); }
html.has-close-table .table .prop.prop_candelabra { aspect-ratio: 313 / 492; }
/* 烛光：烛台上方一点暖光（柔和特效下静止） */
html.has-close-table .table .prop.prop_candelabra::before { content: ''; position: absolute; left: -40%; right: -40%; top: -25%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, #ffb84d33, #ffb84d00); animation: flicker 2.8s ease-in-out infinite alternate; }
@keyframes flicker { 50% { opacity: 0.75; } 100% { opacity: 1; } }
body.calm .table .prop::before { animation: none; }

/* ---------- 座位勋章：测试稿头像框（头像 = 实测圆孔）+ 九宫格名牌 ---------- */
html.has-close-table.has-seat-frame .stage .seat .avatar { position: relative; overflow: visible; box-shadow: 0 8px 14px #000c; }
html.has-close-table.has-seat-frame .stage .seat .avatar::after {
  content: ''; position: absolute; pointer-events: none;
  /* 框宽 = 头像直径 / 孔径比；框高按素材高宽比；孔心对准头像圆心 */
  width: calc(100% / var(--frame-hole)); height: calc(100% / var(--frame-hole) * var(--frame-aspect, 1));
  left: calc(50% - var(--frame-hx) * 100% / var(--frame-hole));
  top: calc(50% - var(--frame-hy) * 100% / var(--frame-hole) * var(--frame-aspect, 1));
  background: var(--asset-seat_frame) center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px #000c);
}
html.has-close-table.has-seat-frame .stage .seat.actor .avatar::after { filter: drop-shadow(0 0 6px #ffd98f) drop-shadow(0 0 14px #ffb84daa); }
html.has-close-table.has-seat-frame .stage .seat.targetable .avatar::after { filter: drop-shadow(0 0 6px var(--secret)) drop-shadow(0 0 12px #91abc0aa); }
html.has-close-table.has-seat-frame .stage .seat .avatar, html.has-close-table.has-seat-frame .stage .seat.actor .avatar, html.has-close-table.has-seat-frame .stage .seat.me .avatar, html.has-close-table.has-seat-frame .stage .seat.targetable .avatar { box-shadow: 0 8px 14px #000c; }
/* 框比头像大 1/孔径 倍：名牌下移让开框的下沿 */
/* 名牌挂在框的平直下沿上 */
html.has-close-table.has-seat-frame .stage .seat .nm { margin-top: calc(var(--medal) * ((1 - var(--frame-hy)) * var(--frame-aspect, 1) / var(--frame-hole) - 0.5) - 0.55em); }
html.has-close-table.has-name-ribbon .stage .seat .nm {
  background: none; box-shadow: none; border-style: solid; border-color: transparent; border-width: 0 1.1em; border-radius: 0;
  border-image: var(--asset-name_ribbon) 0 15% fill / 0 1.1em stretch;
  padding: 0.18em 0.1em 0.22em; color: #f4e9d5; text-shadow: 0 1px 2px #000;
}

/* =====================================================================
   Step C 修正（协调会话 10:5x）：三区、背景
   ===================================================================== */
/* ---------- 背景：宴会厅放在舞台里，血月与彩窗正好露在桌子上方；暗角压边 ---------- */
html.has-close-table body.in-game {
  background: radial-gradient(ellipse 120% 90% at 50% 40%, #100e1399 30%, #100e13ee 100%), linear-gradient(#100e13cc, #100e13cc), var(--asset-bg_castle_hall) center 30% / cover no-repeat, var(--bg);
  background-attachment: fixed;
}
@media (min-height: 521px) {
  html.has-close-table .stage { z-index: 0; } /* 背景伪元素 z-index:-1 留在舞台内，不沉到 body 背景下 */
  html.has-close-table .stage::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    /* 背景按 cover 铺满舞台（不留黑边），上部对齐：血月与彩窗落在桌子上方；四周暗角 */
    background:
      radial-gradient(ellipse 80% 70% at 50% 20%, transparent 0%, transparent 35%, #0e0a0d66 65%, #0e0a0de6 100%),
      linear-gradient(#0e0a0d26, #0e0a0d26),
      var(--asset-bg_castle_hall) 50% 8% / cover no-repeat;
  }
}

/* ---------- 三区：大底座、名字在上、数字在下；中央银盘留出放 5–10 张暗置牌的空位 ---------- */
html.has-close-table .plane .table-center {
  top: 31%; height: 28%;
  grid-template-columns: minmax(0, 11.5%) minmax(0, 30%) minmax(0, 11.5%); gap: 0 2.5%; align-items: center;
}
html.has-close-table .stage.dense .plane .table-center { grid-template-columns: minmax(0, 11%) minmax(0, 28%) minmax(0, 11%); gap: 0 3%; }
html.has-close-table .plane .zone { padding: 0; display: block; position: relative; background: none; box-shadow: none; border-radius: 0; }
html.has-close-table .plane .zone.altar, html.has-close-table .plane .zone.abyss { aspect-ratio: 1 / 0.9; }
html.has-close-table .plane .zone.tray { aspect-ratio: 2.3 / 1; }
html.has-close-table .plane .zone::before { inset: 0; opacity: 1; filter: brightness(0.92) drop-shadow(0 8px 10px #000c); }
/* 桌心出牌区（用户决定去掉银盘）：只在桌面平面里刻一圈很淡的暗金描线椭圆，随透视压扁，不立起任何物件 */
html.has-close-table .plane .zone.tray::before { content: ''; position: absolute; inset: 4% 2%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, #00000038, #0000 100%);
  box-shadow: inset 0 0 0 1px #be9a6324, inset 0 0 0 5px #0000, inset 0 0 0 6px #be9a6314; filter: none; opacity: 1; }
/* 名字：底座远端上方的小牌，立起面向镜头 */
html.has-close-table .plane .zone > .label {
  position: absolute; left: 50%; bottom: 96%; margin: 0;
  transform: translateX(-50%) rotateX(calc(var(--plane-tilt) * -1)); transform-origin: 50% 100%;
  padding: 0.12em 0.7em; border-radius: 3px; background: #0b080ad9; box-shadow: 0 0 0 1px #be9a6355;
  font-size: clamp(0.72rem, 1.05cqw, 1.05rem); letter-spacing: 0.1em; white-space: nowrap; color: #e9dcc4;
}
/* 数字：立在底座中央，很大 */
html.has-close-table .plane .zone > .count {
  position: absolute; left: 50%; bottom: 34%; margin: 0;
  transform: translateX(-50%) rotateX(calc(var(--plane-tilt) * -1)); transform-origin: 50% 100%;
  font-size: clamp(2rem, 4.2cqw, 4.4rem); line-height: 1; white-space: nowrap;
  text-shadow: 0 0 4px #000, 0 2px 8px #000, 0 0 18px #000;
}
html.has-close-table .plane .zone > .count small { font-size: 0.36em; }
html.has-close-table .plane .zone .heir { position: absolute; left: 50%; top: 100%; transform: translateX(-50%) rotateX(calc(var(--plane-tilt) * -1)); transform-origin: 50% 0; white-space: nowrap; }
html.has-close-table .plane .zone .dissolved { position: absolute; right: 2%; bottom: 4%; transform: rotateX(calc(var(--plane-tilt) * -1)); transform-origin: 50% 100%; font-size: 0.75rem; }
@media (max-height: 520px) {
  html.has-close-table .plane .zone > .count { font-size: 1.5rem; }
  html.has-close-table .plane .zone > .label { font-size: 0.6rem; letter-spacing: 0; padding: 0 0.35em; }
  html.has-close-table .stage .plane .table-center { grid-template-columns: minmax(0, 11%) minmax(0, 27%) minmax(0, 11%); gap: 0 4%; }
}

/* ---------- 右栏：三标签；纪事并入战况底部 ---------- */
.log-fold { margin-top: 0.8rem; border-top: 1px solid #be9a6333; padding-top: 0.5rem; font-size: 0.85rem; }
.log-fold summary { cursor: pointer; font-family: var(--serif); color: var(--ivory-dim); }
.log-fold .log-list { max-height: 16rem; margin-top: 0.4rem; }
#report { overflow-y: auto; }

/* ---------- 自己：效果图里没有自己的勋章，「我的手牌」就代表自己。勋章改成手牌左侧的身份小牌 ---------- */
@media (min-height: 521px) {
  html.has-close-table .stage .seat.me.me {
    left: auto; right: calc(50% + var(--hand-w) / 2 + 1.2rem); top: auto; bottom: calc(1.2cqh + var(--card-w) * 0.2);
    transform: none; width: auto; min-width: 7.5rem; z-index: 7;
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem;
  }
  html.has-close-table .stage .seat.me.me .avatar, html.has-close-table .stage .seat.me.me::before { display: none; }
  html.has-close-table .seat.me .nm { margin: 0; font-size: 0.95rem; }
  html.has-close-table .seat.me .icons { margin: 0; }
  html.has-close-table .seat.me .actor-mark { right: -0.2rem; left: auto; top: -1.4rem; }
  html.has-close-table .seat.me.actor .nm { box-shadow: 0 0 0 1px #ffd98f, 0 0 16px #ffb84d99; }
  /* 阵营与密语手札：手札进右栏「密语手札」，主区只留阵营小标，放在身份小牌上方 */
  html.has-close-table .my-area .my-id { left: auto; right: calc(50% + var(--hand-w) / 2 + 1.2rem); bottom: calc(1.2cqh + var(--card-w) * 0.2 + 4.2rem); width: auto; justify-items: end; }
  html.has-close-table .my-area .my-id .notes { display: none; }
}
@media (max-height: 520px) {
  html.has-close-table .stage.dense .plane .table-center { grid-template-columns: minmax(0, 10%) minmax(0, 26%) minmax(0, 10%); gap: 0 5%; }
}
.tabs .tab { white-space: nowrap; }

/* ---------- ?plane=1 透视校验 ---------- */
.plane .plane-ref { position: absolute; inset: 0; border: 3px dashed #3cff7a; border-radius: 50%; pointer-events: none; }
.plane .plane-test { position: absolute; left: 50%; top: calc(var(--pv) * 100%); width: 6%; aspect-ratio: 2 / 3; transform: translate(-50%, -50%); background: #e8e3d8; box-shadow: 0 0 0 2px #3cff7a; pointer-events: none; }

/* 平放道具：桌面平面子元素，与暗置牌同样压扁、同一接触阴影；压暗 */
html.has-close-table .plane .flat-prop { position: absolute; left: calc(var(--pu) * 100%); top: calc(var(--pv) * 100%); width: calc(var(--pw) * 100%); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--rz)); background: center / contain no-repeat; filter: brightness(0.6) saturate(0.85) drop-shadow(0 4px 3px #000c); pointer-events: none; }
.prop.culled, .flat-prop.culled { display: none; }

/* =====================================================================
   借鉴 8082（Claude V3.3）：座位铭牌——一块黑底金边小牌，名字一行、状态一行，压在头像框下沿
   ===================================================================== */
html.has-close-table .stage .seat:not(.me) .nm, html.has-close-table.has-name-ribbon .stage .seat:not(.me) .nm {
  border: 1px solid #be9a63aa; border-image: none; border-radius: 5px 5px 0 0; border-bottom: 0;
  background: linear-gradient(#1d151cf5, #120c11f5); box-shadow: 0 6px 14px #000b;
  padding: 0.12em 0.7em 0.05em; font: 600 clamp(0.82rem, 0.98cqw, 1.02rem)/1.3 var(--serif); color: #f4e9d5; min-width: calc(var(--medal) * 1.05);
}
html.has-close-table .stage .seat:not(.me) .icons {
  margin-top: 0; height: auto; min-height: 20px; padding: 0.05em 0.6em 0.15em; gap: 0.3rem; border-radius: 0 0 5px 5px;
  background: linear-gradient(#120c11f5, #0c080bf5); box-shadow: 0 0 0 1px #be9a63aa, 0 6px 14px #000b; clip-path: inset(0 -20px -20px -20px);
  min-width: calc(var(--medal) * 1.05); font-size: clamp(0.66rem, 0.78cqw, 0.82rem); color: #d9cbb0;
}
/* 7 人及以下：状态写成文字（已入仪式 / 保持沉默 / 秘印名），8–10 人只留图标（文字在 title 里） */
html.has-close-table .stage:not(.dense) .seat:not(.me) .chip .t { display: inline; }
html.has-close-table .stage:not(.dense) .seat:not(.me) .chip .s { display: none; }
html.has-close-table .stage:not(.dense) .seat:not(.me) .chip { border: 1px solid #be9a6366; border-radius: 3px; padding: 0 0.35em; line-height: 1.35; }
html.has-close-table .stage:not(.dense) .seat:not(.me) .chip.crys .t { color: #c4d5e2; }
html.has-close-table .stage .seat:not(.me) .cnt { font-size: 1em; }
html.has-close-table .stage .seat.actor:not(.me) .nm, html.has-close-table .stage .seat.actor:not(.me) .icons { border-color: #f0cf8f; box-shadow: 0 0 0 1px #f0cf8f, 0 0 14px #e0a24f66, 0 6px 14px #000b; }
html.has-close-table .stage .seat.targetable:not(.me) .nm { border-color: var(--secret); }
@media (max-height: 520px) {
  html.has-close-table .stage .seat:not(.me) .nm { font-size: 0.62rem; padding: 0 0.4em; min-width: 0; }
  html.has-close-table .stage .seat:not(.me) .icons { min-height: 14px; font-size: 0.56rem; padding: 0 0.35em; min-width: 0; }
  html.has-close-table .stage:not(.dense) .seat:not(.me) .chip .t { display: none; }
  html.has-close-table .stage:not(.dense) .seat:not(.me) .chip .s { display: inline; }
  html.has-close-table .stage:not(.dense) .seat:not(.me) .chip { border: 0; padding: 0; }
}

/* =====================================================================
   用户验收（1440 审计）：桌子以手牌为准向上摆——桌子下沿（前桌沿）压在手牌上沿以下约 0.35 张牌高，
   手牌只压住前桌沿；桌面上的落点都在手牌上沿以上（e2e/table-audit.mjs）
   ===================================================================== */
@media (min-height: 521px) {
  html.has-close-table .table { top: calc(100cqh - 1.2cqh - var(--card-w) * 1.5 * 0.65 - var(--cam-table-h)); }
  /* 自己：身份小牌与阵营标在手牌左侧，底边与手牌底边对齐，字号加大 */
  html.has-close-table .stage .seat.me.me { bottom: 1.2cqh; right: calc(50% + var(--hand-w) / 2 + 1.2rem); }
  html.has-close-table .stage .seat.me.me .nm { font-size: clamp(0.95rem, 1.2cqw, 1.2rem); padding: 0.2em 0.8em; }
  html.has-close-table .my-area .my-id { bottom: calc(1.2cqh + 4.4rem); right: calc(50% + var(--hand-w) / 2 + 1.2rem); }
  html.has-close-table .my-area .my-id .fac { font-size: clamp(1rem, 1.25cqw, 1.3rem); }
  html.has-close-table .my-area .my-id .fac img { width: 1.5em; height: 1.5em; }
}
/* 座位名牌字号加大（参照 8082） */
html.has-close-table .stage .seat:not(.me) .nm, html.has-close-table.has-name-ribbon .stage .seat:not(.me) .nm { font-size: clamp(0.88rem, 1.1cqw, 1.15rem); }
html.has-close-table .stage .seat:not(.me) .icons { font-size: clamp(0.72rem, 0.88cqw, 0.92rem); }
/* 状态行固定一行高：出现「已入仪式 / 沉默」小牌时不能撑高座位（不跳动测试） */
html.has-close-table .stage .seat:not(.me) .icons { height: 1.75em; min-height: 0; box-sizing: border-box; align-items: center; }
html.has-close-table .stage .seat:not(.me) .icons .chip { line-height: 1.2; }
/* 手牌牌名：卡变小后按卡宽算会低于 9.5px，设下限 */
html.has-plate-cards .my-area .hand .card .name { font-size: max(10px, calc(var(--card-w) * 0.095)); letter-spacing: 0.02em; left: 7%; right: 7%; }
/* 三区内移，离两侧座位远一些 */
html.has-close-table .plane .table-center { grid-template-columns: minmax(0, 11%) minmax(0, 28%) minmax(0, 11%); gap: 0 2%; }
html.has-close-table .stage.dense .plane .table-center { grid-template-columns: minmax(0, 10.5%) minmax(0, 26%) minmax(0, 10.5%); gap: 0 2%; }

/* 用户验收：自己的身份小牌放大、与手牌底边对齐；阵营标与它同一列 */
@media (min-height: 521px) {
  html.has-close-table .stage .seat.me.me { min-width: 9rem; }
  html.has-close-table .stage .seat.me.me .nm { font-size: clamp(1rem, 1.3cqw, 1.3rem); }
  html.has-close-table .stage .seat.me.me .icons { font-size: clamp(0.8rem, 1cqw, 1rem); }
}

@media (max-height: 520px) {
  /* 手机横屏：名牌不截断（名字整行，状态行只有图标），头像在名牌之上不被遮住 */
  html.has-close-table .stage .seat:not(.me) .nm, html.has-close-table.has-name-ribbon .stage .seat:not(.me) .nm { font-size: 0.62rem; padding: 0 0.35em; min-width: 0; max-width: none; white-space: nowrap; overflow: visible; margin-top: -3px; }
  html.has-close-table .stage .seat:not(.me) .nm span { overflow: visible; text-overflow: clip; }
  html.has-close-table .stage .seat:not(.me) .icons { height: 14px; font-size: 0.56rem; min-width: 0; }
  html.has-close-table .stage .seat:not(.me) .icons .chip .t { display: none; }
  html.has-close-table .stage .seat:not(.me) .icons .chip .s { display: inline; }
  html.has-close-table .stage .seat:not(.me) .icons .chip { border: 0; padding: 0; }
  html.has-close-table .stage .seat .avatar { position: relative; z-index: 2; }
  html.has-close-table .stage .seat .nm { z-index: 1; }
}
@media (max-height: 520px) { html.has-close-table { --medal: clamp(28px, 9cqh, 40px); } html.has-close-table .stage.dense { --medal: clamp(26px, 7.5cqh, 34px); } }

/* ---------- 手牌伪 3D（借鉴 8082 托盘+微扇形；按 web-game-pseudo-3d §1） ----------
   transform 只写这一条，由变量组合；悬停/选中/指针倾斜只改变量。
   --fan 扇形角、--rx 后仰（与桌面同向，顶边远离镜头）、--tx/--ty 指针倾斜、--lift 抬起、--sc 缩放 */
html.has-close-table .my-area .hand { position: relative; flex: 1; justify-content: center; gap: 0; perspective: 900px; perspective-origin: 50% 0%; }
html.has-close-table .my-area .hand > * + * { margin-left: calc(var(--card-w) * -0.06); }
html.has-close-table.has-plate-cards .my-area .hand .card {
  --fan: 0deg; --rise: 0px; --rx: 9deg; --tx: 0deg; --ty: 0deg; --lift: 0px; --sc: 1;
  --edge: 0 1px 0 #7a5d33, 0 2px 0 #4a3520, 0 3px 0 #2a1d12, 0 4px 0 #160e09;
  --cast: 0 6px 4px -1px #000e, 0 14px 18px -6px #000c, 0 30px 36px -14px #000a;
  --ring: 0 0 0 1px #00000080;
  position: relative; transform-origin: 50% 130%; will-change: transform;
  transform: translateY(calc(var(--rise) + var(--lift) + var(--drag, 0px))) rotate(var(--fan)) rotateX(calc(var(--rx) + var(--tx))) rotateY(var(--ty)) scale(var(--sc));
  box-shadow: var(--edge), var(--cast), var(--ring);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.18s ease;
}
/* 微扇形：3 张 -5°/0/+5°，中间那张略高；2 张 ±3°。:where() 压低特异性，悬停/选中能覆盖 --fan */
html.has-close-table.has-plate-cards .my-area .hand .card:where(:first-child:nth-last-child(3)) { --fan: -5deg; }
html.has-close-table.has-plate-cards .my-area .hand .card:where(:nth-child(2):nth-last-child(2)) { --rise: -5px; }
html.has-close-table.has-plate-cards .my-area .hand .card:where(:last-child:nth-child(3)) { --fan: 5deg; }
html.has-close-table.has-plate-cards .my-area .hand .card:where(:first-child:nth-last-child(2)) { --fan: -3deg; }
html.has-close-table.has-plate-cards .my-area .hand .card:where(:last-child:nth-child(2)) { --fan: 3deg; }
html.has-close-table.has-plate-cards .my-area .hand .card[data-state='playable'] { --ring: 0 0 0 1px #d9b37188, 0 0 14px #e0a24f33; }
/* 抬起：扇形回正、后仰减小、投影变大变淡 */
html.has-close-table.has-plate-cards .my-area .hand .card[data-state='playable']:focus-visible { --lift: -12px; --fan: 0deg; --rx: 4deg; --sc: 1.03; z-index: 3;
  --cast: 0 12px 8px -3px #000a, 0 26px 26px -8px #0009, 0 46px 48px -16px #0007; --ring: 0 0 0 2px #ffd98faa, 0 0 22px #f0b86066; }
@media (hover: hover) { html.has-close-table.has-plate-cards .my-area .hand .card[data-state='playable']:hover { --lift: -12px; --fan: 0deg; --rx: 4deg; --sc: 1.03; z-index: 3;
  --cast: 0 12px 8px -3px #000a, 0 26px 26px -8px #0009, 0 46px 48px -16px #0007; --ring: 0 0 0 2px #ffd98faa, 0 0 22px #f0b86066; } }
html.has-close-table.has-plate-cards .my-area .hand .card:is([data-state='selected'], [data-state='submitting']) { --lift: -22px; --fan: 0deg; --rx: 0deg; --sc: 1.05; z-index: 4;
  --cast: 0 16px 10px -4px #0009, 0 34px 32px -10px #0008, 0 58px 56px -18px #0006; --ring: 0 0 0 2px #ffd98f, 0 0 26px #ffb84d99; }
html.has-close-table.has-plate-cards .my-area .hand .card[data-state='submitting'] { animation: hand-submit 0.9s ease-in-out infinite alternate; }
@keyframes hand-submit { to { box-shadow: var(--edge), var(--cast), 0 0 0 2px #ffd98f, 0 0 36px #ffb84dcc; } }
html.has-close-table.has-plate-cards .my-area .hand .card[data-state='disabled'] { --cast: 0 6px 4px -1px #000e, 0 12px 16px -6px #000b, 0 24px 30px -14px #0009; }
/* 托盘：手牌下方的暗色丝绒弧台 + 金色上沿，压住桌子前沿；接触暗影落在托盘上。
   伪元素在 .hand 之前、不用负 z-index（WebKit 下负 z-index 会逃出层叠上下文） */
/* 托盘只在近景布局（手牌行绝对定位、宽度=手牌宽）下画；手机横屏手牌行是全宽静态流，-10% 会把布局视口撑宽 84px */
@media (min-height: 521px) {
html.has-close-table .my-area .hand-row::before {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: calc(-1.2cqh - 2px); height: calc(var(--card-w) * 0.62); pointer-events: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    radial-gradient(ellipse 46% 34% at 50% 58%, #000c 0%, #0008 55%, #0000 100%),
    radial-gradient(ellipse 72% 130% at 50% 100%, #2c1a24f5 0%, #1d1219ee 45%, #120b10d0 75%, #0d080b00 100%);
  box-shadow: inset 0 1.5px 0 #be9a6399, 0 -6px 18px #e0a24f1a;
}
}
/* 触屏、减少动态、柔和特效：不做指针倾斜、不做过渡 */
@media (prefers-reduced-motion: reduce) { html.has-close-table.has-plate-cards .my-area .hand .card { --tx: 0deg !important; --ty: 0deg !important; transition: none; animation: none; } }
body.calm.calm .my-area .hand .card { --tx: 0deg; --ty: 0deg; transition: none; animation: none; }
@media (max-height: 520px) {
  html.has-close-table.has-plate-cards .my-area .hand .card { --rx: 6deg; --edge: 0 1px 0 #7a5d33, 0 2px 0 #3a2a1a, 0 3px 0 #160e09; }
}

/* 道具放大后提亮到看得出材质：宝石/匕首 0.6→0.85，烛台 0.62→0.82，并给烛火一圈暖光 */
html.has-close-table .plane .flat-prop { filter: brightness(0.85) saturate(0.95) drop-shadow(0 5px 3px #000d); }
html.has-close-table .table .prop { filter: brightness(0.82) saturate(0.9) drop-shadow(0 3px 3px #000c) drop-shadow(0 -4px 10px #ffb4502e); }

/* ---------- 手牌半露（Claude 评审第 1 节）：不轮到自己时整组下沉露出约 63%、略暗；轮到自己 350ms 升起，托盘金边闪一下 ----------
   下沉放在 .hand 容器上（一条 transform），单张看牌 / 选中 / 拖动仍只改卡牌的变量 */
@media (min-height: 521px) {
  html.has-close-table .my-area .hand-row { --sink: calc(var(--card-w) * 1.5 * 0.37); }
  html.has-close-table .my-area .hand { transition: transform 0.35s cubic-bezier(.2,.8,.3,1); }
  html.has-close-table .my-area .hand-row.sunk .hand { transform: translateY(var(--sink)); }
  html.has-close-table .my-area .hand-row.sunk .card { filter: brightness(0.85) saturate(0.92); }
  /* 下沉时看单张：悬停（鼠标）或长按（触屏）把这张抬到完整露出 */
  @media (hover: hover) { html.has-close-table.has-plate-cards .my-area .hand-row.sunk:not(.locked) .hand .card:hover { --lift: calc(var(--sink) * -1); --fan: 0deg; --rx: 4deg; z-index: 3; filter: none; } }
  html.has-close-table.has-plate-cards .my-area .hand-row.sunk .hand .card.peek { --lift: calc(var(--sink) * -1); --fan: 0deg; --rx: 4deg; z-index: 3; filter: none; }
  html.has-close-table .my-area .hand-row.rise .hand { animation: hand-rise 0.35s cubic-bezier(.2,.8,.3,1) var(--rise-at, 0ms) both; }
  html.has-close-table .my-area .hand-row.rise::before { animation: tray-flash 0.9s ease-out var(--rise-at, 0ms) both; }
}
@keyframes hand-rise { from { transform: translateY(var(--sink)); } to { transform: none; } }
@keyframes tray-flash { 0%, 100% { box-shadow: inset 0 1.5px 0 #be9a6399, 0 -6px 18px #e0a24f1a; } 30% { box-shadow: inset 0 2px 0 #ffe1a8, 0 -10px 34px #f0b860aa; } }
/* 选中：再上提 20px 并加金边（在升起的基础上）；拖动：跟手，过阈值后金光提示松手即打出 */
html.has-close-table.has-plate-cards .my-area .hand .card:is([data-state='selected'], [data-state='submitting']) { --lift: -20px; }
html.has-close-table.has-plate-cards .my-area .hand .card { touch-action: none; }
html.has-close-table.has-plate-cards .my-area .hand .card.dragging { transition: box-shadow 0.15s ease; z-index: 5; }
html.has-close-table.has-plate-cards .my-area .hand .card.drag-armed { --ring: 0 0 0 2px #ffe1a8, 0 0 30px #ffb84dcc; }
body.calm .my-area .hand, body.calm .my-area .hand-row.rise .hand, body.calm .my-area .hand-row.rise::before { transition: none; animation: none; }
@media (prefers-reduced-motion: reduce) { html.has-close-table .my-area .hand, html.has-close-table .my-area .hand-row.rise .hand { transition: none; animation: none; } }

/* 睁眼标记（取代名单卷轴，整局常驻）：头像框右上角的徽章，干净的 SVG 睁眼（秘密蓝）；徽章正好盖住座位框自带的红宝石饰件，不和它争位置 */
.stage .seat .eye-mark { position: absolute; z-index: 4; width: 26px; aspect-ratio: 1; border-radius: 50%; pointer-events: auto;
  left: calc(50% + var(--medal, 56px) * 0.2); top: calc(var(--medal, 56px) * -0.04);
  background: #0b0f16 var(--hd-eye_open, url('/assets/ui/eye-open.svg')) center / 82% no-repeat;
  box-shadow: 0 0 0 1.5px #91abc0, 0 0 10px #91abc0aa, 0 2px 4px #000c; }
html.has-close-table .stage .seat .eye-mark { width: clamp(18px, calc(var(--medal) * 0.34), 30px); }
.stage .seat.me .eye-mark { left: auto; right: -6px; top: -6px; }

/* ---------- 祭坛 / 墓园：去掉立体底座，改成嵌在桌面里的淡纹章 + 平放牌堆（Claude 评审第 2 节） ----------
   纹章在桌面平面里随透视压扁（左金色圣杯、右暗红荆棘，不透明度 30%）；牌堆平放在纹章中央；
   名字小牌立在远端，数字立在近端（像桌前的铭牌），都不压牌堆 */
html.has-close-table .plane .zone.altar::before, html.has-close-table .plane .zone.abyss::before {
  inset: -6% -4%; background: center / contain no-repeat; filter: none; opacity: 0.3; transform: none; }
html.has-close-table .plane .zone.altar::before { background-image: var(--hd-emblem_chalice, url('/assets/ui/emblem-chalice.svg')); }
html.has-close-table .plane .zone.abyss::before { background-image: var(--hd-emblem_thorns, url('/assets/ui/emblem-thorns.svg')); opacity: 0.34; }
html.has-close-table .plane .zone.altar.lit::before { opacity: 0.55; filter: drop-shadow(0 0 8px #ffd98f); }
html.has-close-table .plane .zone .stack { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 2 / 3; transform: translate(-50%, -50%); }
html.has-close-table .plane .zone .pile-card { position: absolute; inset: 0; border-radius: var(--card-radius, 4px);
  background: var(--asset-card-back) center / cover;
  transform: translate(var(--dx, 0px), calc(var(--dy, 0px) - var(--k) * 1.5px)) rotate(var(--r, 0deg));
  box-shadow: 0 0 0 1px #000c, 0 1.5px 0 #3a2a1a, 0 3px 3px #000d, 0 9px 14px -2px #000b;
  filter: brightness(0.8) saturate(0.88); }
html.has-close-table .plane .zone.altar .pile-card:last-child { box-shadow: 0 0 0 1px #000c, 0 1.5px 0 #3a2a1a, 0 3px 3px #000d, 0 0 12px #e0b86a55; }
html.has-close-table .plane .zone.abyss .pile-card { filter: brightness(0.62) saturate(0.6) sepia(0.25) hue-rotate(-12deg); }
html.has-close-table .plane .zone > .count { bottom: auto; top: 96%; transform-origin: 50% 0; transform: translateX(-50%) rotateX(calc(var(--plane-tilt) * -1)); font-size: clamp(1.6rem, 3.2cqw, 3.4rem); }
html.has-close-table .plane .zone .heir { top: auto; bottom: 96%; transform-origin: 50% 100%; transform: translate(-50%, -1.9em) rotateX(calc(var(--plane-tilt) * -1)); }
@media (max-height: 520px) { html.has-close-table .plane .zone > .count { font-size: 1.2rem; } }
/* 右栏计数：牌落堆时闪金光（祭坛）/ 红光（墓园） */
.rp-cell.flash { animation: rp-flash 1.1s ease-out; }
.rp-cell.altar.flash { --flash: #ffd98f; }
.rp-cell.abyss.flash { --flash: #e0717b; }
@keyframes rp-flash { 0% { box-shadow: 0 0 0 1px var(--flash), 0 0 22px var(--flash); } 100% { box-shadow: 0 0 0 1px #0000, 0 0 0 #0000; } }
body.calm .rp-cell.flash { animation: none; }
/* 揭示立牌：离开桌面、面向镜头，落影在下方桌面；当前翻开的牌金光 */
html.has-close-table .fx-card.lifted .b, html.has-close-table .fx-card.lifted .f { box-shadow: 0 0 0 1px #000c, 0 2px 3px #000c, 0 14px 22px -4px #000d, 0 30px 34px -16px #000b; }
html.has-close-table .fx-card.lifted.current .f { box-shadow: 0 0 0 2px #ffd98f, 0 0 26px #ffb84d99, 0 14px 22px -4px #000d; }

/* /styles/visual-b.css */
/* =====================================================================
   视觉 B：分镜 V4（docs/design/reference/storyboard_v4/）对局前的全部画面
   素材未到时用现有素材 + CSS 占位；到货后 assets.js 给 <html> 加 has-hd-<名>，下面对应规则换成正式图。
   ===================================================================== */

:root {
  --parchment: #e9d6b0;
  --parchment-dk: #c9ad7d;
  --ink: #2a160f;
  --wax: #9d1b26;
  /* 金色衬线标题：描边 + 内外发光 */
  --title-gold: linear-gradient(#fff2c8 0%, #f0c978 38%, #b8853f 62%, #f5d996 100%);
}

/* ---------- 共用：金色主按钮 / 黑底金边次按钮（btn_primary / btn_secondary 到货后换图） ---------- */
.vb-btn-primary, .btn.primary.vb-btn-primary {
  position: relative; min-height: 46px; padding: 0.55em 2.2em; border: 0; border-radius: 3px;
  font: 700 1.02rem var(--serif); letter-spacing: 0.18em; color: #2a1408;
  background: linear-gradient(#ffe3a6, #d9a957 45%, #a87935 55%, #e9c27a);
  box-shadow: 0 0 0 1px #5a3a14, 0 0 0 3px #e7c88a55, 0 6px 16px #000b, inset 0 1px 0 #fff6;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
}
.vb-btn-primary:not(:disabled):hover { filter: brightness(1.08); }
.vb-btn-secondary, .btn.vb-btn-secondary {
  min-height: 42px; padding: 0.45em 1.6em; border-radius: 3px; font: 600 0.98rem var(--serif); letter-spacing: 0.12em;
  color: #f1dfb8; background: linear-gradient(#2a1a20, #140c10); border: 1px solid #c9a35e; box-shadow: inset 0 0 0 2px #00000080, 0 4px 10px #000a;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}
html.has-hd-btn_primary .vb-btn-primary { clip-path: none; box-shadow: none; background: none; border-image: var(--hd-btn_primary) 0 15% fill / 0 2.2em stretch; border-style: solid; border-width: 0 2.2em; padding-inline: 0.4em; }
html.has-hd-btn_secondary .vb-btn-secondary { clip-path: none; box-shadow: none; background: none; border: solid transparent; border-width: 0 1.6em; border-image: var(--hd-btn_secondary) 0 15% fill / 0 1.6em stretch; padding-inline: 0.3em; }

/* 标题牌（title_plaque 到货后换图） */
.vb-plaque {
  display: inline-flex; align-items: center; gap: 0.8em; padding: 0.35em 2.4em; position: relative;
  font: 700 1.25rem var(--serif); letter-spacing: 0.22em; color: #f4e4bf; text-shadow: 0 1px 2px #000;
  background: linear-gradient(#24161b, #120a0e); border: 1px solid #c9a35e; box-shadow: inset 0 0 0 3px #0008, inset 0 0 0 4px #c9a35e55, 0 6px 16px #000c;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
}
html.has-hd-title_plaque .vb-plaque { clip-path: none; box-shadow: none; background: none; border: solid transparent; border-width: 0 2.4em; border-image: var(--hd-title_plaque) 0 15% fill / 0 2.4em stretch; padding-inline: 0.4em; }

/* 面板框（panel_frame 到货后换图） */
.vb-panel {
  position: relative; background: radial-gradient(ellipse at 50% 0%, #2a1a22, #120a0f 70%); border: 1px solid #c9a35e;
  box-shadow: inset 0 0 0 4px #0b0709, inset 0 0 0 5px #c9a35e66, 0 30px 80px #000e;
}
.vb-panel::before, .vb-panel::after { content: ''; position: absolute; width: 38px; height: 38px; border: 2px solid #e2c07a; pointer-events: none; }
.vb-panel::before { left: 6px; top: 6px; border-right: 0; border-bottom: 0; }
.vb-panel::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
html.has-hd-panel_frame .vb-panel { border: solid transparent; border-width: 60px; border-image: var(--hd-panel_frame) 12% fill / 60px stretch; box-shadow: 0 30px 80px #000e; background: none; }
html.has-hd-panel_frame .vb-panel::before, html.has-hd-panel_frame .vb-panel::after { display: none; }

/* ---------- 格 1：首页 ---------- */
.arrival.vb-home {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: center; gap: 0 3vw;
  padding: clamp(1rem, 4vh, 3rem) clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(ellipse 70% 80% at 72% 30%, transparent 0%, #0c070a66 55%, #0c070af0 100%),
    linear-gradient(90deg, #0c070ad9 0%, #0c070a80 40%, transparent 70%),
    var(--hd-title_keyart, var(--asset-bg_castle_hall)) 60% 18% / cover no-repeat,
    linear-gradient(#1d0d14, #141016 60%);
}
.vb-home .vb-title { grid-column: 1; grid-row: 1; text-align: center; align-self: end; margin-bottom: 1.6rem; }
.vb-home .logo {
  margin: 0; font: 800 clamp(2.8rem, 6.4vw, 5.6rem) var(--serif); letter-spacing: 0.18em; padding-left: 0.18em;
  background: var(--title-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px #5a3512; filter: drop-shadow(0 0 1px #000) drop-shadow(0 3px 0 #2a1408) drop-shadow(0 0 22px #c94a5a88);
}
.vb-home .logo-en { display: flex; align-items: center; justify-content: center; gap: 0.8em; margin: 0.4rem 0 0; font: italic 500 clamp(0.8rem, 1.5vw, 1.15rem) var(--latin); letter-spacing: 0.22em; color: #e7c88a; }
.vb-home .logo-en i { display: block; width: 3.5em; height: 1px; background: linear-gradient(90deg, transparent, #e7c88a, transparent); }

/* 羊皮纸邀请函（invitation_card 到货后换图） */
.vb-invitation {
  grid-column: 1; grid-row: 2; align-self: start; justify-self: center; position: relative; width: min(36rem, 100%);
  padding: 2.2rem 2.6rem 3rem; color: var(--ink); font-size: 1.1rem;
  background:
    radial-gradient(ellipse at 20% 15%, #fff8e455, transparent 50%),
    radial-gradient(ellipse at 80% 90%, #8a5a2a40, transparent 55%),
    repeating-linear-gradient(17deg, #0000 0 3px, #6b45200d 3px 4px),
    linear-gradient(170deg, var(--parchment), var(--parchment-dk));
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #b8893e, inset 0 0 0 6px #e9d6b0, inset 0 0 0 7px #8a6428, inset 0 0 40px #6b452055, 0 24px 60px #000d;
}
html.has-hd-invitation_card .vb-invitation { background: var(--hd-invitation_card) center / 100% 100% no-repeat; box-shadow: 0 24px 60px #000d; }
.vb-invitation .entry { background: none; border: 0; box-shadow: none; padding: 0; gap: 0.85rem; }
.vb-invitation .vb-field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.7rem; font: 700 1.2rem var(--serif); color: var(--ink); }
.vb-invitation .split .btn { min-height: 50px; font-size: 1.1rem; }
.vb-invitation input { background: #fff8e8cc; color: var(--ink); border: 1px solid #8a6428; border-radius: 2px; font: 1.1rem var(--serif); padding: 0.6em 0.8em; min-height: 48px; }
.vb-invitation input::placeholder { color: #8a6a4a; }
.vb-invitation .btn.primary.vb-btn-primary { width: 100%; min-height: 54px; font-size: 1.15rem; background: linear-gradient(#b8323e, #7d1520 55%, #a32432); color: #fbe6c2; box-shadow: 0 0 0 1px #3a0a10, 0 0 0 3px #d9b37188, 0 6px 14px #0008; }
.vb-invitation .or { display: flex; align-items: center; gap: 0.6em; justify-content: center; color: #5a3a1e; font: 600 0.92rem var(--serif); }
.vb-invitation .or i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #8a6428, transparent); }
.vb-invitation .entry-note { color: #5a3a1e; font-size: 0.82rem; text-align: center; }
.vb-invitation .vb-btn-secondary { color: #f4e4bf; }
/* 蜡封（wax_seal 到货后换图；暂用秘印背面 + 红色蜡圈） */
.vb-seal {
  position: absolute; left: 50%; bottom: -34px; width: 72px; height: 72px; transform: translateX(-50%) rotate(-8deg); border-radius: 50%;
  background: var(--asset-crystal-sealed) center / 74% no-repeat, radial-gradient(circle at 40% 35%, #d23a46, #8e1520 60%, #5a0a12 100%);
  box-shadow: 0 0 0 3px #7d121c, 0 6px 14px #000c, inset 0 -4px 10px #0007; filter: saturate(1.1);
}
html.has-hd-wax_seal .vb-seal { background: var(--hd-wax_seal) center / contain no-repeat; box-shadow: none; }

@media (max-height: 520px) {
  .arrival.vb-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr; padding: 0.6rem 1rem; gap: 1rem; }
  .vb-home .vb-title { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .vb-home .logo { font-size: 2.6rem; }
  .vb-invitation { grid-column: 1; grid-row: 1; align-self: center; padding: 0.9rem 1.1rem 1.6rem; }
  .vb-invitation .entry { gap: 0.45rem; }
  .vb-invitation .entry-note { display: none; }
  .vb-seal { width: 48px; height: 48px; bottom: -22px; }
}
@media (max-width: 760px) and (min-height: 521px) {
  .arrival.vb-home { grid-template-columns: 1fr; }
}

/* ---------- 格 2：夜宴大厅（近景桌为舞台；右栏收起） ---------- */
.invite.vb-lobby {
  position: relative; max-width: none; margin: 0; padding: 0; border: 0; outline: 0; box-shadow: none; text-align: center; width: 100%;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: calc(100dvh - var(--top-h) - 1.6rem);
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, transparent 20%, #0c070acc 80%, #0c070a 100%),
    var(--asset-bg_castle_hall) 50% 25% / cover no-repeat, #0c070a;
}
.vb-lobby-head { display: flex; align-items: center; justify-content: center; gap: 1.6rem; padding: 0.9rem 1rem 0; flex-wrap: wrap; }
.vb-lobby-head .vb-plaque { margin: 0; font-size: clamp(1.2rem, 2.6vh, 2rem); }
.vb-code { font: 600 clamp(0.95rem, 2vh, 1.3rem) var(--serif); color: #e9dcc4; display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.8rem; background: #0b080acc; border: 1px solid #be9a6366; border-radius: 3px; }
.vb-code b { font: 700 1.15rem var(--latin); letter-spacing: 0.18em; color: #f0c978; margin: 0; background: none; border: 0; padding: 0; }
.vb-lobby-stage { position: relative; container-type: size; min-height: 320px; }
.vb-lobby-table {
  position: absolute; left: 50%; top: 52%; width: min(92cqw, 200cqh); aspect-ratio: var(--table-aspect, 2.29);
  transform: translate(-50%, calc(var(--felt-cy, 0.5) * -100%));
  background: var(--asset-table_oval) center / 100% 100% no-repeat; filter: drop-shadow(0 20px 30px #000c);
}
/* 桌心花纹（分镜里的中央法阵，暂用 CSS 双圈 + 秘印背面） */
.vb-lobby-table::after {
  content: ''; position: absolute; left: 50%; top: calc(var(--felt-cy, 0.5) * 100%); width: 22%; aspect-ratio: 1 / 0.36; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid #c9a35e55; box-shadow: 0 0 0 8px #c9a35e10, 0 0 0 9px #c9a35e33, inset 0 0 30px #b2302e33;
  background: var(--asset-crystal-sealed) center / 18% auto no-repeat; opacity: 0.8;
}
.vb-roster { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; display: block; }
.vb-lseat {
  position: absolute; left: calc(50% + var(--sx) * min(44cqw, 92cqh)); top: calc(52% + var(--sy) * min(30cqh, 20cqw));
  transform: translate(-50%, -50%); width: 9rem;
}
.vb-roster li.vb-lseat { display: grid; justify-items: center; gap: 0.2rem; background: none; border: 0; padding: 0; min-height: 0; box-shadow: none; }
.vb-roster li.vb-lseat .who { flex: none; overflow: visible; }
.vb-medal {
  width: clamp(58px, 17cqh, 150px); aspect-ratio: 1; border-radius: 50%; position: relative;
  background: var(--avatar-img) center 20% / cover no-repeat, radial-gradient(circle at 35% 30%, #5a3a46, #2a1a22 70%);
  box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #b8935a, 0 8px 16px #000c;
}
html.has-seat-frame .vb-medal { box-shadow: 0 8px 16px #000c; }
html.has-seat-frame .vb-medal::after {
  content: ''; position: absolute; pointer-events: none;
  width: calc(100% / var(--frame-hole)); height: calc(100% / var(--frame-hole) * var(--frame-aspect, 1));
  left: calc(50% - var(--frame-hx) * 100% / var(--frame-hole)); top: calc(50% - var(--frame-hy) * 100% / var(--frame-hole) * var(--frame-aspect, 1));
  background: var(--asset-seat_frame) center / 100% 100% no-repeat;
}
.vb-medal.empty { background: radial-gradient(circle, #1a1216, #0b080a); display: grid; place-items: center; }
.vb-medal.empty b { font: 300 2rem var(--serif); color: #be9a6399; }
.vb-lseat .who { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.12em 0.8em; margin-top: 0.35rem; font: 600 0.92rem var(--serif); color: #f4e9d5; white-space: nowrap;
  border-style: solid; border-color: transparent; border-width: 0 1em; border-image: var(--asset-name_ribbon) 0 15% fill / 0 1em stretch; background: none; }
html:not(.has-name-ribbon) .vb-lseat .who { background: #0b080ad9; border: 1px solid #be9a6366; border-radius: 3px; }
.vb-roster li.vb-lseat.empty .who { color: #efe3cc; }
.vb-lseat .host { margin-left: 0.3em; font-size: 0.75em; color: #f0c978; }
.vb-lseat .mini-btn { font-size: 0.72rem; padding: 0.15em 0.6em; min-height: 26px; opacity: 0.88; }
.vb-lseat.me .vb-medal { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #ffd98f, 0 0 20px #ffb84d99; }
.vb-lobby-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 0.4rem 1rem 0.2rem; }
.vb-size { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 1rem var(--serif); color: #e9dcc4; }
.vb-size select { font: 1rem var(--serif); padding: 0.35em 0.6em; background: #140c10; color: #f4e4bf; border: 1px solid #c9a35e; border-radius: 3px; }
.vb-lobby-bar .vb-btn-primary { min-width: 14rem; }
@media (min-height: 521px) { .vb-lobby-bar .btn { min-height: 56px; font-size: clamp(1rem, 2.1vh, 1.35rem); padding-inline: 2em; } .vb-size, .vb-size select { font-size: clamp(1rem, 2.1vh, 1.3rem); } }
.vb-hint { margin: 0.3rem 0 0.8rem; }

/* ---------- 格 3：选择宾客形象 ---------- */
.vb-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: #060407c4; backdrop-filter: blur(3px); }
.vb-guest-panel { width: min(1100px, 76vw); padding: 2rem 3rem 2rem; display: grid; justify-items: center; gap: 1.6rem; }
.vb-guest-panel .vb-plaque { font-size: clamp(1.2rem, 2.8vh, 2rem); }
@media (min-height: 521px) { .vb-actions .btn { min-height: 56px; min-width: 12rem; font-size: clamp(1rem, 2.2vh, 1.35rem); } }
.vb-guest-panel .vb-plaque { margin: -2.6rem 0 0; }
.vb-guest-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; width: 100%; }
.vb-guest {
  aspect-ratio: 4 / 5; border-radius: 4px; padding: 0; border: 1px solid #c9a35e88; cursor: pointer;
  background: var(--avatar-img) center 22% / cover no-repeat, #1a1216; box-shadow: inset 0 0 0 3px #0b0809, 0 6px 14px #000c;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vb-guest:hover, .vb-guest:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 3px #0b0809, 0 0 0 2px #ffd98f88, 0 10px 20px #000d; }
.vb-guest.on { box-shadow: inset 0 0 0 3px #0b0809, 0 0 0 3px #ffd98f, 0 0 22px #ffb84daa; }
.vb-actions { display: flex; gap: 1.6rem; justify-content: center; }
body.calm .vb-guest { transition: none; }

@media (max-height: 520px) {
  .invite.vb-lobby { min-height: calc(100dvh - var(--top-h) - 0.8rem); }
  .vb-lobby-head { padding-top: 0.3rem; gap: 0.8rem; }
  .vb-lobby-head .vb-plaque { font-size: 1rem; }
  .vb-lobby-stage { min-height: 200px; }
  .vb-medal { width: clamp(34px, 14cqh, 54px); }
  .vb-lseat { width: 6.5rem; }
  .vb-roster li.vb-lseat .who { font-size: 0.72rem; margin-top: 0.15rem; }
  .vb-lobby-bar { gap: 0.5rem; padding: 0.2rem 0.5rem; }
  .vb-lobby-bar .btn { min-height: 38px; font-size: 0.85rem; padding-inline: 1em; }
  .vb-hint { display: none; }
  .vb-lseat { left: calc(50% + var(--sx) * 40cqw); top: calc(52% + var(--sy) * 34cqh); width: 6rem !important; }
  .vb-roster li.vb-lseat .mini-btn { font-size: 0.6rem; min-height: 22px; padding: 0.05em 0.45em; }
  .vb-roster li.vb-lseat .who { font-size: 0.66rem; }
  .vb-lobby-head .vb-code { font-size: 0.85rem; }
  .vb-lobby-head .vb-code b { font-size: 0.95rem; }
  .vb-guest-panel { padding: 0.8rem 1.2rem; gap: 0.6rem; width: min(640px, 94vw); }
  .vb-guest-grid { gap: 0.5rem; }
  .vb-guest { aspect-ratio: 1; }
  .vb-guest-panel .vb-plaque { margin-top: -1.6rem; font-size: 1rem; }
}
.invite.vb-lobby::before, .invite.vb-lobby::after { display: none; }
.vb-lseat .who { font-size: clamp(0.9rem, 3cqh, 1.45rem); }
.vb-lseat { width: clamp(9rem, 22cqh, 14rem); }
.vb-lseat .mini-btn { font-size: clamp(0.72rem, 1.8cqh, 0.95rem); }

/* ---------- 格 4–7：故事（电影黑边 + 全屏场景 Ken Burns；台词下三分之一处衬线大字） ---------- */
/* 开场背景统一换成宴会厅（入夜/天亮由叠加层变化） */
html.has-official-table .op-bg { background: linear-gradient(#0c070a73, #0c070acc), var(--asset-bg_castle_hall) 50% 30% / cover no-repeat, #0c070a; }
.op-film { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.op-scene { position: absolute; inset: -4%; opacity: 0; transition: opacity 1.2s ease; background-repeat: no-repeat; background-size: cover; transform: scale(1.02); }
.op-scene.on { opacity: 1; animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(var(--kx, -1.5%), var(--ky, -1%)); } }
/* 占位：宴会厅的不同裁切与色调；story_01–04 到货后换图 */
.op-scene[data-scene='1'] { background-image: linear-gradient(#0a0d1499, #0a0d14cc), var(--hd-story_01, var(--asset-bg_castle_hall)); background-position: 50% 80%; filter: saturate(0.6) hue-rotate(-12deg) brightness(0.8); --kx: 1.5%; --ky: -1.5%; }
.op-scene[data-scene='2'] { background-image: linear-gradient(#14050826, #1405084d), var(--hd-story_02, var(--asset-bg_castle_hall)); background-position: 52% 14%; background-size: 190% auto; filter: saturate(1.25) brightness(0.95); --kx: 0%; --ky: 2%; }
.op-scene[data-scene='3'] { background-image: radial-gradient(ellipse at 50% 60%, transparent 20%, #0c070ae6 75%), var(--hd-story_03, var(--asset-bg_castle_hall)); background-position: 22% 65%; background-size: 240% auto; filter: sepia(0.35) brightness(0.85); --kx: -1%; --ky: -2%; }
.op-scene[data-scene='4'] { background-image: linear-gradient(90deg, #0c070ae6, transparent 40%, #0c070ae6), var(--hd-story_04, var(--asset-bg_castle_hall)); background-position: 88% 40%; background-size: 220% auto; filter: saturate(0.8) contrast(1.1) brightness(0.7); --kx: -2%; --ky: 0%; }
html.has-hd-story_01 .op-scene[data-scene='1'], html.has-hd-story_02 .op-scene[data-scene='2'], html.has-hd-story_03 .op-scene[data-scene='3'], html.has-hd-story_04 .op-scene[data-scene='4'] { background-position: center; background-size: cover; filter: none; }
/* 上下黑边 */
.op.film::before, .op.film::after { content: ''; position: absolute; left: 0; right: 0; height: 11vh; background: #000; z-index: 2; pointer-events: none; animation: letterbox 0.8s ease both; }
.op.film::before { top: 0; }
.op.film::after { bottom: 0; }
@keyframes letterbox { from { transform: scaleY(0); } }
.op.film::before { transform-origin: top; }
.op.film::after { transform-origin: bottom; }
/* 台词：下三分之一处，衬线大字 */
.op.film .op-lines { position: absolute; left: 0; right: 0; bottom: 17vh; max-width: none; min-height: 0; padding: 0 6vw; z-index: 3; justify-items: center; }
.op.film .op-line.film-line { font: 600 clamp(1.4rem, 3.2vw, 2.6rem) var(--serif); letter-spacing: 0.12em; color: #f4e9d5; text-shadow: 0 2px 4px #000, 0 0 24px #000; animation: op-line 1.4s ease both; }
.op.film .op-line.strong.film-line { color: #ffd98f; margin: 0; }
.op.film .op-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 11vh; z-index: 4; background: none; border: 0; display: flex; align-items: center; justify-content: center; }
.op.film .op-bar .op-note { color: #8a7d83; font-size: 0.78rem; }
.op.film .op-bar .op-skip { font-size: 0.95rem; min-height: 40px; padding: 0.3em 1.2em; background: #0b080acc; border-color: #be9a6388; }
.op.film .op-bar .op-skip { position: fixed; top: calc(11vh + 0.8rem); right: 1.2rem; }
body.calm .op-scene.on, .op.rm .op-scene.on { animation: none; }
.op.rm.film::before, .op.rm.film::after { animation: none; }
@media (max-height: 520px) {
  .op.film::before, .op.film::after { height: 8vh; }
  .op.film .op-lines { bottom: 13vh; }
  .op.film .op-line.film-line { font-size: 1.15rem; }
  .op.film .op-bar .op-skip { top: calc(8vh + 0.4rem); }
  .op.film .op-bar { height: 8vh; }
  .op.film .op-bar .op-note { display: none; }
}

/* ---------- 格 8–10：选卡、揭示、发牌（七张卡背横排在桌面上） ---------- */
/* 桌面：近景桌放在画面下半，选卡、揭示、发牌、入夜都以它为舞台 */
.op-table { position: absolute; left: 50%; bottom: -18vh; width: max(118vw, 210vh); aspect-ratio: var(--table-aspect, 2.29); transform: translateX(-50%);
  background: var(--asset-table_oval) center / 100% 100% no-repeat; opacity: 0; transition: opacity 1s ease; filter: drop-shadow(0 -10px 30px #000c); }
.op:is([data-phase='FATE_SELECTION'], [data-phase='CARD_REVEAL'], [data-phase='DEAL_REMAINING'], [data-phase='NIGHT_TRANSITION'], [data-phase='NIGHT_RECOGNITION'], [data-phase='NIGHT_SUMMARY'], [data-phase='DAWN'], [data-phase='READY_SYNC']) .op-table { opacity: 1; }
.op { --card-h: min(30vh, 300px, 15.5vw); grid-template-columns: minmax(0, 1fr); } /* 七张横排：按宽度也约束卡高，避免撑宽网格把按钮挤出视口 */
.op-fan { gap: calc(var(--card-h) * 0.12); }
.op-fan .fate { --rot: 0deg; --ty: 0px; margin: 0; }
.op-fan .fate .opc-face { transition: box-shadow 0.2s ease; }
.op-fan .fate:not(:disabled):hover, .op-fan .fate:not(:disabled):focus-visible { --lift: calc(var(--card-h) * -0.1); }
.op-fan .fate:not(:disabled):hover .opc-face, .op-fan .fate:not(:disabled):focus-visible .opc-face { box-shadow: 0 0 0 2px #ffd98f, 0 0 26px 4px #ffb84daa, 0 18px 40px #000; }
.op[data-phase='FATE_SELECTION'] .op-say { font-size: clamp(1.1rem, 2.4vw, 1.8rem); letter-spacing: 0.1em; }
.op[data-phase='FATE_SELECTION'] .op-fan { align-self: end; margin-bottom: 2vh; }

/* 揭示：大卡在左，右侧「今夜，你是 / 角色名」大字与确认按钮；身后金色法阵 */
.op.revealing .op-fan .fate.chosen { --sc: 1.85 !important; }
.op.revealing .op-fan .fate.dim { opacity: 0; }
.op.revealing .op-fan .fate.chosen::before { content: ''; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: var(--asset-fx-ritual) center / contain no-repeat; opacity: 0.55; filter: drop-shadow(0 0 20px #ffb84d88); animation: op-ritual 14s linear infinite; }
@keyframes op-ritual { to { transform: translate(-50%, -50%) rotate(360deg); } }
.op.revealing .op-caption { position: absolute; left: 56%; right: 4vw; top: 30%; grid-row: auto; max-width: none; text-align: left; }
.op.revealing .op-say { justify-items: start; gap: 0.8rem; }
.op.revealing .op-youare { font: 500 clamp(1.2rem, 2.6vw, 2rem) var(--serif); color: #e9dcc4; letter-spacing: 0.12em; display: flex; align-items: center; gap: 0.8em; }
.op.revealing .op-youare::after { content: ''; width: 5em; height: 1px; background: linear-gradient(90deg, #e7c88a, transparent); }
.op.revealing .op-role { font: 800 clamp(2.6rem, 6.4vw, 5.2rem) var(--serif); letter-spacing: 0.12em; background: var(--title-gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #2a1408) drop-shadow(0 0 1px #000); }
.op.revealing .op-role[data-faction='thorn'] { background: linear-gradient(#ffd0d4, #f06a76 45%, #c22c3a 70%, #ffb2b9); -webkit-background-clip: text; background-clip: text; }
.op.revealing .op-caption { z-index: 6; }
.op.revealing .op-caption::before { content: ''; position: absolute; inset: -30% -10% -30% -16%; z-index: -1; background: radial-gradient(ellipse at 35% 50%, #0c070af2 0%, #0c070ad9 45%, transparent 75%); }
.op.revealing .op-say small { font-size: clamp(0.9rem, 1.4vw, 1.1rem); max-width: 26em; }
.op-confirm.btn.primary { margin-top: 1rem; min-width: 12rem; min-height: 54px; font-size: clamp(1rem, 2vw, 1.4rem); animation: op-line 0.6s ease both; }
body.calm .op.revealing .op-fan .fate.chosen::before, .op.rm .op-fan .fate.chosen::before { animation: none; }

/* 发牌：手牌位与对局手牌位置一致（底部中央、同样大小） */
.op-hand { --card-h: clamp(126px, min(17vw, 33vh), 270px); gap: 0.7rem; position: absolute; left: 50%; bottom: 1.4vh; transform: translateX(-50%); padding: 0; min-height: 0; }
.op[data-phase='DEAL_REMAINING'] .op-say { font-size: clamp(1.3rem, 2.8vw, 2.4rem); letter-spacing: 0.1em; }
.op[data-phase='DEAL_REMAINING'] .op-caption { align-self: center; }

@media (max-height: 520px) {
  .op { --card-h: min(34vh, 150px); }
  .op.revealing .op-caption { top: 22%; left: 54%; }
  .op.revealing .op-fan .fate.chosen { --sc: 1.6 !important; }
  .op.revealing .op-role { font-size: 2.2rem; }
  .op.revealing .op-youare { font-size: 1rem; }
  .op-confirm { margin-top: 0.3rem; min-height: 40px; }
  .op-hand { --card-h: min(30vh, 120px); }
}
/* 发牌时台词在手牌上方，桌心位置 */
.op[data-phase='DEAL_REMAINING'] .op-caption { position: absolute; left: 0; right: 0; top: 38%; max-width: none; grid-row: auto; }

/* ---------- 格 11–13：入夜（深蓝紫色调、烛光调暗；正常大小头像框逐座聚光；羊皮纸名单） ---------- */
:root { --mask-svg: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fbefd2'/%3E%3Cstop offset='.55' stop-color='%23d4b073'/%3E%3Cstop offset='1' stop-color='%238a6631'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url%28%23g%29' stroke='%237a1f2b' stroke-width='1.2' fill-rule='evenodd' d='M2,13 C10,1 30,3 42,9 C46,11 50,13 50,13 C50,13 54,11 58,9 C70,3 90,1 98,13 C96,28 80,37 66,33 C58,31 54,26 50,26 C46,26 42,31 34,33 C20,37 4,28 2,13 Z M17,18 C21,11 35,11 39,18 C35,24 21,24 17,18 Z M61,18 C65,11 79,11 83,18 C79,24 65,24 61,18 Z'/%3E%3Cpath fill='none' stroke='%23a8323f' stroke-width='.8' d='M8,14 C14,8 24,7 30,8 M92,14 C86,8 76,7 70,8 M46,22 L50,19 L54,22'/%3E%3C/svg%3E"); }
.op.night .op-veil { opacity: 1; background: linear-gradient(#0a0c2a99, #08061fcc); mix-blend-mode: multiply; }
.op.night .op-bg { filter: saturate(0.7) hue-rotate(-18deg); transition: filter 1.4s ease; }
html.has-hd-night_hall .op.night .op-bg { background: var(--hd-night_hall) 50% 30% / cover no-repeat; filter: none; }
html.has-hd-night_hall .op.night .op-veil { opacity: 0.25; }
.op.night .op-table { filter: brightness(0.6) saturate(0.6) hue-rotate(-20deg) drop-shadow(0 -10px 30px #000c); }
/* 座位环贴着开场桌的桌沿（桌子 bottom:-18vh、宽 max(118vw,210vh)：桌沿中线大约在画面 47%–100%） */
.op-ring { position: absolute; left: 4vw; right: 4vw; top: 42vh; bottom: 13vh; margin: 0; z-index: 2; }
.op-seat { left: calc(50% + var(--x) * 45%); top: calc(50% + var(--y) * 46%); color: #c9c4d8; min-width: 7rem; gap: 0.2rem; }
.op-medal { position: relative; width: clamp(64px, 12.5vh, 132px); aspect-ratio: 1; border-radius: 50%;
  background: var(--avatar-img) center 20% / cover no-repeat, #1a1216; box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #8a7d6a, 0 8px 16px #000c;
  filter: brightness(0.55) saturate(0.6); transition: filter 0.5s ease, box-shadow 0.5s ease; }
.op-seat.spot .op-medal, .op-seat.open .op-medal { filter: none; }
.op-seat.spot .op-medal { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #c9d6e6, 0 0 30px 6px #91abc0aa, 0 8px 16px #000c; }
.op-seat.spot::before { content: ''; position: absolute; left: 50%; top: -40vh; width: 18vh; height: calc(40vh + 100%); transform: translateX(-50%); pointer-events: none; z-index: -1;
  background: linear-gradient(#c9d6e600, #c9d6e61f 60%, #c9d6e633); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
/* 状态标记：头像右上角圆章（eye_open / eye_closed / mask_token 到货后换图） */
.op-medal .op-eye { position: absolute; right: -10%; top: -10%; width: 42%; height: auto; aspect-ratio: 1; border-radius: 50%; margin: 0; border: 2px solid #3a3340; background: #0d0a10; opacity: 0; transform: scale(0.6); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.3,1.5,.5,1); }
.op-medal .op-eye::after { display: none; }
.op-seat:is(.open, .closed, .masked) .op-eye { opacity: 1; transform: none; }
.op-seat.open .op-medal .op-eye { border-color: #91abc0; background: #0d0a10 var(--hd-eye_open, var(--asset-icon-awakened)) center / 78% no-repeat; box-shadow: 0 0 14px #91abc0aa; }
.op-seat.closed .op-medal .op-eye { border-color: #5d5468; height: auto; background: #0d0a10 linear-gradient(#8d8296, #8d8296) center / 56% 2px no-repeat; }
html.has-hd-eye_closed .op-seat.closed .op-medal .op-eye { background: #0d0a10 var(--hd-eye_closed) center / 78% no-repeat; }
/* 遮蔽：整张头像被面具盖住（无权限视图，每个席位相同） */
.op-seat.masked .op-medal { filter: none; background: #1a1520; }
.op-seat.masked .op-medal::after { content: ''; position: absolute; inset: 16% 8%; background: var(--hd-mask_token, var(--mask-svg)) center / contain no-repeat; filter: grayscale(0.4) brightness(0.9) drop-shadow(0 2px 4px #000); }
.op-seat.masked .op-medal .op-eye { display: none; }
.op-nm { font: 600 clamp(0.85rem, 1.6vh, 1.1rem) var(--serif); padding: 0.1em 0.8em; background: #0b080ad9; border: 1px solid #be9a6355; border-radius: 3px; white-space: nowrap; }
.op-state { font: 600 0.82rem var(--serif); letter-spacing: 0.15em; min-height: 1.2em; color: #91abc0; }
.op-seat.closed .op-state { color: #8d8296; }
.op-seat.masked .op-state { color: #a89cb4; }
html.has-seat-frame .op-medal { box-shadow: 0 8px 16px #000c; }
html.has-seat-frame .op-medal::before { content: ''; position: absolute; pointer-events: none; z-index: 1;
  width: calc(100% / var(--frame-hole)); height: calc(100% / var(--frame-hole) * var(--frame-aspect, 1));
  left: calc(50% - var(--frame-hx) * 100% / var(--frame-hole)); top: calc(50% - var(--frame-hy) * 100% / var(--frame-hole) * var(--frame-aspect, 1));
  background: var(--asset-seat_frame) center / 100% 100% no-repeat; filter: brightness(0.75); }
html.has-seat-frame .op-seat.spot .op-medal::before { filter: drop-shadow(0 0 8px #91abc0); }
.op[data-phase='NIGHT_RECOGNITION'] .op-caption { position: absolute; left: 0; right: 0; top: 54%; max-width: none; z-index: 3; }
.op:is([data-phase='NIGHT_RECOGNITION']) .op-lines { display: none; }
.op[data-phase='NIGHT_RECOGNITION'] .op-say { font-size: clamp(1.1rem, 2.4vw, 1.8rem); }
.op[data-phase='NIGHT_RECOGNITION'] .op-caption::before { content: '午夜密会'; display: block; margin-bottom: 0.3rem; font: 700 clamp(1.4rem, 3vw, 2.4rem) var(--serif); letter-spacing: 0.3em; color: #e9dcc4; text-shadow: 0 0 20px #91abc088; }
.op-ring.summary .op-seat { opacity: 0.35; }

/* 羊皮纸卷（night_scroll 到货后换图） */
.op-scroll { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; width: min(640px, 70vw); animation: op-unroll 0.9s cubic-bezier(.3,.7,.3,1) both; }
@keyframes op-unroll { from { clip-path: inset(48% 0 48% 0); } to { clip-path: inset(-10% -10% -10% -10%); } }
.op-scroll::before, .op-scroll::after { content: ''; position: absolute; left: -4%; right: -4%; height: 26px; border-radius: 13px; z-index: 1;
  background: linear-gradient(#5a3a1e, #c9a35e 30%, #8a6428 55%, #3a2410); box-shadow: 0 6px 12px #000a; }
.op-scroll::before { top: -12px; }
.op-scroll::after { bottom: -12px; }
.op-scroll-paper { position: relative; padding: 2.2rem 2.4rem 2.4rem; color: var(--ink); text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #f4e4c0, transparent 70%), repeating-linear-gradient(11deg, #0000 0 3px, #6b45200f 3px 4px), linear-gradient(#e2c99a, #d4b47e 50%, #e2c99a);
  box-shadow: inset 0 0 40px #6b4520aa; }
html.has-hd-night_scroll .op-scroll::before, html.has-hd-night_scroll .op-scroll::after { display: none; }
html.has-hd-night_scroll .op-scroll-paper { background: var(--hd-night_scroll) center / 100% 100% no-repeat; box-shadow: none; padding: 4rem 3rem; }
.op-scroll h3 { margin: 0; font: 800 clamp(1.6rem, 3.4vw, 2.6rem) var(--serif); letter-spacing: 0.25em; color: #5a1a14; }
.op-scroll-sub { margin: 0.6rem 0 0.8rem; font: 700 1.05rem var(--serif); color: #3a2410; }
.op-scroll-list { display: flex; justify-content: center; gap: 1.6rem; min-height: 112px; align-items: center; flex-wrap: wrap; }
.op-scroll-guest { display: grid; justify-items: center; gap: 0.3rem; }
.op-scroll-guest i { width: 84px; aspect-ratio: 1; border-radius: 50%; background: var(--avatar-img) center 20% / cover no-repeat; box-shadow: 0 0 0 3px #8a6428, 0 6px 12px #0006; }
.op-scroll-guest b { font: 700 0.95rem var(--serif); color: #2a160f; }
.op-scroll-none { font: 600 1rem var(--serif); color: #5a3a1e; }
.op-scroll-mask { display: flex; gap: 1.2rem; }
.op-scroll-mask i { width: 84px; aspect-ratio: 1; border-radius: 50%; background: #2a2433 var(--mask-svg) center / 70% no-repeat; box-shadow: 0 0 0 3px #8a6428; opacity: 0.75; }
.op-scroll-text { margin: 0.8rem 0 0; display: grid; gap: 0.3rem; font: 600 1rem var(--serif); color: #3a2410; }
.op-scroll-text small { font-size: 0.82rem; color: #6b4520; }
.op-scroll-act { margin-top: 1.1rem; display: flex; justify-content: center; }
/* 蜡封按钮「我记住了」 */
.op-scroll .vb-seal-btn.btn.primary { position: relative; min-height: 50px; padding: 0.4em 2.2em 0.4em 3.4em; border: 0; border-radius: 3px; color: #fbe6c2; font: 700 1.1rem var(--serif); letter-spacing: 0.2em;
  background: linear-gradient(#b8323e, #7d1520 55%, #a32432); box-shadow: 0 0 0 1px #3a0a10, 0 0 0 3px #d9b37188, 0 6px 14px #0008; }
.op-scroll .vb-seal-btn::before { content: ''; position: absolute; left: -0.9em; top: 50%; width: 3.2em; aspect-ratio: 1; transform: translateY(-50%) rotate(-10deg); border-radius: 50%;
  background: var(--hd-wax_seal, var(--asset-crystal-sealed)) center / 76% no-repeat, radial-gradient(circle at 40% 35%, #d23a46, #8e1520 60%, #5a0a12); box-shadow: 0 0 0 2px #7d121c, 0 4px 10px #000c; }
html.has-hd-wax_seal .op-scroll .vb-seal-btn::before { background: var(--hd-wax_seal) center / contain no-repeat; box-shadow: none; }
body.calm .op-scroll, .op.rm .op-scroll { animation: none; }

/* ---------- 格 14：天亮（烛火重新亮起；大字 + 上下花饰） ---------- */
.op.dawn .op-candles { opacity: 1; filter: brightness(1.4); transition: opacity 1.6s ease, filter 1.6s ease; }
.op.dawn .op-bg { filter: none; }
.op.dawn .op-table { filter: drop-shadow(0 -10px 30px #000c); }
.op.dawn .op-lines { position: absolute; left: 0; right: 0; top: 34%; max-width: none; z-index: 4; justify-items: center; }
.op-line.title { position: relative; padding: 1.2rem 0; font: 800 clamp(2.2rem, 5.4vw, 4.6rem) var(--serif); letter-spacing: 0.22em;
  background: var(--title-gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #2a1408) drop-shadow(0 0 20px #c94a5a88); text-shadow: none; }
.op-line.title::before, .op-line.title::after { content: ''; position: absolute; left: 50%; width: min(70vw, 760px); height: 14px; transform: translateX(-50%);
  background: radial-gradient(circle, #f0c978 0 3px, transparent 4px) center / 14px 14px no-repeat, linear-gradient(90deg, transparent, #e7c88a 30%, #e7c88a 70%, transparent) center / 100% 1px no-repeat; }
.op-line.title::before { top: 0; }
.op-line.title::after { bottom: 0; }
html.has-hd-divider_flourish .op-line.title::before, html.has-hd-divider_flourish .op-line.title::after { height: 40px; background: var(--hd-divider_flourish) center / contain no-repeat; }

@media (max-height: 520px) {
  .op-ring { top: 36vh; bottom: 14vh; }
  .op-medal { width: clamp(36px, 12vh, 52px); }
  .op-nm { font-size: 0.72rem; }
  .op-state { font-size: 0.66rem; }
  .op-scroll { width: min(460px, 70vw); }
  .op-scroll-paper { padding: 1rem 1.4rem 1.2rem; }
  .op-scroll h3 { font-size: 1.3rem; }
  .op-scroll-sub { margin: 0.2rem 0 0.4rem; font-size: 0.85rem; }
  .op-scroll-list { min-height: 56px; gap: 0.8rem; }
  .op-scroll-guest i, .op-scroll-mask i { width: 48px; }
  .op-scroll-text { margin-top: 0.3rem; font-size: 0.8rem; }
  .op-scroll-text small { display: none; }
  .op-scroll-act { margin-top: 0.5rem; }
  .op-scroll .vb-seal-btn.btn.primary { min-height: 40px; font-size: 0.95rem; }
  .op-line.title { font-size: 2rem; }
}

/* =====================================================================
   分镜 V4 高清素材第一批接入（scripts/prepare-bloodmoon-hd.py）
   场景图先显示 40px 模糊占位（--lqip-*），正式图加载后覆盖
   ===================================================================== */
/* 首页：title_keyart 主视觉（左侧为邀请函留出空位） */
html.has-hd-title_keyart .arrival.vb-home {
  background:
    linear-gradient(90deg, #0c070acc 0%, #0c070a59 38%, transparent 60%),
    radial-gradient(ellipse 90% 80% at 60% 40%, transparent 50%, #0c070ab3 100%),
    var(--hd-title_keyart) 62% 40% / cover no-repeat, var(--lqip-title_keyart) 62% 40% / cover no-repeat, #0c070a;
}
/* 故事：正式场景图，取消占位裁切与调色 */
html.has-hd-story_01 .op-scene[data-scene='1'] { background-image: linear-gradient(#0a0d1426, #0a0d1466), var(--hd-story_01), var(--lqip-story_01); background-position: center; background-size: cover; filter: none; }
html.has-hd-story_02 .op-scene[data-scene='2'] { background-image: linear-gradient(#14050814, #14050840), var(--hd-story_02), var(--lqip-story_02); background-position: center; background-size: cover; filter: none; }
html.has-hd-story_03 .op-scene[data-scene='3'] { background-image: radial-gradient(ellipse at 50% 55%, transparent 35%, #0c070a99 90%), var(--hd-story_03), var(--lqip-story_03); background-position: center; background-size: cover; filter: none; }
html.has-hd-story_04 .op-scene[data-scene='4'] { background-image: linear-gradient(#0c070a26, #0c070a66), var(--hd-story_04), var(--lqip-story_04); background-position: center; background-size: cover; filter: none; }
/* 入夜：night_hall 与宴会厅构图不同，不做逐像素交叉；整张淡入，桌子与座位层始终在上面 */
.op-night-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
html.has-hd-night_hall .op-night-bg { background: linear-gradient(#05040f40, #05040f8c), var(--hd-night_hall) 60% 40% / cover no-repeat, var(--lqip-night_hall) 60% 40% / cover no-repeat; }
html.has-hd-night_hall .op.night .op-night-bg { opacity: 1; }
html.has-hd-night_hall .op.night .op-bg { filter: none; }
html.has-hd-night_hall .op.night .op-veil { opacity: 0; }
html.has-hd-night_hall .op.dawn .op-night-bg { opacity: 0; transition-duration: 2.2s; }
/* 背景层整体在下（含桌子），舞台在上：.op-bg 自成层叠上下文，避免桌子盖住手牌与卡（elementFromPoint 实测） */
.op .op-bg { z-index: 0; }
.op .op-table { z-index: 1; }
.op .op-stage { z-index: 2; }
.op .op-bar { z-index: 5; }
/* 入夜阶段手牌收起（不与座位环重叠） */
.op:is([data-phase='NIGHT_TRANSITION'], [data-phase='NIGHT_RECOGNITION'], [data-phase='DAWN'], [data-phase='READY_SYNC']) .op-hand { opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }

/* 名单卷轴：night_scroll 实图，内容放进实测纸面 */
html.has-hd-night_scroll .op-scroll { width: auto; height: min(86vh, 900px); aspect-ratio: 1 / var(--night_scroll-aspect); }
html.has-hd-night_scroll .op-scroll::before, html.has-hd-night_scroll .op-scroll::after { display: none; }
html.has-hd-night_scroll .op-scroll-paper { position: absolute; inset: 0; padding: 0; background: var(--hd-night_scroll) center / 100% 100% no-repeat; box-shadow: none; }
html.has-hd-night_scroll .op-scroll-paper > * { position: relative; }
html.has-hd-night_scroll .op-scroll-paper { display: grid; align-content: center; justify-items: center;
  padding: calc(var(--night_scroll-top) * 100%) calc((1 - var(--night_scroll-right)) * 100%) calc((1 - var(--night_scroll-bottom)) * 100%) calc(var(--night_scroll-left) * 100%); }
html.has-hd-night_scroll .op-scroll h3 { font-size: clamp(1.4rem, 3.4vh, 2.4rem); }
html.has-hd-night_scroll .op-scroll-guest i, html.has-hd-night_scroll .op-scroll-mask i { width: clamp(52px, 8vh, 84px); }
html.has-hd-night_scroll .op-scroll-list { gap: 1rem; min-height: 0; }
@media (max-height: 520px) { html.has-hd-night_scroll .op-scroll { height: 92vh; } html.has-hd-night_scroll .op-scroll h3 { font-size: 1.1rem; } html.has-hd-night_scroll .op-scroll-sub { font-size: 0.75rem; } }
/* 蜡封：wax_seal 实图 */
html.has-hd-wax_seal .vb-seal { background: var(--hd-wax_seal) center / contain no-repeat; box-shadow: none; border-radius: 0; width: 92px; height: 92px; bottom: -44px; }
html.has-hd-wax_seal .op-scroll .vb-seal-btn::before { background: var(--hd-wax_seal) center / contain no-repeat; box-shadow: none; border-radius: 0; width: 3.6em; }
/* 面板框：panel_frame 九宫格（角饰按实测切片，中段拉伸） */
html.has-hd-panel_frame .vb-panel { border: solid transparent; border-width: clamp(48px, 9vh, 96px); border-image: var(--hd-panel_frame) var(--panel_frame-sy) var(--panel_frame-sx) fill / clamp(48px, 9vh, 96px) stretch;
  background: radial-gradient(ellipse at 50% 0%, #2a1a22f2, #120a0ff2 70%) padding-box; box-shadow: 0 30px 80px #000e; padding: 0.2rem 0.6rem; }
html.has-hd-panel_frame .vb-panel::before, html.has-hd-panel_frame .vb-panel::after { display: none; }
html.has-hd-panel_frame .vb-guest-panel .vb-plaque { margin-top: calc(clamp(48px, 9vh, 96px) * -0.8); }
/* 揭示画面右侧文字底板：plaque_velvet（红丝绒金框竖板），文字放进实测内框 */
html.has-hd-plaque_velvet .op.revealing .op-caption { left: 55%; right: auto; top: 50%; width: min(34vw, calc(78vh / var(--plaque_velvet-aspect))); aspect-ratio: 1 / var(--plaque_velvet-aspect); transform: translateY(-50%);
  background: var(--hd-plaque_velvet) center / 100% 100% no-repeat; text-align: center; padding: 0; }
/* 百分比 padding 以父元素宽度计，会让文字偏移；改为绝对定位到实测内框（偏移量以底板自身为基准） */
html.has-hd-plaque_velvet .op.revealing .op-say { position: absolute; display: grid; align-content: center; justify-items: center;
  left: calc(var(--plaque_velvet-left) * 100%); right: calc((1 - var(--plaque_velvet-right)) * 100%);
  top: calc(var(--plaque_velvet-top) * 100%); bottom: calc((1 - var(--plaque_velvet-bottom)) * 100%); padding: 0 6%; }
html.has-hd-plaque_velvet .op.revealing .op-role, html.has-hd-plaque_velvet .op.revealing .op-role[data-faction='thorn'] {
  background: var(--title-gold); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 2px 0 #1a0a06) drop-shadow(0 0 6px #000); }
html.has-hd-plaque_velvet .op.revealing .op-youare { color: #f4e4bf; text-shadow: 0 1px 3px #000; }
html.has-hd-plaque_velvet .op.revealing .op-caption::before { display: none; }
html.has-hd-plaque_velvet .op.revealing .op-say { justify-items: center; }
html.has-hd-plaque_velvet .op.revealing .op-youare { justify-content: center; }
html.has-hd-plaque_velvet .op.revealing .op-youare::after { display: none; }
html.has-hd-plaque_velvet .op.revealing .op-role { font-size: clamp(1.4rem, 2.6vw, 2.6rem); white-space: nowrap; letter-spacing: 0.06em; }
html.has-hd-plaque_velvet .op.revealing .op-caption { width: min(30vw, calc(80vh / var(--plaque_velvet-aspect))); }
html.has-hd-plaque_velvet .op.revealing .op-say { gap: 0.5rem; }
html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { min-width: 0; min-height: 44px; font-size: 1rem; margin-top: 0.4rem; }
html.has-hd-plaque_velvet .op.revealing .op-say small { color: #e9dcc4; text-align: center; }

/* ===== 用户验收（1440 审计）：首页——标题与邀请函同一左栏、左对齐靠左；城堡与血月完整露出；蜡封放大并离开按钮 ===== */
@media (min-height: 521px) {
  .arrival.vb-home { grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; justify-content: start; gap: 0; padding-left: clamp(1.5rem, 4vw, 5rem); }
  .arrival.vb-home > * { grid-column: 1; }
  .vb-home .vb-title { grid-column: 1; grid-row: 1; justify-self: stretch; align-self: end; margin: 0 0 clamp(1.4rem, 4vh, 2.6rem); }
  .vb-invitation { grid-column: 1; grid-row: 2; justify-self: stretch; width: auto; padding-bottom: 3.8rem; }
  html.has-hd-title_keyart .arrival.vb-home { background-position: 0 0, 0 0, 78% 40%, 78% 40%, 0 0; }
}
html.has-hd-wax_seal .vb-seal { width: clamp(96px, 13vh, 130px); height: clamp(96px, 13vh, 130px); bottom: calc(clamp(96px, 13vh, 130px) * -0.5); }
.vb-invitation .entry-note { margin-bottom: 0.4rem; }

/* ===== 用户验收：大厅——头像放大、小按钮看得见、桌心有道具与标题、底栏按钮统一大小且主按钮完整 ===== */
.vb-medal { width: clamp(64px, 15cqh, 132px); }
.vb-lseat { width: clamp(9rem, 26cqh, 15rem); }
.vb-roster li.vb-lseat .mini-btn { font-size: clamp(0.8rem, 1.9cqh, 1rem); min-height: 30px; padding: 0.2em 0.9em; opacity: 1;
  color: #f1dfb8; background: #140c10e6; border: 1px solid #c9a35e; border-radius: 3px; }
.vb-lobby-table::after { display: none; }
.vb-lobby-table .vb-lp { position: absolute; top: calc(var(--felt-cy, 0.5) * 100% - 12%); left: calc(var(--lx) * 100%); width: 6%; aspect-ratio: 313 / 492; transform: translate(-50%, -88%);
  background: var(--asset-prop_candelabra) center bottom / contain no-repeat; filter: brightness(0.75) drop-shadow(0 4px 4px #000c); }
.vb-lobby-table .vb-lp::before { content: ''; position: absolute; left: -60%; right: -60%; top: -30%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, #ffb84d33, transparent); }
.vb-lobby-table .vb-lp-title { position: absolute; left: 50%; top: calc(var(--felt-cy, 0.5) * 100%); transform: translate(-50%, -50%) scaleY(0.62); font: 800 normal clamp(1.6rem, 6cqh, 3.4rem) var(--serif); letter-spacing: 0.4em; padding-left: 0.4em;
  background: var(--title-gold); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.55; filter: drop-shadow(0 2px 0 #1a0a06); white-space: nowrap; }
/* 底栏：所有按钮同高、同字号；主按钮不被挤出 */
.vb-lobby-bar { flex-wrap: nowrap; gap: clamp(0.5rem, 1.2vw, 1.2rem); }
.vb-lobby-bar .btn, .vb-lobby-bar .btn.primary.vb-btn-primary { min-height: 52px; font-size: clamp(0.95rem, 1.15vw, 1.2rem); padding-inline: 1.6em; white-space: nowrap; flex: none; }
.vb-lobby-bar .btn.primary.vb-btn-primary { min-width: 12rem; }
@media (max-height: 520px) {
  .vb-medal { width: clamp(34px, 14cqh, 54px); }
  .vb-lobby-bar .btn, .vb-lobby-bar .btn.primary.vb-btn-primary { min-height: 38px; font-size: 0.82rem; padding-inline: 0.9em; }
  .vb-lobby-bar .btn.primary.vb-btn-primary { min-width: 0; }
  .vb-roster li.vb-lseat .mini-btn { font-size: 0.6rem; min-height: 22px; }
}

/* ===== 用户验收：故事——黑边按画面比例（1440 下原来太窄）、台词更大并压一层底部暗化 ===== */
.op.film::before, .op.film::after { height: max(11vh, 9vw * 0.5625 * 1.4); }
.op.film .op-film::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(transparent, #050307d9 70%, #050307f2); pointer-events: none; }
.op.film .op-line.film-line { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.op.film .op-lines { bottom: calc(max(11vh, 9vw * 0.5625 * 1.4) + 4vh); }

/* ===== 用户验收：选卡——七张卡背放大、平放（带桌面透视）立在桌面上，金边 + 背光与背景分开，并有落影 ===== */
.op { --card-h: min(34vh, 320px, 17vw); }
.op-fan { perspective: 1400px; }
.op[data-phase='FATE_SELECTION'] .op-fan { align-self: end; margin-bottom: 10vh; }
.op-fan .fate { transform-style: preserve-3d; }
.op[data-phase='FATE_SELECTION'] .op-fan .fate { transform: translate(var(--tx), calc(var(--ty) + var(--lift))) rotateX(28deg) rotate(var(--rot)) scale(var(--sc)); transform-origin: 50% 100%; }
.op[data-phase='FATE_SELECTION'] .op-fan .fate:not(:disabled):hover, .op[data-phase='FATE_SELECTION'] .op-fan .fate:not(:disabled):focus-visible { transform: translate(var(--tx), calc(var(--ty) + var(--lift))) rotateX(8deg) scale(1.04); }
.op-fan .fate .opc-face.opc-back { box-shadow: 0 0 0 2px #c9a35e, 0 0 0 3px #1a0c08, 0 0 22px 2px #e0a24f55, 0 18px 24px -6px #000; }
.op-fan .fate::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -10%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, #000d, transparent); z-index: -1; transform: translateZ(-1px); pointer-events: none; }
.op[data-phase='FATE_SELECTION'] .op-say { font-size: clamp(1.2rem, 2.2vw, 2rem); }
body.calm .op-fan .fate, .op.rm .op-fan .fate { transform: none !important; }

/* ===== 用户验收：揭示——丝绒底板文字加大；法阵不发灰（去掉 drop-shadow 叠加、提高不透明度）；确认按钮更显眼 ===== */
html.has-hd-plaque_velvet .op.revealing .op-caption { width: min(34vw, calc(84vh / var(--plaque_velvet-aspect))); }
html.has-hd-plaque_velvet .op.revealing .op-youare { font-size: clamp(1.3rem, 2vw, 2rem); }
html.has-hd-plaque_velvet .op.revealing .op-role { font-size: clamp(2rem, 3.4vw, 3.4rem); }
html.has-hd-plaque_velvet .op.revealing .op-say small { font-size: clamp(0.95rem, 1.25vw, 1.2rem); line-height: 1.5; }
html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { min-width: 10rem; min-height: 50px; font-size: clamp(1.05rem, 1.4vw, 1.35rem); margin-top: 0.8rem; box-shadow: 0 0 0 1px #5a3a14, 0 0 0 3px #e7c88a88, 0 0 24px #ffb84d88, 0 6px 16px #000b; }
.op.revealing .op-fan .fate.chosen::before { opacity: 0.85; filter: none; mix-blend-mode: screen; }

/* ===== 用户验收：入夜——座位开场就在（暗化）、聚光更亮、面具放大；标题更大更高 ===== */
.op-medal { width: clamp(72px, 13vh, 140px); filter: brightness(0.7) saturate(0.75); }
.op-seat.spot .op-medal { filter: brightness(1.15); box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #e4eef7, 0 0 40px 10px #91abc0cc, 0 8px 16px #000c; }
.op-seat.spot::before { background: linear-gradient(#c9d6e600, #dbe7f233 55%, #dbe7f255); width: 22vh; }
.op-seat.open .op-medal { filter: brightness(1.05); }
.op-seat.masked .op-medal { background: #2a2433; box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #a89cb4, 0 8px 16px #000c; }
.op-seat.masked .op-medal::after { inset: 10% 2%; filter: brightness(1.25) drop-shadow(0 2px 4px #000); }
.op-seat.masked.spot .op-medal { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #e4eef7, 0 0 40px 10px #a89cb4cc; }
.op-nm { font-size: clamp(0.95rem, 1.9vh, 1.25rem); }
.op-state { font-size: clamp(0.85rem, 1.6vh, 1.05rem); }
.op[data-phase='NIGHT_RECOGNITION'] .op-caption { top: 30%; }
.op[data-phase='NIGHT_RECOGNITION'] .op-caption::before { font-size: clamp(2rem, 4.6vw, 3.6rem); text-shadow: 0 0 24px #91abc0aa, 0 2px 4px #000; }
.op[data-phase='NIGHT_RECOGNITION'] .op-say { font-size: clamp(1.15rem, 2.2vw, 1.8rem); }
.op[data-phase='NIGHT_TRANSITION'] .op-lines { position: absolute; left: 0; right: 0; top: 24%; max-width: none; z-index: 4; justify-items: center; }
.op[data-phase='NIGHT_TRANSITION'] .op-line { font-size: clamp(1.4rem, 2.8vw, 2.4rem); }

/* ===== 用户验收：名单卷轴——出现时背景整体压暗虚化；面具圆章放大 ===== */
.op:has(.op-scroll) .op-ring, .op:has(.op-scroll) .op-table, .op:has(.op-scroll) .op-caption { filter: blur(3px) brightness(0.4); transition: filter 0.5s ease; }
.op:has(.op-scroll) .op-bg::after { content: ''; position: absolute; inset: 0; background: #05030ab3; z-index: 3; }
html.has-hd-night_scroll .op-scroll-guest i, html.has-hd-night_scroll .op-scroll-mask i { width: clamp(72px, 11vh, 110px); }
.op-scroll-mask i { background-size: 82%; opacity: 0.9; }

/* ===== 用户验收：天亮——大字更大，花饰（占位）更明显 ===== */
.op-line.title { font-size: clamp(3rem, 7vw, 6.4rem); padding: 1.8rem 0; }
.op-line.title::before, .op-line.title::after { height: 22px; width: min(80vw, 980px);
  background: radial-gradient(circle, #f0c978 0 4px, transparent 5px) center / 22px 22px no-repeat,
    radial-gradient(circle, #f0c97899 0 2px, transparent 3px) calc(50% - 40px) 50% / 10px 10px no-repeat,
    radial-gradient(circle, #f0c97899 0 2px, transparent 3px) calc(50% + 40px) 50% / 10px 10px no-repeat,
    linear-gradient(90deg, transparent, #e7c88a 25%, #e7c88a 75%, transparent) center / 100% 2px no-repeat; }
@media (max-height: 520px) {
  .op-medal { width: clamp(40px, 13vh, 56px); }
  .op-nm { font-size: 0.72rem; }
  .op-state { font-size: 0.66rem; }
  .op-line.title { font-size: 2.4rem; padding: 0.8rem 0; }
}

/* 入夜：标题与台词放在座位环下面的桌面中央（不压座位） */
.op[data-phase='NIGHT_RECOGNITION'] .op-caption { top: auto; bottom: 14vh; }
.op-ring { top: 30vh; bottom: 30vh; }
@media (max-height: 520px) { .op-ring { top: 26vh; bottom: 32vh; } .op[data-phase='NIGHT_RECOGNITION'] .op-caption { bottom: 10vh; } }

/* 座位环纵向拉开：远端在上、近端在下，中间留出标题带 */
.op-ring { top: 22vh; bottom: 16vh; }
.op-seat { top: calc(50% + var(--y) * 50%); }
.op[data-phase='NIGHT_RECOGNITION'] .op-caption { top: 40%; bottom: auto; }
@media (max-height: 520px) { .op-ring { top: 20vh; bottom: 20vh; } .op[data-phase='NIGHT_RECOGNITION'] .op-caption { top: 36%; } .op[data-phase='NIGHT_RECOGNITION'] .op-caption::before { font-size: 1.6rem; } }

/* 绝对定位的 grid 子项若带 grid-row，其包含块是那一行的格子而不是舞台：所有绝对定位的开场字幕清掉网格位置（实测 top 偏到 744px） */
.op:is([data-phase='NIGHT_RECOGNITION'], [data-phase='DEAL_REMAINING'], .revealing) .op-caption, .op.film .op-lines, .op.dawn .op-lines, .op[data-phase='NIGHT_TRANSITION'] .op-lines { grid-area: auto; }

/* 天亮标题两行（格 14）：主行大字，副行约 0.55 倍并带两侧金线 */
.op-line.title { display: grid; justify-items: center; gap: 0.2em; line-height: 1.1; }
.op-line.title .tl-sub { font-size: 0.55em; letter-spacing: 0.4em; display: flex; align-items: center; gap: 0.6em; }
.op-line.title .tl-sub::before, .op-line.title .tl-sub::after { content: ''; width: 3.2em; height: 1px; background: linear-gradient(90deg, transparent, #d6b36a); }
.op-line.title .tl-sub::after { transform: scaleX(-1); }
/* 名单卷轴：最多 4 个圆章一行，不换行（实测 3 个时换成 2+1） */
html.has-hd-night_scroll .op-scroll-list { flex-wrap: nowrap; }
html.has-hd-night_scroll .op-scroll-list > * { flex: 0 1 auto; min-width: 0; }
html.has-hd-night_scroll .op-scroll-list:has(> :nth-child(5)) { flex-wrap: wrap; }
/* 卷轴素材竖版、纸面窄：圆章按纸宽的 17% 封顶，3–4 个一行不顶到纸边 */
html.has-hd-night_scroll .op-scroll-paper { container-type: inline-size; }
html.has-hd-night_scroll .op-scroll-list { gap: 0.6rem; }
html.has-hd-night_scroll .op-scroll-guest i, html.has-hd-night_scroll .op-scroll-mask i { width: min(84px, 22cqw); }
/* 天亮标题上移，避开桌沿中央的红宝石（实测下花饰压在桌沿 y≈0.6） */
.op.dawn .op-lines { top: 20%; }
@media (max-height: 520px) { .op.dawn .op-lines { top: 14%; } }
/* 手机横屏：13vh 的蜡封（≈51px，下移一半）压住了房间码输入框；缩小并移到卡片右下角外沿 */
@media (max-height: 520px) {
  html.has-hd-wax_seal .vb-seal { width: 52px; height: 52px; bottom: -18px; left: auto; right: -14px; transform: rotate(-8deg); }
  .op-scroll .vb-seal-btn.btn.primary { white-space: nowrap; padding-right: 1.4em; letter-spacing: 0.1em; }
  .op.dawn .op-lines { top: 8%; }
}

/* ===== 首页邀请函：做旧纸张（用户反馈「像网页表单贴在画上」）=====
   结构：.vb-invitation 本身透明并倾斜 -2°；::before 是纸（毛边滤镜 + 纸纹 + 烧焦四角 + 右上来光的暗角 + 向左下的投影），
   ::after 是铜版花饰框（SVG border-image）；内容在上层保持清晰。invitation_card 实图到货后 ::before 换图、::after 隐藏 */
.vb-home .logo { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.vb-invitation {
  background: none; box-shadow: none; border-radius: 0; isolation: isolate;
  transform: rotate(-2deg); transform-origin: 40% 60%;
}
.vb-invitation::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    /* 烧焦/磨损四角 */
    radial-gradient(circle at 0 0, #120802 0, #2a1508 5%, #5a3414cc 9%, #8a5a2a55 13%, #0000 18%),
    radial-gradient(circle at 100% 0, #2a1508 0, #5a3414aa 6%, #0000 12%),
    radial-gradient(circle at 0 100%, #0e0602 0, #2a1508 6%, #5a3414cc 11%, #8a5a2a55 16%, #0000 21%),
    radial-gradient(circle at 100% 100%, #1a0c05 0, #5a3414bb 7%, #0000 15%),
    /* 暗角：光从右上（血月）来，左下更暗 */
    radial-gradient(ellipse 85% 75% at 70% 25%, #0000 40%, #5a341455 75%, #2a150899 100%),
    /* 右上暖光 */
    radial-gradient(ellipse 50% 40% at 82% 12%, #fff3d466, #0000 70%),
    /* 纸纹：两道细纤维 + 斑点 */
    repeating-linear-gradient(17deg, #0000 0 3px, #6b45200e 3px 4px),
    repeating-linear-gradient(-71deg, #0000 0 7px, #6b452008 7px 8px),
    radial-gradient(circle at 30% 70%, #8a5a2a22 0 1px, #0000 2px) 0 0 / 23px 19px,
    radial-gradient(circle at 60% 40%, #8a5a2a1a 0 1px, #0000 2px) 0 0 / 31px 27px,
    linear-gradient(168deg, #f1e2c0, #e2c995 55%, #cfae73);
  /* 毛边 + 卷边（内阴影在滤镜前画，边缘一起被扰动）+ 落在背景上的投影 */
  box-shadow: inset 0 0 0 1px #8a642855, inset 0 0 18px 4px #6b452066, inset -6px -8px 14px -6px #3a1f0e88;
  filter: url(#paper-edge) drop-shadow(-12px 20px 26px #000d) drop-shadow(0 0 1px #2a1508);
}
.vb-invitation::after {
  content: ''; position: absolute; inset: clamp(8px, 1.4vw, 14px); z-index: -1; pointer-events: none;
  border: 44px solid transparent; border-image: url('/assets/ui/invite-frame.svg') 50 / 44px stretch;
  opacity: 0.85; mix-blend-mode: multiply; filter: sepia(0.35) saturate(1.1) url(#paper-edge);
}
html.has-hd-invitation_card .vb-invitation::before { background: var(--hd-invitation_card) center / 100% 100% no-repeat; box-shadow: none; filter: drop-shadow(-12px 20px 26px #000d); }
html.has-hd-invitation_card .vb-invitation::after { display: none; }
.vb-invitation .entry { position: relative; padding: 0.6rem 0.9rem 0; }
/* 书写栏：墨水字 + 暗金下划线，没有白框 */
.vb-invitation input {
  background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0.35em 0.2em 0.15em; min-height: 44px;
  border-bottom: 1.5px solid #8a6428; background: linear-gradient(#0000 calc(100% - 4px), #8a642833 calc(100% - 4px)) ;
  color: #2a1208; font: italic 600 1.2rem var(--serif); letter-spacing: 0.06em;
}
.vb-invitation input::placeholder { color: #7a5a3acc; font-weight: 400; }
.vb-invitation input:focus { outline: none; border-bottom-color: #7d1520; background: linear-gradient(#0000 calc(100% - 4px), #7d152022 calc(100% - 4px)); }
.vb-invitation input:focus-visible { box-shadow: 0 2px 0 #7d1520; }
.vb-invitation .vb-field span { font: 700 1.15rem var(--serif); color: #3a1f0e; letter-spacing: 0.08em; }
/* 「发出邀请」：红缎带（两端燕尾） */
.vb-invitation .btn.primary.vb-btn-primary { clip-path: polygon(0 0, 100% 0, 97% 50%, 100% 100%, 0 100%, 3% 50%); border-radius: 0; border: 0;
  background: linear-gradient(#c23a46, #85161f 55%, #a82634); box-shadow: inset 0 2px 0 #ffd3a855, inset 0 -3px 0 #4a0a10aa; text-shadow: 0 1px 1px #3a0608; }
/* 「入席」：深色缎带 */
.vb-invitation .split .btn.vb-btn-secondary, html.has-hd-btn_secondary .vb-invitation .split .vb-btn-secondary {
  border: 0; border-image: none; border-radius: 0; padding: 0 1.4em; min-width: 6.5em;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%, 8% 50%);
  background: linear-gradient(#3a2a24, #1a1210 60%, #2a1d18); color: #f1dcae; box-shadow: inset 0 1px 0 #d9b37155, inset 0 -2px 0 #000a;
}
.vb-invitation .split { align-items: end; gap: 1rem; }
.vb-invitation .or { color: #4a2c14; }
.vb-invitation .entry-note { color: #4a2c14cc; font-style: italic; }
/* 蜡封：压在纸右下角，略叠出纸边 */
.vb-invitation .vb-seal, html.has-hd-wax_seal .vb-invitation .vb-seal {
  left: auto; right: calc(var(--seal) * -0.28); bottom: calc(var(--seal) * -0.3); width: var(--seal); height: var(--seal); transform: rotate(-14deg);
  filter: drop-shadow(-3px 5px 4px #000a); z-index: 2;
}
.vb-invitation { --seal: clamp(84px, 11vh, 118px); }
@media (max-height: 520px) {
  .vb-invitation { --seal: 56px; transform: rotate(-1.5deg); }
  .vb-invitation::after { inset: 6px; border-width: 26px; border-image-width: 26px; }
  .vb-invitation .entry { padding: 0.2rem 0.5rem 0; }
  .vb-invitation input { min-height: 34px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .vb-invitation { transform: rotate(-2deg); } }

/* ===== 开场节奏放慢 + Claude 评审 0.3（故事铺满、去信箱黑边、暖白大字） ===== */
.op.film::before, .op.film::after { height: 2.4vh; }
.op.film .op-film::after { height: 46%; background: linear-gradient(#0000, #000000b3 72%, #000000b3); }
.op.film .op-lines { bottom: 9vh; }
.op.film .op-line.film-line { color: #efe3cf; font-size: clamp(1.9rem, 4vw, 3.5rem); letter-spacing: 0.1em; text-shadow: 0 2px 6px #000, 0 0 30px #000c;
  animation: op-line var(--intro-text, 1.8s) cubic-bezier(.3,.6,.3,1) both; }
.op.film .op-line.strong.film-line { color: #ffd98f; }
.op.film .op-bar { height: 7vh; }
.op.film .op-bar .op-skip { top: calc(2.4vh + 0.8rem); }
.op-scene { transition-duration: var(--intro-fade, 1.2s); }
.op-scene.on { animation-duration: 16s; }
.op.film { cursor: pointer; }
.op.film.title-card .op-lines { bottom: auto; top: 42%; }
.op.film .op-line.title-card-line { font: 800 clamp(3rem, 7vw, 6rem) var(--serif); letter-spacing: 0.2em; color: transparent; background: var(--title-gold); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 3px 0 #2a1408) drop-shadow(0 0 22px #c94a5a88); animation: op-line 0.9s ease both; }
@media (max-height: 520px) {
  .op.film::before, .op.film::after { height: 2vh; }
  .op.film .op-lines { bottom: 8vh; }
  .op.film .op-line.film-line { font-size: 1.5rem; }
  .op.film .op-bar .op-skip { top: calc(2vh + 0.4rem); }
}
/* 等待其他宾客读完序幕：读完的人头像逐个点亮 */
.op-intro-wait { position: absolute; left: 50%; bottom: 12vh; transform: translateX(-50%); z-index: 6; display: grid; justify-items: center; gap: 0.8rem; padding: 1rem 1.6rem; border-radius: 6px; background: #0b080acc; box-shadow: 0 0 0 1px #be9a6355, 0 10px 30px #000c; }
.op-intro-wait p { margin: 0; font: 600 1.15rem var(--serif); letter-spacing: 0.2em; color: #efe3cf; }
.op-iw-row { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.op-iw { display: grid; justify-items: center; gap: 0.3rem; width: 4.6rem; }
.op-iw i { width: 52px; aspect-ratio: 1; border-radius: 50%; background: var(--avatar-img) center 20% / cover no-repeat; box-shadow: 0 0 0 2px #6b5a4a; filter: grayscale(1) brightness(0.45); transition: filter 0.6s ease, box-shadow 0.6s ease; }
.op-iw.on i { filter: none; box-shadow: 0 0 0 2px #e0b86a, 0 0 18px #ffb84d88; }
.op-iw b { font: 500 0.78rem var(--serif); color: #b8aaa0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-iw.on b { color: #efe3cf; }

/* 选卡：牌堆 + 逐张发牌；7 张沿桌沿弧线排成浅扇形（±12°），中间那张略高 */
.op[data-phase='FATE_SELECTION'] .op-fan .fate { --rot: calc(var(--i) * 4deg); --ty: calc(var(--i) * var(--i) * var(--card-h) * 0.012); }
.op-fan:not(.ready) .fate { pointer-events: none; }
.op-fan.dealing .fate { transition: none; }
.op-deck { position: absolute; left: 50%; top: 30%; width: calc(var(--card-h) * 0.44); aspect-ratio: 2 / 3; transform: translateX(-50%) rotateX(30deg); z-index: 1; transition: opacity 0.5s ease; }
.op-deck i { position: absolute; inset: 0; border-radius: 6px; background: var(--asset-card-back) center / cover; box-shadow: 0 0 0 1px #c9a35e, 0 6px 10px #000c; }
.op-deck i:nth-child(1) { transform: translate(-3px, 4px) rotate(-4deg); }
.op-deck i:nth-child(2) { transform: translate(2px, 2px) rotate(3deg); }
.op-deck.gone { opacity: 0; }
.op .op-caption .op-say { animation: op-line 0.8s ease both; }

/* 烛火：8 盏，入夜由近到远逐盏熄灭（冒一缕烟），天亮由远到近逐盏点亮 */
.op-candles { inset: 0; height: auto; background: none; animation: none; }
.op.night .op-candles { opacity: 1; }
.op-candles .cn { position: absolute; left: var(--x); top: var(--y); width: calc(3.4vw * var(--s)); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff1c8 0 6%, #ffc56acc 12%, #ff9b3a55 30%, #ff8a2a1f 52%, transparent 70%);
  animation: op-flicker 2.2s ease-in-out infinite alternate; transition: opacity 0.5s ease, filter 0.5s ease; }
.op-candles .cn:nth-child(odd) { animation-duration: 2.9s; }
.op-candles .cn::after { content: ''; position: absolute; left: 44%; bottom: 52%; width: 12%; height: 0; border-radius: 50%; background: linear-gradient(#c8c0d000, #c8c0d055); opacity: 0; }
.op-candles .cn.out { opacity: 0.06; filter: grayscale(1); animation: none; }
.op-candles .cn.out::after { animation: op-smoke 1.4s ease-out both; }
@keyframes op-smoke { 0% { height: 0; opacity: 0.7; } 100% { height: 220%; opacity: 0; transform: translate(-30%, -40%) skewX(-12deg); } }
.op.dawn .op-candles .cn:not(.out) { transition-duration: 0.7s; }
.op.dawn .op-candles { filter: none; }
.op-veil, .op-night-bg, html.has-hd-night_hall .op-night-bg { transition-duration: var(--night-fade, 2.4s); }
.op.dawn .op-veil, html.has-hd-night_hall .op.dawn .op-night-bg { transition-duration: var(--dawn-fade, 3s); }
/* 睁眼标记一路留到天亮 */
.op.dawn .op-ring.kept { opacity: 0.85; }
.op-line.title.fade-out { opacity: 0; transition: opacity 0.8s ease; }
body.calm .op-candles .cn, .op.rm .op-candles .cn { animation: none; }
body.calm .op-candles .cn.out::after, .op.rm .op-candles .cn.out::after { animation: none; }
.op:is([data-phase='NIGHT_TRANSITION'], [data-phase='NIGHT_RECOGNITION'], [data-phase='DAWN'], [data-phase='READY_SYNC']) .op-fan { visibility: hidden; }
.op-candles .cn { width: calc(5.2vw * var(--s)); }

/* ===== 揭示文字板：文字严格限制在丝绒内框里（以内侧细金线为界，脚本 velvet_box 实测），四周留安全边距 =====
   角色名按容器宽度自动缩小（最长 5 字 + 字距也放得进一行）；台词限宽换行，必要时缩小 */
html.has-hd-plaque_velvet .op.revealing .op-say {
  left: calc((var(--plaque_velvet-left) + 0.05) * 100%); right: calc((1 - var(--plaque_velvet-right) + 0.05) * 100%);
  top: calc((var(--plaque_velvet-top) + 0.035) * 100%); bottom: calc((1 - var(--plaque_velvet-bottom) + 0.025) * 100%);
  padding: 0; container-type: size; overflow: hidden; align-content: center; gap: 0.6em; }
html.has-hd-plaque_velvet .op.revealing .op-youare { font-size: clamp(0.9rem, min(9cqw, 6cqh), 2rem); white-space: nowrap; }
html.has-hd-plaque_velvet .op.revealing .op-role { font-size: clamp(1.1rem, min(17cqw, 11cqh), 3.4rem); letter-spacing: 0.04em; white-space: nowrap; max-width: 100%; }
html.has-hd-plaque_velvet .op.revealing .op-say small { font-size: clamp(0.72rem, min(6.4cqw, 4.4cqh), 1.15rem); line-height: 1.55; max-width: 100%; overflow-wrap: anywhere; text-wrap: pretty; }
html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { font-size: clamp(0.85rem, min(6cqw, 4.4cqh), 1.1rem); min-height: min(44px, 11cqh); padding-inline: 1.6em; max-width: 100%; }
html.has-hd-plaque_velvet .op.revealing .op-youare { font-size: clamp(0.6rem, min(9cqw, 6cqh), 2rem); }
html.has-hd-plaque_velvet .op.revealing .op-role { font-size: clamp(0.8rem, min(17cqw, 11cqh), 3.4rem); }
html.has-hd-plaque_velvet .op.revealing .op-say small { font-size: clamp(0.6rem, min(6.4cqw, 4.4cqh), 1.15rem); }
html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { font-size: clamp(0.6rem, min(6cqw, 4.4cqh), 1.1rem); min-width: 0; padding-inline: 1em; }
@media (max-height: 520px) {
  html.has-hd-plaque_velvet .op.revealing .op-say { left: calc((var(--plaque_velvet-left) + 0.025) * 100%); right: calc((1 - var(--plaque_velvet-right) + 0.025) * 100%); gap: 0.35em; }
  html.has-hd-plaque_velvet .op.revealing .op-youare { letter-spacing: 0.04em; font-size: clamp(0.6rem, 10.5cqw, 1rem); }
  html.has-hd-plaque_velvet .op.revealing .op-role { font-size: clamp(0.8rem, 18.5cqw, 1.6rem); letter-spacing: 0; }
  html.has-hd-plaque_velvet .op.revealing .op-say small { font-size: clamp(0.6rem, 8.4cqw, 0.8rem); line-height: 1.45; letter-spacing: 0; }
  html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { min-height: 30px; letter-spacing: 0.1em; }
}
/* 确认按钮：内框宽的 70%（够醒目，又不碰金线），高度 ≥ 44px（手机 ≥ 32px） */
html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { width: 70cqw; min-width: 0; max-width: 100%; min-height: max(44px, 11cqh); font-size: clamp(0.8rem, min(8cqw, 5.4cqh), 1.35rem); padding-inline: 0.6em; }
@media (max-height: 520px) { html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { min-height: 32px; width: 80cqw; } }

/* ===== 入夜状态标记：头像正上方居中的大眼睛（头像直径的 50%），不再用右上角小角标 =====
   睁眼：杏仁形眼 + 瞳孔，秘密蓝发光，「眼皮张开」scaleY 0→1（300ms）；闭眼：弧线 + 睫毛，灰，头像压暗，「眼皮合上」；
   无权限：同位置、同大小、同节奏，统一显示面具。eye_open / eye_closed / mask_token 素材到货自动替换 */
.op-medal .op-eye { position: absolute; left: 50%; right: auto; top: auto; bottom: 86%; width: 56%; height: auto; aspect-ratio: 1.7 / 1; margin: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; transform: translateX(-50%) scaleY(0); transform-origin: 50% 50%; opacity: 0; z-index: 3; transition: none; }
.op-medal .op-eye::after { display: none; }
.op-seat:is(.open, .closed, .masked) .op-medal .op-eye { display: block; opacity: 1; transform: translateX(-50%) scaleY(1); animation: op-lid 0.3s cubic-bezier(.3,.7,.3,1) both; }
.op-seat.open .op-medal .op-eye { background: var(--hd-eye_open, url('/assets/ui/eye-open.svg')) center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 0 6px #91abc0) drop-shadow(0 0 14px #91abc0aa); }
.op-seat.closed .op-medal .op-eye { background: var(--hd-eye_closed, url('/assets/ui/eye-closed.svg')) center / contain no-repeat; filter: drop-shadow(0 1px 2px #000); animation-name: op-lid-close; }
html.has-hd-eye_closed .op-seat.closed .op-medal .op-eye { background: var(--hd-eye_closed) center / contain no-repeat; }
.op-seat.masked .op-medal .op-eye { background: var(--hd-mask_token, var(--mask-svg)) center / contain no-repeat; filter: drop-shadow(0 0 6px #a89cb4aa) drop-shadow(0 1px 2px #000); }
/* 无权限视角保留公开头像（与有权限视角同一张），面具只出现在眼睛的位置 */
.op-seat.masked .op-medal { background: var(--avatar-img) center 20% / cover no-repeat; filter: brightness(0.75) saturate(0.7); }
.op-seat.masked .op-medal::after { display: none; }
.op-seat.closed .op-medal { filter: brightness(0.5) saturate(0.6); }
@keyframes op-lid { from { transform: translateX(-50%) scaleY(0); } }
@keyframes op-lid-close { from { transform: translateX(-50%) scaleY(1.6); opacity: 0.4; } }
.op-state { font-size: clamp(0.95rem, 2vh, 1.2rem); font-weight: 700; letter-spacing: 0.2em; }
.op-seat.open .op-state { color: #b9d3e8; text-shadow: 0 0 8px #91abc0aa; }
.op-seat.closed .op-state { color: #a49aac; }
@media (max-height: 520px) { .op-state { font-size: 0.72rem; } }
body.calm .op-seat .op-medal .op-eye, .op.rm .op-seat .op-medal .op-eye { animation: none; }

/* /styles/lobby-guestbook.css */
/* 大厅：宾客簿（Claude 分支）。不出现桌子。
   素材到货前，册子用 CSS 皮面 + night_scroll 的纸面 + panel_frame 金框占位；
   到货后 html.has-hd-guest_book 换成整张 guest_book 图（两页留空，横线由这里画）。 */
.invite.gb-lobby {
  --ink: #2a160e; --ink-dim: #5b3d2a; --ink-red: #7d1a22; --rule: #6b4a2e55;
  --gb-font: 'Kaiti SC', 'STKaiti', 'KaiTi', 'Songti SC', serif;
  position: relative; max-width: none; margin: 0; padding: clamp(0.6rem, 2.2vh, 1.6rem) 1rem 0.6rem; border: 0; outline: 0; box-shadow: none;
  width: 100%; text-align: center; container-type: inline-size;
  display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; align-items: center; gap: clamp(0.4rem, 1.6vh, 1rem);
  min-height: calc(100dvh - var(--top-h) - 1.6rem);
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, #f3b45b1c, transparent 70%),
    radial-gradient(ellipse 85% 75% at 50% 40%, transparent 25%, #0c070ad9 80%, #0c070a 100%),
    var(--asset-bg_castle_hall) 50% 30% / cover no-repeat, #0c070a;
}

/* ---- 册子：皮面封皮 + 两页 ---- */
.gb-book {
  --bw: min(1440px, 94cqw, calc((100dvh - var(--top-h) - 10.5rem) * 1.62));
  width: var(--bw); aspect-ratio: 1.62; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; padding: calc(var(--bw) * 0.018) calc(var(--bw) * 0.02);
  border-radius: calc(var(--bw) * 0.012);
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, #6b1e25, #3a0d12 70%, #22070b),
    #2a0a0e;
  box-shadow:
    inset 0 0 0 2px #120406, inset 0 0 0 calc(var(--bw) * 0.007) #3a0d12, inset 0 0 0 calc(var(--bw) * 0.008) #c9a35e66,
    0 2px 0 #000, 0 calc(var(--bw) * 0.03) calc(var(--bw) * 0.05) #000e, 0 0 calc(var(--bw) * 0.12) #f3b45b22;
  transform: perspective(1800px) rotateX(6deg); transform-origin: 50% 100%;
}
.gb-page {
  position: relative; min-width: 0; display: grid; grid-template-rows: auto minmax(0, 1fr);
  padding: calc(var(--bw) * 0.056) calc(var(--bw) * 0.05) calc(var(--bw) * 0.05);
  color: var(--ink); text-align: left;
  background:
    var(--gb-gutter),
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, #8a643a33 100%),
    var(--hd-night_scroll, linear-gradient(#efe4cb, #e2d2b0)) 50% 50% / 260% 150% no-repeat,
    #e9dcc0;
}
.gb-page.left {
  --gb-gutter: linear-gradient(to left, #3b230f66, #3b230f22 3%, transparent 9%);
  border-radius: 6px 2px 2px 6px;
  box-shadow: -1px 0 0 #d8c8a6, -3px 1px 0 #bba984, -4px 2px 0 #9b8a66, -6px 3px 4px #0008;
}
.gb-page.right {
  --gb-gutter: linear-gradient(to right, #3b230f66, #3b230f22 3%, transparent 9%);
  border-radius: 2px 6px 6px 2px;
  box-shadow: 1px 0 0 #d8c8a6, 3px 1px 0 #bba984, 4px 2px 0 #9b8a66, 6px 3px 4px #0008;
}
/* 每页一圈细金框（panel_frame 到货即用，否则用细线） */
.gb-page::after {
  content: ''; position: absolute; inset: calc(var(--bw) * 0.012); pointer-events: none; opacity: 0.55;
  border: 1px solid #8a6a3a66;
}
html.has-hd-panel_frame .gb-page::after { border: 0; background: var(--hd-panel_frame) center / 100% 100% no-repeat; filter: sepia(1) saturate(1.3) hue-rotate(-12deg) brightness(0.6); opacity: 0.5; }
/* 书脊：中缝的暗线 */
.gb-book::after {
  content: ''; position: absolute; top: calc(var(--bw) * 0.012); bottom: calc(var(--bw) * 0.012); left: 50%; width: 2px; translate: -1px 0;
  background: linear-gradient(#1a0a06aa, #3b230f, #1a0a06aa); pointer-events: none;
}
html.has-hd-guest_book .gb-book { background: var(--hd-guest_book) center / 100% 100% no-repeat; box-shadow: none; }
html.has-hd-guest_book .gb-page { background: none; box-shadow: none; }
html.has-hd-guest_book .gb-page::after, html.has-hd-guest_book .gb-book::after { display: none; }

/* ---- 页眉 ---- */
.gb-head { text-align: center; padding-bottom: calc(var(--bw) * 0.008); border-bottom: 1px double #6b4a2e88; }
.gb-head h2 { margin: 0; font: 700 calc(var(--bw) * 0.026) var(--serif); letter-spacing: 0.4em; color: var(--ink-red); text-indent: 0.4em; }
.gb-head p { margin: 0.15em 0 0; font: calc(var(--bw) * 0.0125) var(--serif); color: var(--ink-dim); letter-spacing: 0.15em; }
.gb-code { display: flex; align-items: baseline; justify-content: center; gap: 0.6em; margin: 0; font: 600 calc(var(--bw) * 0.015) var(--serif); color: var(--ink-dim); }
.gb-head .gb-link { font: inherit; color: var(--ink-red); background: none; border: 0; padding: 0 0.2em; min-height: 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 0.25em; }
.gb-head .gb-link:hover, .gb-head .gb-link:focus-visible { text-decoration-style: solid; }
.gb-code .room-code { font: 700 calc(var(--bw) * 0.026) var(--latin); letter-spacing: 0.22em; color: var(--ink-red); }

/* ---- 横线和每一行 ---- */
.gb-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); }
.gb-line {
  --m: calc(var(--bw) * 0.044);
  display: grid; grid-template-columns: calc(var(--bw) * 0.026) var(--m) minmax(0, 1fr) auto calc(var(--m) * 0.95) auto;
  align-items: center; column-gap: calc(var(--bw) * 0.01); min-height: 0;
  border-bottom: 1px solid var(--rule); padding: 0 calc(var(--bw) * 0.004);
}
.gb-line.blank { border-bottom-style: solid; }
.gb-no { font: calc(var(--bw) * 0.014) var(--serif); color: #7a5a3a; text-align: center; }
.gb-medal {
  width: var(--m); aspect-ratio: 1; border-radius: 50%;
  background: var(--avatar-img) center 22% / cover no-repeat, #2a1a14;
  box-shadow: 0 0 0 1.5px #3b230f, 0 0 0 3px #b48a4a, 0 2px 5px #0007;
}
.gb-medal.empty { background: none; box-shadow: none; border: 1.5px dashed #6b4a2e77; }
.gb-name { display: grid; min-width: 0; line-height: 1.15; }
.gb-name .who { font: 700 calc(var(--bw) * 0.021) var(--gb-font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.04em; }
.gb-name small { display: flex; gap: 0.7em; min-width: 0; font: calc(var(--bw) * 0.0115) var(--serif); color: var(--ink-dim); letter-spacing: 0.12em; white-space: nowrap; }
.gb-player { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #4a3020; font-family: var(--sans); letter-spacing: 0.02em; }
.gb-player::before { content: '— '; opacity: 0.6; }
.gb-line.empty .gb-name .who { font-weight: 400; color: #6b4a2e88; letter-spacing: 0.3em; }
.gb-line.me .gb-name .who { color: var(--ink-red); }
.gb-line.away { opacity: 0.6; }
.gb-tags { display: flex; gap: 0.3em; }
.gb-tag { font: normal calc(var(--bw) * 0.0105) var(--serif); padding: 0.05em 0.45em; border: 1px solid currentColor; border-radius: 2px; color: var(--ink-dim); white-space: nowrap; }
.gb-tag.me, .gb-tag.host { color: var(--ink-red); }
.gb-seal {
  width: calc(var(--m) * 0.95); aspect-ratio: 482 / 512; justify-self: center;
  background: radial-gradient(circle at 40% 35%, #b8343c, #7d1a22 60%, #4a0c12); border-radius: 46% 54% 50% 50%;
  filter: drop-shadow(0 2px 2px #0007); rotate: -8deg;
}
html.has-hd-wax_seal .gb-seal { background: var(--hd-wax_seal) center / contain no-repeat; border-radius: 0; }
.gb-seal.off { opacity: 0.35; filter: grayscale(0.7); }
.gb-wait { grid-column: 4 / -1; justify-self: end; font: calc(var(--bw) * 0.012) var(--serif); color: #6b4a2e99; }
.gb-act {
  grid-column: 4 / -1; justify-self: end; cursor: pointer; font: calc(var(--bw) * 0.0125) var(--serif); color: var(--ink-red);
  background: none; border: 1px solid #7d1a2266; border-radius: 3px; padding: 0.2em 0.7em; min-height: 32px;
}
.gb-act:hover, .gb-act:focus-visible { background: #7d1a2214; border-color: var(--ink-red); }
.gb-line .gb-act.x { grid-column: auto; min-width: 32px; padding: 0; font-size: calc(var(--bw) * 0.018); line-height: 1; border-color: transparent; opacity: 0.55; }
.gb-line:hover .gb-act.x, .gb-act.x:focus-visible { opacity: 1; border-color: #7d1a2266; }

/* ---- 入席：名字用墨水写出，头像淡入，蜡封盖章 ---- */
.gb-line.ink .gb-name .who {
  -webkit-mask: linear-gradient(90deg, #000 40%, transparent 60%) 0 0 / 250% 100% no-repeat;
  mask: linear-gradient(90deg, #000 40%, transparent 60%) 0 0 / 250% 100% no-repeat;
  animation: gb-write 0.8s cubic-bezier(.45,.05,.55,.95) var(--t, 0ms) both;
}
.gb-line.ink .gb-name small { animation: gb-fade 0.5s ease calc(var(--t, 0ms) + 0.5s) both; }
.gb-line.ink .gb-medal { animation: gb-medal 0.5s ease var(--t, 0ms) both; }
.gb-line.ink .gb-seal { animation: gb-stamp 0.42s cubic-bezier(.3,1.6,.5,1) calc(var(--t, 0ms) + 0.85s) both; }
@keyframes gb-write { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes gb-fade { from { opacity: 0; } }
@keyframes gb-medal { from { opacity: 0; scale: 0.85; } }
@keyframes gb-stamp { 0% { opacity: 0; scale: 1.9; rotate: -20deg; } 60% { opacity: 1; } 100% { scale: 1; rotate: -8deg; } }
body.calm .gb-line.ink *, html.reduce-motion .gb-line.ink * { animation: none !important; -webkit-mask: none !important; mask: none !important; }
@media (prefers-reduced-motion: reduce) { .gb-line.ink * { animation: none !important; -webkit-mask: none !important; mask: none !important; } }

/* ---- 封底缎带：房主操作 ---- */
.gb-ribbon {
  display: flex; align-items: center; justify-content: center; gap: clamp(0.5rem, 1.4vw, 1rem); flex-wrap: wrap;
  padding: 0.45rem clamp(1rem, 3vw, 2.4rem); position: relative;
  background: linear-gradient(#5a141bee, #3a0b10ee); border-top: 1px solid #c9a35e88; border-bottom: 1px solid #c9a35e88;
  box-shadow: 0 8px 18px #000a;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%);
}
.gb-ribbon .vb-btn-primary { min-width: 13rem; }
.gb-waiting { font: 1rem var(--serif); color: #e9dcc4; letter-spacing: 0.1em; }
.gb-hint { margin: 0; }

/* 宾客选择弹层：头像下写名字 */
.vb-guest { position: relative; overflow: hidden; }
.gb-gname { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4em 0.3em 0.35em; display: grid; font: 700 0.9rem var(--gb-font, serif); color: #f4e4bf; background: linear-gradient(transparent, #0b0809ee 55%); }
.gb-gname small { font: 0.7rem var(--serif); color: #c9a35e; letter-spacing: 0.1em; }

/* ---- 手机横屏 ---- */
@media (max-height: 520px) {
  .invite.gb-lobby { min-height: calc(100dvh - var(--top-h) - 0.8rem); padding: 0.35rem 0.5rem 0.3rem; gap: 0.3rem; }
  .gb-book { --bw: min(97cqw, calc((100dvh - var(--top-h) - 4.4rem) * 2.3)); aspect-ratio: 2.3; transform: none; }
  .gb-head p { display: none; }
  .gb-page.right .gb-head p { display: block; font-size: calc(var(--bw) * 0.011); margin-top: 0; }
  .gb-line { --m: calc(var(--bw) * 0.038); }
  .gb-page { padding: calc(var(--bw) * 0.036) calc(var(--bw) * 0.04) calc(var(--bw) * 0.034) !important; }
  .gb-head h2 { font-size: calc(var(--bw) * 0.022); }
  .gb-code .room-code { font-size: calc(var(--bw) * 0.022); }
  .gb-title { display: none; }
  .gb-player::before { content: none; }
  .gb-name small { font-size: calc(var(--bw) * 0.0105); }
  .gb-tag.me { display: none; }
  .gb-no { font-size: calc(var(--bw) * 0.014); }
  .gb-name .who { font-size: calc(var(--bw) * 0.019); }
  .gb-tag { font-size: calc(var(--bw) * 0.011); }
  .gb-act { font-size: calc(var(--bw) * 0.013); min-height: 28px; padding: 0.1em 0.5em; }
  .gb-line .gb-act.x { opacity: 0.8; min-width: 28px; }
  .gb-ribbon { padding: 0.2rem 1.6rem; gap: 0.5rem; }
  .gb-ribbon .btn { min-height: 36px; font-size: 0.8rem; padding-inline: 0.8em; }
  .gb-ribbon .vb-btn-primary { min-width: 0; }
  .gb-hint { display: none; }
  .gb-gname { font-size: 0.7rem; }
  .gb-gname small { display: none; }
}
@media (max-width: 760px) and (min-height: 521px) {
  .gb-book { --bw: 96cqw; aspect-ratio: auto; grid-template-columns: 1fr; transform: none; }
  .gb-book::after { display: none; }
  .gb-page.left, .gb-page.right { border-radius: 4px; }
  .gb-line { min-height: 52px; --m: 40px; grid-template-columns: 1.4rem 40px minmax(0,1fr) auto 36px auto; }
}

/* guest_book 实图（1200×733，比例 1.637）：可写页面实测——左页 x 12%–45%、右页 51%–88%，y 6%–67%（下面是书口与书签）。
   两页内容严格放进这两个矩形，留 2% 内边距，不压书边 */
html.has-hd-guest_book .gb-book {
  --bw: min(1440px, 94cqw, calc((100dvh - var(--top-h) - 10.5rem) * 1.637)); aspect-ratio: 1.637; display: block; padding: 0; border-radius: 0; transform: none;
  filter: drop-shadow(0 calc(var(--bw) * 0.02) calc(var(--bw) * 0.03) #000d); }
html.has-hd-guest_book .gb-page { position: absolute; top: 6.5%; bottom: 34%; padding: calc(var(--bw) * 0.012) calc(var(--bw) * 0.014); border-radius: 0; overflow: hidden; }
html.has-hd-guest_book .gb-page.left { left: 12.5%; right: 55.5%; }
html.has-hd-guest_book .gb-page.right { left: 51.5%; right: 12.5%; }
/* 实图页面比原 CSS 占位窄（每页约书宽 32%，原来约 46%）：行内所有按 --bw 的尺寸整体缩到 0.72，名字一行放得下 6 个字 */
html.has-hd-guest_book .gb-page { --bw0: var(--bw); }
html.has-hd-guest_book .gb-page > * { --bw: calc(var(--bw0) * 0.72); }
html.has-hd-guest_book .gb-line { column-gap: calc(var(--bw) * 0.008); }
html.has-hd-guest_book .gb-name .who { letter-spacing: 0; }
html.has-hd-guest_book .gb-tags { gap: 2px; }
@media (max-height: 520px) {
  /* 手机横屏：页面很窄（约 150px）。行内用定值；「代席 / 房主」标签改成名字前的小色点（整行 title 有文字说明），名字一行放下 7 个字 */
  /* 书的下 1/3 只是书口与书签：按「页面区（书高 67%）放满可用高度」放大，书口可以落到底栏后面，书页始终完整可见 */
  html.has-hd-guest_book .gb-book { --bw: min(98cqw, calc((100dvh - var(--top-h) - 4.4rem) * 1.637)); aspect-ratio: 1.637; }
  /* 书页在手机上左右各再放宽 2.5%（页边留白够） */
  html.has-hd-guest_book .gb-page.left { left: 10.5%; right: 53.5%; }
  html.has-hd-guest_book .gb-page.right { left: 50.5%; right: 10.5%; }
  html.has-hd-guest_book .gb-page > * { --bw: var(--bw0); }
  html.has-hd-guest_book .gb-head :is(h2, .gb-h) { font-size: 13px; }
  html.has-hd-guest_book .gb-line { --m: 16px; grid-template-columns: 0 16px minmax(0, 1fr) auto 12px auto; column-gap: 2px; padding: 0; }
  html.has-hd-guest_book .gb-no { visibility: hidden; }
  html.has-hd-guest_book .gb-name .who { font-size: 9.5px; letter-spacing: -0.04em; }
  html.has-hd-guest_book .gb-name small { display: none; }
  html.has-hd-guest_book .gb-tags { display: flex; gap: 2px; }
  html.has-hd-guest_book .gb-tag { width: 6px; height: 6px; padding: 0; border-radius: 50%; font-size: 0; border: 0; background: #7a5a3a; }
  html.has-hd-guest_book .gb-tag.host { background: #a8242f; }
  html.has-hd-guest_book .gb-tag.away { background: #6d6372; }
  html.has-hd-guest_book .gb-seal { width: 12px; height: 12px; }
  html.has-hd-guest_book .gb-act { font-size: 9px; min-height: 0; height: 18px; padding: 0 0.35em; line-height: 1; display: inline-flex; align-items: center; }
  html.has-hd-guest_book .gb-line .gb-act.x { min-width: 12px; width: 12px; font-size: 11px; padding: 0; }
}

/* =====================================================================
   宾客簿放大（11-02 用户：「这个本子上的字太小了」「尤其是右侧框里的」「要么把本子做大一点 要么把字改大一点」）
   · 本子：宽到视口约 93–95%（按高度封顶）。实图下 1/3 只是书口与书签：这部分压到底栏缎带后面（负的下边距），
     书页区（实图 y 6.5%–66%）始终完整可见，书签从缎带下露出一点。
   · 字：按书页实际宽度 --pw 缩放，带像素下限（930×560：最小字 13px、正文 ≥15px、名字 ≥18px；「请电脑代席」高 ≥40px）
   · 每行两行排：第一行名字（占满名字 + 标签两列），第二行称号 / 玩家名 + 代席 / 房主标签；空位的按钮占右侧两行高
   ===================================================================== */
html.has-hd-guest_book .invite.gb-lobby { overflow: clip; }
html.has-hd-guest_book .gb-ribbon { z-index: 2; }
html.has-hd-guest_book .gb-hint { position: relative; z-index: 2; }
/* 本子之外的竖向占用（页边、缎带、提示行）：矮窗口收起提示行（人数统计和缎带上的按钮重复），把高度让给本子 */
html.has-hd-guest_book .invite.gb-lobby { padding-inline: 0; }
@media (max-height: 760px) { html.has-hd-guest_book .invite.gb-lobby { --gb-chrome: 8rem; } html.has-hd-guest_book .gb-hint { display: none; } }
html.has-hd-guest_book .gb-book {
  /* 可见部分 = 书高的 70%（书页区到 66% + 一点书口），其余（书口、书签）压到缎带后面 */
  --bw: min(95vw, 99cqw, calc((100dvh - var(--top-h) - var(--gb-chrome, 7.4rem)) / 0.70 * 1.637));
  margin-bottom: calc(var(--bw) / 1.637 * -0.30);
}
html.has-hd-guest_book .gb-page { --pw: calc(var(--bw0) * 0.32); padding: calc(var(--pw) * 0.035) calc(var(--pw) * 0.04); }
html.has-hd-guest_book .gb-page > * { --bw: var(--bw0); }
html.has-hd-guest_book .gb-head { padding-bottom: calc(var(--pw) * 0.02); }
html.has-hd-guest_book .gb-head h2 { font-size: max(20px, calc(var(--pw) * 0.085)); letter-spacing: 0.3em; text-indent: 0.3em; }
html.has-hd-guest_book .gb-head p { font-size: max(13px, calc(var(--pw) * 0.05)); letter-spacing: 0.08em; }
html.has-hd-guest_book .gb-code { font-size: max(15px, calc(var(--pw) * 0.058)); }
html.has-hd-guest_book .gb-code .room-code { font-size: max(20px, calc(var(--pw) * 0.085)); }
html.has-hd-guest_book .gb-line {
  --m: max(32px, calc(var(--pw) * 0.13));
  grid-template-columns: max(14px, calc(var(--pw) * 0.055)) var(--m) minmax(0, 1fr) auto auto auto;
  grid-template-rows: auto auto; grid-template-areas: 'no medal who who seal act' 'no medal sub tags seal act';
  align-content: center; column-gap: max(4px, calc(var(--pw) * 0.018)); row-gap: 0.1em; padding: 0;
}
html.has-hd-guest_book .gb-no { grid-area: no; font-size: max(13px, calc(var(--pw) * 0.05)); }
html.has-hd-guest_book .gb-medal { grid-area: medal; align-self: center; }
html.has-hd-guest_book .gb-name { display: contents; }
html.has-hd-guest_book .gb-name .who { grid-area: who; font-size: max(18px, calc(var(--pw) * 0.07)); line-height: 1.15; letter-spacing: 0.02em; }
html.has-hd-guest_book .gb-line.empty .gb-name .who { grid-row: 1 / 3; align-self: center; letter-spacing: 0.12em; font-size: max(15px, calc(var(--pw) * 0.06)); }
html.has-hd-guest_book .gb-name small { grid-area: sub; font-size: max(13px, calc(var(--pw) * 0.048)); letter-spacing: 0.04em; gap: 0.5em; overflow: hidden; }
html.has-hd-guest_book .gb-name small > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.has-hd-guest_book .gb-tags { grid-area: tags; gap: 0.25em; }
html.has-hd-guest_book .gb-tag { font-size: max(13px, calc(var(--pw) * 0.046)); padding: 0 0.3em; line-height: 1.3; }
html.has-hd-guest_book .gb-seal { grid-area: seal; width: calc(var(--m) * 0.85); align-self: center; }
html.has-hd-guest_book .gb-act { grid-area: act; align-self: center; font-size: max(15px, calc(var(--pw) * 0.058)); min-height: max(40px, calc(var(--pw) * 0.15)); padding: 0 0.55em; line-height: 1.2; }
html.has-hd-guest_book .gb-line.empty .gb-act, html.has-hd-guest_book .gb-wait { grid-column: 4 / -1; grid-row: 1 / 3; align-self: center; }
html.has-hd-guest_book .gb-wait { font-size: max(15px, calc(var(--pw) * 0.055)); }
html.has-hd-guest_book .gb-line .gb-act.x { min-width: 32px; min-height: 40px; font-size: max(20px, calc(var(--pw) * 0.07)); }
html.has-hd-guest_book .gb-link { font-size: inherit; }
/* 底栏缎带的按钮和人数 */
html.has-hd-guest_book .gb-ribbon .btn, html.has-hd-guest_book .gb-ribbon .vb-size, html.has-hd-guest_book .gb-ribbon select { font-size: clamp(15px, 1.15vw, 19px); }
html.has-hd-guest_book .gb-ribbon .btn { min-height: 44px; }

@media (max-height: 520px) {
  /* 手机横屏：同样把书口压到缎带后面，书页区放大；每行一行（名字 + 小色点标签），按钮高 40px */
  html.has-hd-guest_book .gb-book { --bw: min(98cqw, calc((100dvh - var(--top-h) - 4.6rem) / 0.68 * 1.637)); margin-bottom: calc(var(--bw) / 1.637 * -0.32); }
  html.has-hd-guest_book .gb-page.right .gb-head p { display: block; font-size: 13px; margin: 0; }
  html.has-hd-guest_book .gb-page.left .gb-head p { display: none; }
  html.has-hd-guest_book .gb-page { --pw: calc(var(--bw0) * 0.37); padding: calc(var(--pw) * 0.03) calc(var(--pw) * 0.035); }
  html.has-hd-guest_book .gb-head :is(h2, .gb-code, .room-code) { font-size: 15px; }
  html.has-hd-guest_book .gb-lines { grid-template-rows: repeat(5, minmax(40px, 1fr)); }
  html.has-hd-guest_book .gb-line { --m: 22px; grid-template-columns: 0 22px minmax(0, 1fr) auto 14px auto; grid-template-rows: auto; grid-template-areas: 'no medal who tags seal act'; column-gap: 4px; min-height: 40px; }
  html.has-hd-guest_book .gb-page { overflow: visible; }
  html.has-hd-guest_book .gb-page.right .gb-head p { white-space: nowrap; }
  html.has-hd-guest_book .gb-no { visibility: hidden; font-size: 13px; }
  html.has-hd-guest_book .gb-name .who { font-size: 14px; letter-spacing: 0; }
  html.has-hd-guest_book .gb-line.empty .gb-name .who { grid-row: auto; font-size: 13px; letter-spacing: 0.05em; }
  html.has-hd-guest_book .gb-name small { display: none; }
  html.has-hd-guest_book .gb-tags { grid-area: tags; }
  html.has-hd-guest_book .gb-tag { font-size: 0; }
  html.has-hd-guest_book .gb-seal { width: 14px; height: 14px; }
  html.has-hd-guest_book .gb-act { font-size: 13px; height: auto; min-height: 40px; padding: 0 0.45em; }
  html.has-hd-guest_book .gb-line.empty .gb-act, html.has-hd-guest_book .gb-wait { grid-row: auto; font-size: 13px; }
  html.has-hd-guest_book .gb-line .gb-act.x { min-width: 24px; width: auto; min-height: 40px; font-size: 16px; }
  html.has-hd-guest_book .gb-ribbon .btn, html.has-hd-guest_book .gb-ribbon .vb-size, html.has-hd-guest_book .gb-ribbon select { font-size: 13px; }
  html.has-hd-guest_book .gb-ribbon .btn { min-height: 40px; }
}
@media (max-height: 520px) {
  /* 页面不滚动：大厅高度 = 视口 − 顶栏 − 外层上下留白（.layout 6.4px × 2） */
  html.has-hd-guest_book .invite.gb-lobby { min-height: 0; height: calc(100dvh - var(--top-h) - 12.8px); }
  /* 「代席 / 房主」：小色点，文字留给读屏（不再用 0 号字） */
  html.has-hd-guest_book .gb-tag { font-size: 13px; width: 7px; height: 7px; overflow: hidden; color: transparent; text-indent: 100%; white-space: nowrap; }
}

/* 名字放不下：只写名（app.js fitGuestNames 加 .short），不出现省略号；副标题（称号 / 玩家名）允许换行，不截断 */
.gb-name .who .gb-short { display: none; }
.gb-name .who.short .gb-full { display: none; }
.gb-name .who.short .gb-short { display: inline; }
.gb-name .who { text-overflow: clip; }
html.has-hd-guest_book .gb-name small { white-space: nowrap; flex-wrap: nowrap; overflow: hidden; line-height: 1.2; }
html.has-hd-guest_book .gb-name small > * { overflow: visible; text-overflow: clip; white-space: nowrap; flex: none; }

/* ---------- 行内对齐（11-02 用户：「名字位置有点问题」「ricken 这个多余了，玩家的话名字直接在右侧显示」）：
   每行只有两层——左边 宾客名 / 称号 两行，右边 玩家名 + 你 / 房主 / 代席 标签；
   整块在两条横线之间垂直居中，头像、标签、蜡封、按钮对齐到同一条中线 ---------- */
html.has-hd-guest_book .gb-line { grid-template-areas: 'no medal who tags seal act' 'no medal sub tags seal act'; grid-template-rows: auto auto; align-content: center; row-gap: 0.12em; }
html.has-hd-guest_book .gb-name .who { align-self: end; }
html.has-hd-guest_book .gb-name small { grid-area: sub; align-self: start; }
html.has-hd-guest_book :is(.gb-no, .gb-medal, .gb-tags, .gb-seal, .gb-act) { grid-row: 1 / 3; align-self: center; }
/* 右侧和左边对称的两层：上 玩家名，下 你 / 房主 标签（电脑座位只有「代席」） */
html.has-hd-guest_book .gb-tags { flex-direction: column; align-items: flex-end; gap: 0.15em; }
html.has-hd-guest_book .gb-tagrow { display: flex; gap: 0.25em; }
html.has-hd-guest_book .gb-tags .gb-player { font-size: max(13px, calc(var(--pw) * 0.046)); color: var(--ink-dim); white-space: nowrap; letter-spacing: 0.02em; }
html.has-hd-guest_book .gb-tags .gb-player::before { content: none; }
html.has-hd-guest_book .gb-line.no-player .gb-tags .gb-player { display: none; }
@media (max-height: 520px) {
  html.has-hd-guest_book .gb-line { grid-template-areas: 'no medal who tags seal act'; grid-template-rows: auto; }
  html.has-hd-guest_book :is(.gb-no, .gb-medal, .gb-tags, .gb-seal, .gb-act) { grid-row: auto; }
  html.has-hd-guest_book .gb-name .who { align-self: center; }
  /* 手机横屏：一行放不下玩家名，标签是小色点 */
  html.has-hd-guest_book .gb-tags .gb-player { display: none; }
  html.has-hd-guest_book .gb-tags { flex-direction: row; align-items: center; }
  html.has-hd-guest_book .gb-tagrow { gap: 2px; }
}

/* ---------- 字体（11-02 用户：「右侧文字 font 跟名字 font 不一样」）：整本宾客簿用刻楷（单字重，不套粗体）；
   只有 ≤13px 的小字（手机横屏上的称号 / 标签）保留宋体 ---------- */
.invite.gb-lobby .gb-book, .invite.gb-lobby .gb-book :is(h2, p, b, small, span, em, button, .gb-act, .gb-wait, .gb-code, .room-code, .gb-link) { font-family: var(--rb-kai); font-weight: 400; }
.invite.gb-lobby .gb-code .room-code { letter-spacing: 0.16em; }
/* 玩家名是用户输入（常见拉丁字母），刻楷的西文字形小而难认，保留宋体 */
.invite.gb-lobby .gb-book .gb-tags .gb-player { font-family: var(--rb-serif); font-weight: 600; }
.invite.gb-lobby .gb-ribbon :is(.btn, .vb-size, select, .gb-waiting) { font-family: var(--rb-kai); font-weight: 400; }
@media (max-height: 520px) {
  .invite.gb-lobby .gb-book .gb-tag { font-family: var(--rb-serif); }
}

/* /styles/controls-v3.css */
/* 对局中的按钮统一成黑金哥特风格（深色缎带 / 黑底 + 金色雕花边 + 衬线字，悬停金光）。
   btn_secondary 素材到货后自动换图（has-hd-btn_secondary）。只管按钮本身，不管桌面与座位（座位里的目标按钮除外：只换皮，不改位置）。 */
:root {
  --bg-btn-face: linear-gradient(#2c1c22, #160d12 55%, #22151a);
  --bg-btn-edge: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e, 0 0 0 3px #0b0608, inset 0 1px 0 #f1d39a33, inset 0 -2px 0 #000a, 0 6px 14px #000b;
  --bg-btn-glow: 0 0 0 1px #0b0608, 0 0 0 2px #ffe1a8, 0 0 0 3px #0b0608, inset 0 1px 0 #f1d39a55, 0 0 18px #f0b86088, 0 6px 14px #000b;
}
/* 雕花：按钮两端各一个金色菱形饰（::before/::after），中间是缎带面 */
body.in-game #main .btn:not(.primary):not(.vb-btn-primary), .tool {
  position: relative; border: 0; border-radius: 2px; color: #f1dfb8; background: var(--bg-btn-face);
  font-family: var(--serif); font-weight: 600; letter-spacing: 0.12em; box-shadow: var(--bg-btn-edge);
  transition: box-shadow 0.18s ease, filter 0.18s ease, color 0.18s ease;
}
body.in-game #main .btn:not(.primary):not(.vb-btn-primary)::before, body.in-game #main .btn:not(.primary):not(.vb-btn-primary)::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; background: #c9a35e; transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 0 1px #0b0608; pointer-events: none;
}
body.in-game #main .btn:not(.primary):not(.vb-btn-primary)::before { left: -4px; }
body.in-game #main .btn:not(.primary):not(.vb-btn-primary)::after { right: -4px; }
body.in-game #main .btn:not(.primary):not(.vb-btn-primary):not(:disabled):hover, body.in-game #main .btn:not(.primary):not(.vb-btn-primary):focus-visible, .tool:hover, .tool:focus-visible {
  color: #fff3d6; box-shadow: var(--bg-btn-glow); outline: none; }
body.in-game #main .btn:not(.primary):not(.vb-btn-primary):not(:disabled):hover::before, body.in-game #main .btn:not(.primary):not(.vb-btn-primary):not(:disabled):hover::after { background: #ffe1a8; }
body.in-game #main .btn:disabled { opacity: 0.45; filter: saturate(0.6); }
/* 选目标（传信物 / 秘印目标）：同一套缎带，秘印目标用秘密蓝细线区分 */
body.in-game #main .btn.target { color: #f1dfb8; }
body.in-game #main .btn.target[data-act='crystal'] { --bg-btn-edge: 0 0 0 1px #0b0608, 0 0 0 2px #91abc0, 0 0 0 3px #0b0608, inset 0 1px 0 #cfe2f233, 0 6px 14px #000b; }
/* 顶栏工具按钮：小号，同样的黑底金边 */
.tool { font-size: 0.85rem; letter-spacing: 0.06em; padding: 0.3em 0.9em; min-height: 32px; }
.tool[aria-pressed='true'], .tool.on { color: #ffe1a8; }
/* 「保持沉默」：手牌右侧，竖直方向对齐手牌中线，尺寸跟着手牌缩放 */
@media (min-height: 521px) {
  html.has-close-table .my-area .hand-row .pass { bottom: auto; top: 50%; transform: translateY(-50%); justify-items: center; }
  html.has-close-table .my-area .hand-row .pass .btn { min-height: max(44px, calc(var(--card-w) * 0.34)); min-width: calc(var(--card-w) * 1.05); padding: 0 1.2em;
    font-size: clamp(0.9rem, calc(var(--card-w) * 0.12), 1.3rem); letter-spacing: 0.24em; }
}
html.has-hd-btn_secondary body.in-game #main .btn:not(.primary):not(.vb-btn-primary) { box-shadow: none; background: none; border: solid transparent; border-width: 0 1.4em; border-image: var(--hd-btn_secondary) 0 15% fill / 0 1.4em stretch; padding-inline: 0.3em; }
html.has-hd-btn_secondary body.in-game #main .btn:not(.primary):not(.vb-btn-primary)::before, html.has-hd-btn_secondary body.in-game #main .btn:not(.primary):not(.vb-btn-primary)::after { display: none; }
body.calm .btn, body.calm .tool { transition: none; }
/* 开场仪式中的离开按钮：全屏开场层盖住了顶栏，在开场层左上角给一个小按钮（确认后离开，座位保留） */
.op .op-leave { position: fixed; left: 1rem; top: 0.8rem; z-index: 50; min-height: 34px; padding: 0.2em 1.1em; font: 600 0.85rem var(--serif); letter-spacing: 0.16em;
  color: #e9dcc4; background: #0b080acc; border: 0; border-radius: 2px; box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e88, 0 4px 10px #000a; opacity: 0.75; cursor: pointer; }
.op .op-leave:hover, .op .op-leave:focus-visible { opacity: 1; box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #ffe1a8, 0 0 14px #f0b86077; outline: none; }
.op.film .op-leave { top: calc(2.4vh + 0.8rem); }
@media (max-height: 520px) { .op .op-leave { left: 0.5rem; top: 0.4rem; min-height: 30px; font-size: 0.75rem; } .op.film .op-leave { top: calc(2vh + 0.4rem); } }
/* 阵营纹章：手牌托盘左端的金边小圆章（取代手牌左侧那行「赤冠议会」文字），悬停 / 聚焦显示阵营名 */
.my-area .hand-row .fac-emblem { position: absolute; z-index: 2; width: clamp(30px, calc(var(--card-w) * 0.34), 54px); aspect-ratio: 1; border-radius: 50%;
  left: calc(var(--card-w) * 0.02); bottom: calc(var(--card-w) * -0.04); z-index: 6;
  background: var(--fac-img) center / 62% no-repeat, radial-gradient(circle at 40% 35%, #3a2a24, #140c10 70%);
  box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e, 0 0 0 3px #0b0608, 0 4px 10px #000c; cursor: help; }
.my-area .hand-row .fac-emblem[data-faction='light'] { box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #e0b86a, 0 0 0 3px #0b0608, 0 0 12px #e0b86a55, 0 4px 10px #000c; }
.my-area .hand-row .fac-emblem[data-faction='thorn'] { box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c94a5a, 0 0 0 3px #0b0608, 0 0 12px #c94a5a55, 0 4px 10px #000c; }
.my-area .hand-row .fac-emblem:hover, .my-area .hand-row .fac-emblem:focus-visible { outline: none; filter: brightness(1.15); }
.my-area .hand-row .fac-emblem::after { content: attr(aria-label); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  padding: 0.2em 0.7em; border-radius: 2px; background: #0b080af0; box-shadow: 0 0 0 1px #c9a35e88; font: 600 0.8rem var(--serif); color: #f1dfb8; letter-spacing: 0.1em; opacity: 0; transition: opacity 0.15s ease; }
.my-area .hand-row .fac-emblem:is(:hover, :focus-visible)::after { opacity: 1; }
/* 原来手牌左侧的阵营文字行：近景桌布局里不再显示（读屏仍可读纹章的 aria-label） */
html.has-close-table .my-area .my-id .fac { display: none; }
@media (max-height: 520px) { .my-area .hand-row { position: relative; } .my-area .hand-row .fac-emblem { left: -6px; bottom: auto; top: -10px; width: 26px; } }
/* 手机横屏右栏：各块不压缩（列太高就整列滚动），选择按钮在手牌行之上（手牌行为阵营纹章定位而成为定位元素，原先盖住了被压扁后溢出的目标按钮） */
@media (max-height: 520px) {
  .my-area > * { flex-shrink: 0; }
  .my-area .choices-slot { position: relative; z-index: 3; }
}
/* 顶栏计分条（用户决定：桌面上永远不出现数字）：只在右栏不可见时出现——宽屏收起、≤1100px 抽屉、手机横屏；右栏可见时不重复 */
.headline .scorebar { display: none; align-items: center; gap: 0.7em; padding: 0.1em 0.7em; border-radius: 2px; background: #0b080acc; box-shadow: 0 0 0 1px #c9a35e55;
  font: 600 0.82rem var(--serif); letter-spacing: 0.06em; color: #d8cbb6; white-space: nowrap; }
.headline .scorebar b { font-size: 1.1em; }
.headline .scorebar .sb-k b { color: #e0717b; }
.headline .scorebar .sb-s b { color: #ffd98f; }
.headline .scorebar .sb-h { color: #6d6372; }
.headline .scorebar .sb-h.on { color: #ffd98f; text-shadow: 0 0 6px #ffb84d; }
.layout.side-collapsed .headline .scorebar { display: inline-flex; }
@media (max-width: 1100px) { .headline .scorebar { display: inline-flex; } }
@media (max-height: 520px) { .headline .scorebar { font-size: 0.72rem; gap: 0.5em; padding: 0 0.5em; } }

/* ===== 首页邀请函：invitation_card 实图（竖版纸，自带倾斜与花框，中央两条书写横线，右下圆形蜡封位） =====
   纸按图的比例放；所有字段放进花框内侧（左右各留纸宽 16%，上 20%、下 22%，比用户要求的 8% 更宽，避开花框与右下蜡封位）；
   旧的 CSS 画纸（::before 纸纹、::after 花框、-2° 倾斜）关掉，倾斜由图本身负责 */
html.has-hd-invitation_card .vb-invitation {
  --inv-w: min(26rem, 34vw, calc((100vh - var(--top-h, 52px) - 21.5rem) / var(--invitation_card-aspect, 1.41))); /* 21.5rem：含规则书会话在纸下方加的「怎么玩 · 新手教程 · 练习」一行 */
  width: var(--inv-w); aspect-ratio: 1 / var(--invitation_card-aspect, 1.41); padding: 0; transform: none; container-type: inline-size;
  justify-self: start; background: var(--hd-invitation_card) center / 100% 100% no-repeat; filter: drop-shadow(-10px 18px 22px #000d); }
html.has-hd-invitation_card .vb-invitation::before, html.has-hd-invitation_card .vb-invitation::after { display: none; }
html.has-hd-invitation_card .vb-invitation .entry {
  position: absolute; left: 16%; right: 16%; top: 20%; bottom: 24%; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 4.2cqw; }
html.has-hd-invitation_card .vb-invitation .vb-field { grid-template-columns: 1fr; gap: 1cqw; }
html.has-hd-invitation_card .vb-invitation .vb-field span { font-size: clamp(0.8rem, 5cqw, 1.2rem); }
html.has-hd-invitation_card .vb-invitation input { min-height: 0; height: 9cqw; font-size: clamp(0.85rem, 5.2cqw, 1.2rem); padding: 0 0.2em; width: 100%; box-sizing: border-box; }
html.has-hd-invitation_card .vb-invitation .btn.primary.vb-btn-primary { min-height: 0; height: 12cqw; font-size: clamp(0.8rem, 4.6cqw, 1.1rem); letter-spacing: 0.1em; padding: 0 0.5em; white-space: nowrap; }
html.has-hd-invitation_card .vb-invitation .or { font-size: clamp(0.72rem, 3.8cqw, 0.92rem); }
html.has-hd-invitation_card .vb-invitation .split { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3cqw; }
html.has-hd-invitation_card .vb-invitation .split .btn.vb-btn-secondary { min-height: 0; height: 10cqw; min-width: 0; padding: 0 1.1em; font-size: clamp(0.8rem, 4.6cqw, 1.05rem); }
html.has-hd-invitation_card .vb-invitation .entry-note { margin: 0; font-size: clamp(0.66rem, 3.3cqw, 0.82rem); line-height: 1.4; }
/* 蜡封落在纸右下角的圆形蜡封位上（图上实测中心约 81% / 87%） */
html.has-hd-invitation_card .vb-invitation .vb-seal, html.has-hd-invitation_card.has-hd-wax_seal .vb-invitation .vb-seal {
  --seal: 17cqw; left: calc(81% - var(--seal) / 2); top: calc(87% - var(--seal) / 2); right: auto; bottom: auto; width: var(--seal); height: var(--seal); transform: rotate(-10deg); }
/* 手机横屏：纸按可用高度放，字段两列排（名字 + 发出邀请 / 房间码 + 入席），说明行隐藏 */
@media (max-height: 520px) {
  html.has-hd-invitation_card .vb-invitation { --inv-w: calc((100vh - var(--top-h, 40px) - 2.4rem) / var(--invitation_card-aspect, 1.41)); align-self: center; }
  html.has-hd-invitation_card .vb-invitation .entry { left: 15%; right: 15%; top: 15%; bottom: 22%; gap: 2.4cqw; }
  html.has-hd-invitation_card .vb-invitation .entry-note { display: none; }
  html.has-hd-invitation_card .vb-invitation input { height: 11cqw; font-size: 0.85rem; }
  html.has-hd-invitation_card .vb-invitation .btn.primary.vb-btn-primary { height: 13cqw; font-size: 0.78rem; letter-spacing: 0.02em; }
  html.has-hd-invitation_card .vb-invitation .split .btn.vb-btn-secondary { height: 11cqw; font-size: 0.8rem; }
  html.has-hd-invitation_card .vb-invitation .vb-field span { font-size: 0.78rem; }
  html.has-hd-invitation_card .vb-invitation .or { font-size: 0.7rem; }
}

/* ===== 设置面板（顶栏唯一入口；声音四路音量 + 静音、语音台词、开场剧情、动画、柔和特效、手牌、重置教程） ===== */
.top-extra:empty { display: none; }
.top-extra { display: inline-flex; gap: 0.5rem; } /* 规则书会话的「怎么玩」放这里，与「设置」之间留间距 */
.settings { padding: 0; border: 0; background: none; color: #f1dfb8; max-width: min(30rem, 94vw); max-height: 94vh; }
.settings::backdrop { background: #07030599; backdrop-filter: blur(2px); }
.settings-card {
  margin: 0; padding: 1.2rem 1.5rem 1.3rem; display: grid; gap: 0.8rem; background: linear-gradient(#1a0d10f2, #0d0608f5);
  box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e, 0 0 0 4px #0b0608, 0 0 0 5px #c9a35e66, 0 24px 60px #000c; font-family: var(--serif); }
html.has-hd-divider_flourish .settings-card h2::after { content: ''; display: block; height: 14px; margin-top: 0.4rem; background: var(--hd-divider_flourish) center / contain no-repeat; }
.settings-card h2 { margin: 0; text-align: center; font-size: 1.3rem; letter-spacing: 0.3em; color: #e9c983; }
.settings-card fieldset { border: 0; border-top: 1px solid #c9a35e44; margin: 0; padding: 0.5rem 0 0; display: grid; gap: 0.45rem; }
.settings-card legend { padding: 0 0.5em 0 0; color: #c9a35e; font-size: 0.82rem; letter-spacing: 0.2em; }
.set-row { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 0.8rem; font-size: 0.92rem; }
.set-row > :last-child { justify-self: stretch; }
.set-row .tool { justify-self: start; }
.set-row.check > input { justify-self: start; width: 18px; height: 18px; accent-color: #c9a35e; }
.set-row input[type='range'] { accent-color: #c9a35e; width: 100%; }
.set-row select { background: #12090b; color: #f1dfb8; border: 1px solid #c9a35e88; padding: 0.3em 0.4em; font: inherit; }
.settings-close { justify-self: center; min-width: 9em; }
@media (max-height: 520px) {
  .settings-card { padding: 0.6rem 1rem 0.7rem; gap: 0.4rem; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
  .settings-card h2, .settings-close { grid-column: 1 / -1; }
  .settings-card h2 { font-size: 1rem; }
  .settings-card fieldset { gap: 0.25rem; padding-top: 0.3rem; align-content: start; }
  .settings-card h2::after { display: none !important; }
  .settings-close { min-height: 0; height: 34px; padding-block: 0; }
  .set-row select { padding: 0.15em 0.3em; font-size: 0.76rem; }
  .set-row input[type='range'] { height: 22px; margin: 0; }
  .settings-card fieldset:first-of-type { grid-row: span 2; }
  .settings { max-width: 96vw; width: 46rem; }
  .set-row { grid-template-columns: 6.5em 1fr; font-size: 0.8rem; gap: 0.5rem; }
  .set-row .tool { min-height: 28px; padding: 0.15em 0.6em; font-size: 0.76rem; }
}

/* 计数超过门槛：分子封顶，超出部分是小号「+N」 */
.cnt-over { margin-left: 0.35em; font-style: normal; font-size: 0.55em; vertical-align: 0.15em; white-space: nowrap; color: var(--ivory-dim, #bfb2a2); letter-spacing: 0; }
.scorebar .cnt-over { font-size: 0.8em; vertical-align: 0.1em; }
/* 终局：自己的阵营只显示一次。宽屏手牌托盘左端已有阵营纹章，自己座位上的终局身份小章不再显示（08:30 巡检：两个王冠）；
   手机终局收起手牌（连纹章一起），保留座位上的身份小章 */
@media (min-height: 521px) { .stage .seat.me .chip.fac { display: none; } }

/* 翻开秘印弹窗（11-01 验收第 7 项）：和发言对话框同一套金框（金线 + 内衬线 + 四角饰件），不再是蓝灰描边 */
.fx-caption.crystal { border: 1px solid #c7a36acc; border-radius: 3px; background: linear-gradient(180deg, #120c11f2, #0a0609f7);
  box-shadow: 0 14px 34px #000d, inset 0 0 0 3px #0a0609, inset 0 0 0 4px #c7a36a55, 0 0 26px #c94a5a33; padding: 0.9rem 1.6rem 1rem; font-family: var(--serif); }
/* 四角金饰（与对话框同款）。dialog_box 素材左上角有名字牌缺口、右下角有 ▼，不适合做九宫格，所以用同一套 CSS 金框 */
.fx-caption.crystal::before { content: ''; position: absolute; inset: -4px; pointer-events: none;
  background:
    linear-gradient(#e6c993, #e6c993) left top / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left top / 2px 14px no-repeat,
    linear-gradient(#e6c993, #e6c993) right top / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right top / 2px 14px no-repeat,
    linear-gradient(#e6c993, #e6c993) left bottom / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left bottom / 2px 14px no-repeat,
    linear-gradient(#e6c993, #e6c993) right bottom / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right bottom / 2px 14px no-repeat; }
.fx-caption.crystal small { display: block; margin-top: 0.3rem; color: var(--ivory-dim, #bfb2a2); font-size: 0.86em; }
/* 人多、桌心放不下时的紧凑样式：图标缩小、说明一行 */
.fx-caption.crystal.compact { max-width: min(26rem, 60vw); font-size: 0.9rem; }
.fx-caption.crystal.compact img.seal-big { width: 36px; height: 36px; display: inline-block; vertical-align: middle; margin: 0 0.4rem 0 0; }
.fx-caption.crystal.compact small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* /styles/table-v4.css */
/* =====================================================================
   Claude 桌面 v4（分支 claude-table-v4）：完整椭圆桌 + 桌上只有牌、纹章、牌堆、蜡烛和烛光 + 座位只留头像和名字。
   在 camera-v3.css 之后加载，只覆盖它；生效条件 html.has-full-table（桌子图的近端桌沿在画布里）。
   数字来源：camera.js 的 CAMERA（--cam-*）、prepare-bloodmoon-table-close.py 实测锚点（--felt-* / --rim-*）。
   ===================================================================== */

/* ---------- 桌子摆放：宽 0.94 倍主区；近端桌沿外缘压在半露手牌的 55% 高度处；高度不够时按高度缩 ---------- */
@media (min-height: 521px) {
  html.has-full-table .stage {
    --hand-sunk: calc(var(--card-w) * 1.5 * 0.63 + 1.2cqh); /* 半露手牌露出的高度 */
    --rim-anchor: calc(100cqh - var(--hand-sunk) * 0.55);  /* 近端桌沿外缘的 y */
    --top-room: calc(var(--medal) * 1.3);                   /* 远端座位（坐在桌子后面）要的高度 */
    --cam-table-w: min(calc(var(--cam-table-frac) * 100cqw),
                       calc((var(--rim-anchor) - var(--top-room)) / ((var(--rim-out-bottom) - var(--rim-out-top)) * var(--table-hw))));
    /* 派生量必须在同一层重新声明：<html> 上的 --cam-table-h / --felt-box-w 是按「只受宽度限制」的桌宽算好再继承下来的，
       矮视口（如 1774×700）桌子按高度缩小后，旧的桌高会把桌子整体往上推出主区（座位压到顶栏，11-01 用户截图） */
    --cam-table-h: calc(var(--cam-table-w) * var(--table-hw));
    --felt-box-w: calc(var(--felt-rx) * 2 * var(--cam-table-w));
  }
  html.has-full-table .table { top: calc(var(--rim-anchor) - var(--rim-out-bottom) * var(--cam-table-h)); }
}
/* 完整椭圆：不再需要把前沿淡入暗处 */
html.has-full-table .table::before { -webkit-mask-image: none; mask-image: none; }

/* ---------- 桌面上永远不放文字和数字（用户决定）：计分只在右栏和主线顶栏的计分条；张数靠点纹章浮出提示 ----------
   元素留在 DOM 里（测试读 textContent），只是不显示 */
html.has-close-table .plane .zone > .label,
html.has-close-table .plane .zone > .count,
html.has-close-table .plane .zone .heir,
html.has-close-table .plane .zone .dissolved { display: none; }

/* ---------- 纹章：嵌在桌面里的淡烙印（不透明度 40%），一圈同色外发光；空堆时提示「这里会放牌」 ---------- */
html.has-close-table .plane .zone.altar::before { opacity: 0.42; filter: drop-shadow(0 0 6px #e8c27a66) drop-shadow(0 0 16px #e8c27a33); }
html.has-close-table .plane .zone.abyss::before { opacity: 0.44; filter: drop-shadow(0 0 6px #c2404c77) drop-shadow(0 0 16px #c2404c33); }
html.has-close-table .plane .zone.altar.lit::before { opacity: 0.6; filter: drop-shadow(0 0 8px #ffd98f) drop-shadow(0 0 18px #ffd98f88); }
/* 牌堆：比原来亮一档，从暗桌面上跳出来 */
html.has-close-table .plane .zone .pile-card { filter: brightness(0.95) saturate(0.95); }
html.has-close-table .plane .zone.abyss .pile-card { filter: brightness(0.7) saturate(0.35) sepia(0.2); }

/* ---------- 桌面牌：宽 ≈ 毛毡宽 9%（效果图 03 实测 8.7%，手牌 / 桌面牌 ≈ 1.53）；8–10 人 7.5%；亮度提一档 ---------- */
html.has-full-table .plane .front-back { width: 9%; filter: brightness(0.95) saturate(0.95); }
html.has-full-table .stage.dense .plane .front-back { width: 7.2%; }
html.has-full-table .plane .zone .stack { width: 70%; }

/* ---------- 蜡烛：亮度回到正常，桌面上投一圈暖色烛光（贴桌面、按后倾压扁、中心亮边缘渐隐、轻微闪烁） ---------- */
html.has-full-table .table .prop { filter: brightness(0.95) saturate(0.95) drop-shadow(0 2px 2px #000c); }
html.has-full-table .table .prop::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none; animation: none;
  left: 50%; top: auto; bottom: 0; right: auto;
  width: 420%; height: calc(420% * var(--plane-cos) * 0.62); /* 底座宽约为道具框宽 0.62 倍：光圈按圆形算再压扁 */
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffbe6a5c 0%, #ff9a3a2e 38%, #ff8a2a10 66%, #0000 100%);
  mix-blend-mode: screen;
  animation: candle-glow 3.2s ease-in-out infinite alternate;
}
html.has-full-table .table .prop.prop_candelabra::before { width: 520%; height: calc(520% * var(--plane-cos) * 0.62); }
@keyframes candle-glow { 0% { opacity: 0.88; scale: 1; } 45% { opacity: 1; scale: 1.03; } 70% { opacity: 0.93; scale: 0.99; } 100% { opacity: 1; scale: 1.02; } }
body.calm .table .prop::before { animation: none; }
@media (prefers-reduced-motion: reduce) { html.has-full-table .table .prop::before { animation: none; } }
/* 接触阴影：比底座略宽，贴在桌面上 */
html.has-full-table .table .prop::after { left: 12%; right: 12%; height: 10%; background: radial-gradient(closest-side, #000d, #0000); }

/* ---------- 座位：只留头像框 + 名牌；状态是头像边缘的徽章 ---------- */
html.has-full-table .stage .seat .medal { position: relative; display: block; width: var(--medal); height: var(--medal); flex: none; }
/* 座位框：去掉自带红宝石章的版本（scripts/prepare-seat-frame-clean.py），右上角留给睁眼徽章 */
html.has-full-table.has-seat-frame .stage .seat .avatar::after { background-image: url('/assets/bloodmoon/props/seat_frame_clean.webp?v=3294ce5104'); }
html.has-full-table .stage .seat .medal .badge {
  position: absolute; z-index: 4; width: calc(var(--medal) * 0.3); height: auto; aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; margin: 0; line-height: 1;
  display: grid; place-items: center; pointer-events: auto;
  background: #0d0a0c; box-shadow: 0 0 0 1.5px #be9a63, 0 2px 4px #000c;
}
html.has-full-table .stage .seat .badge img { width: 86%; height: 86%; object-fit: contain; }
html.has-full-table .stage .seat .badge.coin { right: -6%; bottom: 14%; }
html.has-full-table .stage .seat .badge.seal { left: -6%; bottom: 14%; box-shadow: 0 0 0 1.5px #c9a35e, 0 0 8px #e0b86a66, 0 2px 4px #000c; }
html.has-full-table .stage .seat .badge.veil { left: -4%; top: -2%; font: 700 calc(var(--medal) * 0.2) var(--serif); color: #e9dcc4; }
html.has-full-table .stage .seat .medal .badge.off { left: 50%; top: 50%; translate: -50% -50%; width: calc(var(--medal) * 0.4); color: #e0717b; background: #0d0a0ccc; box-shadow: 0 0 0 1.5px #e0717b99, 0 2px 4px #000c; }
html.has-full-table .stage .seat .badge.off svg { width: 66%; height: 66%; }
html.has-full-table .stage .seat.offline .avatar { filter: grayscale(1) brightness(0.6); }
/* 睁眼：右上角，秘密蓝 SVG 眼（只有有权限的本人能看到；元素不在无权限者的 DOM 里），直径约头像的 30% */
html.has-full-table .stage .seat .medal .eye-mark { left: auto; right: -4%; top: -3%; width: calc(var(--medal) * 0.3); }
html.has-full-table .stage .seat.me .medal .eye-mark { right: -4%; top: -3%; }
/* 沉默（只在关掉动画时）：头上冒「…」，1.5s 后淡出 */
html.has-full-table .stage .seat .bubble {
  position: absolute; z-index: 5; left: 50%; bottom: 100%; translate: -50% -10%;
  padding: 0 0.55em; border-radius: 1em; background: #f0e2cb; color: #2a1a20; font: 700 0.9rem/1.3 var(--serif); box-shadow: 0 4px 10px #000a;
  animation: seat-quiet 1.6s ease var(--t, 0ms) both;
}
@keyframes seat-quiet { 0% { opacity: 0; scale: 0.6; } 15%, 75% { opacity: 1; scale: 1; } 100% { opacity: 0; } }

/* 名牌：放得下 5–6 个汉字加「·」；剩余手牌是名牌左后方露出的小卡背边 */
html.has-full-table .stage .seat .nm.nm { position: relative; overflow: visible; min-width: min(calc(var(--medal) * 1.7), var(--medal-w)); padding: 0.05rem 0.6rem; white-space: nowrap; }
html.has-full-table .stage .seat .nm > span { overflow: hidden; text-overflow: ellipsis; }
/* 剩余手牌：名牌下沿往下探出的小扇形卡背（1–3 张，居中），不写数字 */
html.has-full-table .stage .seat .nm .cnt { position: absolute; left: 50%; top: 35%; height: 140%; aspect-ratio: 2 / 3; translate: -50% 0; z-index: -1; pointer-events: auto; }
html.has-full-table .stage .seat .nm .cnt i {
  position: absolute; inset: 0; border-radius: 2px; background: var(--asset-card-back) center / cover;
  box-shadow: 0 0 0 1px #be9a63aa, 0 1px 3px #000c; transform-origin: 50% 0;
  transform: rotate(calc((var(--k, 0) - (var(--n, 1) - 1) / 2) * -16deg));
}
html.has-full-table .stage .seat .nm .cnt i:nth-child(2) { --k: 1; }
html.has-full-table .stage .seat .nm .cnt i:nth-child(3) { --k: 2; }
/* 名牌下面那一整行状态去掉；终局揭面具时才显示身份牌 */
html.has-full-table .stage .seat .icons { display: none; }
html.has-full-table .stage .seat[data-faction] .icons { display: flex; background: none; box-shadow: none; }

/* 自己：前景里只有名牌（头像在主线设计里隐藏）；徽章排成名牌右边的一排小圆章；去掉「· 我的手牌」（用户：多余） */
@media (min-height: 521px) {
  html.has-full-table .stage .seat.me.me { flex-direction: row; align-items: center; gap: 0.35rem; }
  /* 徽章排脱离布局（绝对定位在名牌右侧）：信物传走、秘印翻开时座位尺寸不变，不跳动 */
  html.has-full-table .stage .seat.me.me .medal { position: absolute; left: 100%; top: 50%; translate: 0.35rem -50%; width: auto; height: auto; display: flex; gap: 0.3rem; }
  html.has-full-table .stage .seat.me.me .medal:empty, html.has-full-table .stage .seat.me.me .medal:not(:has(.badge, .eye-mark)) { display: none; }
  html.has-full-table .stage .seat.me.me .badge, html.has-full-table .stage .seat.me.me .medal .eye-mark { position: static; translate: none; width: 26px; }
}
html.has-full-table .seat.me .nm::after { content: none; }

/* 桌心：银盘已去掉，中间只留洗牌和揭示用的空地；两枚纹章往桌心收拢，给两侧座位前的暗置牌让地方 */
html.has-full-table .stage .plane .table-center,
html.has-full-table .stage.dense .plane .table-center { grid-template-columns: minmax(0, 12.5%) minmax(0, 12%) minmax(0, 12.5%); gap: 0 3%; top: 41%; height: 24%; }

/* ---------- 手机横屏：手牌在右栏，舞台全给桌子；近端桌沿压在自己的名牌上方，桌子按高度缩 ---------- */
@media (max-height: 520px) {
  html.has-full-table .stage {
    --rim-anchor: calc(100cqh - 1.5rem);
    --top-room: calc(var(--medal) * 1.25);
    --cam-table-w: min(calc(var(--cam-table-frac) * 100cqw),
                       calc((var(--rim-anchor) - var(--top-room)) / ((var(--rim-out-bottom) - var(--rim-out-top)) * var(--table-hw))));
    /* 派生量必须在同一层重新声明：<html> 上的 --cam-table-h / --felt-box-w 是按「只受宽度限制」的桌宽算好再继承下来的，
       矮视口（如 1774×700）桌子按高度缩小后，旧的桌高会把桌子整体往上推出主区（座位压到顶栏，11-01 用户截图） */
    --cam-table-h: calc(var(--cam-table-w) * var(--table-hw));
    --felt-box-w: calc(var(--felt-rx) * 2 * var(--cam-table-w));
  }
  html.has-full-table .table { top: calc(var(--rim-anchor) - var(--rim-out-bottom) * var(--cam-table-h)); }
  /* 自己：和宽屏一样只留名牌 + 一排徽章，贴在桌子前沿下方正中 */
  html.has-full-table .stage .seat.me.me { bottom: 0.3rem; flex-direction: row; align-items: center; gap: 0.25rem; width: auto; max-width: none; }
  html.has-full-table .stage .seat.me.me .nm { max-width: none; }
  html.has-full-table .stage .seat.me.me .avatar, html.has-full-table .stage .seat.me.me::before { display: none; }
  html.has-full-table .stage .seat.me.me .medal { position: absolute; left: 100%; top: 50%; translate: 0.25rem -50%; width: auto; height: auto; display: flex; gap: 0.2rem; }
  html.has-full-table .stage .seat.me.me .medal:not(:has(.badge, .eye-mark)) { display: none; }
  html.has-full-table .stage .seat.me.me .badge, html.has-full-table .stage .seat.me.me .medal .eye-mark { position: static; translate: none; width: 18px; }
  html.has-full-table .stage .seat .nm { min-width: 0; padding: 0 0.35rem; }
}

/* 8–10 人：头像在 1440 下不小于 52px（远端座位还会按透视缩到 ≈0.92 倍） */
html.has-full-table .stage.dense { --medal: clamp(44px, 5cqw, 90px); --medal-w: clamp(84px, 9cqw, 150px); }
/* 宽而矮的视口（例如浏览器侧栏 1774×700）：头像按主区高度封顶，否则只按宽度放大到 108px，远端座位要的高度把桌子挤小 */
@media (min-height: 521px) {
  html.has-full-table .stage { --medal: clamp(50px, min(6.2cqw, 12cqh), 112px); --medal-w: clamp(96px, min(11cqw, 22cqh), 180px); }
  html.has-full-table .stage.dense { --medal: clamp(44px, min(5cqw, 10cqh), 90px); --medal-w: clamp(84px, min(9cqw, 19cqh), 150px); }
}
@media (max-height: 520px) {
  html.has-full-table .stage { --medal: clamp(30px, 11cqh, 40px); --medal-w: clamp(62px, 12cqw, 96px); }
  html.has-full-table .stage.dense { --medal: clamp(28px, 10cqh, 34px); --medal-w: clamp(52px, 9.5cqw, 80px); }
  html.has-full-table .stage .seat .nm.nm { font-size: 0.58rem; line-height: 1.25; }
}
/* 自己：手牌就在眼前，名牌下不需要剩余手牌的小扇形 */
html.has-full-table .stage .seat.me .nm .cnt { display: none; }
/* 远端座位背后一圈淡暗光晕：和背景里的烛台、窗户分开（只在 sin < 0 的座位上，越远越明显） */
html.has-full-table .stage .seat:not(.me) .medal::before {
  content: ''; position: absolute; inset: -38%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, #0b0709d9 0%, #0b070999 45%, #0b070900 100%);
  opacity: clamp(0, calc(var(--sy) * -2.2), 1);
}

/* 牌堆张数提示：点纹章（触屏轻点）浮出一句，1.6s 后淡出；鼠标悬停有 title */
html.has-close-table .plane .zone.altar, html.has-close-table .plane .zone.abyss { cursor: pointer; }
.pile-tip {
  position: fixed; z-index: 30; transform: translate(-50%, calc(-100% - 6px)); pointer-events: none; white-space: nowrap;
  padding: 0.25em 0.8em; border-radius: 3px; background: #0b080af0; box-shadow: 0 0 0 1px #be9a6399, 0 6px 14px #000c;
  font: 600 0.9rem var(--serif); color: #f0e2cb; animation: pile-tip 1.6s ease both;
}
@keyframes pile-tip { 0% { opacity: 0; } 12%, 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* 宾客名（主线 0b22bd1 起名牌显示宾客名，5–6 个汉字加「·」）：名牌按名字宽度撑开，不截断；8–10 人字号小一档 */
html.has-full-table .stage .seat .nm.nm { max-width: none; width: max-content; }
@media (min-height: 521px) { html.has-full-table .stage:not(.dense) .seat:not(.me) .nm.nm { font-size: clamp(0.64rem, 0.88cqw, 0.98rem); padding: 0.04rem 0.42rem; } }
html.has-full-table .stage .seat .nm > span { overflow: visible; text-overflow: clip; }
@media (min-height: 521px) { html.has-full-table .stage.dense .seat:not(.me) .nm.nm { font-size: clamp(0.62rem, 0.85cqw, 0.92rem); padding: 0.02rem 0.45rem; } }

/* 传信物 / 秘印目标的按钮（主线黑金样式，较高）：桌面上排成三列、贴着手牌上方，人多时不往上长到远端座位 */
@media (min-height: 521px) {
  html.has-full-table .my-area .choices-slot { width: min(42rem, 58cqw); bottom: calc(var(--card-w) * 1.5 + 1.2cqh + 0.6rem); } /* 手牌行的盒子按完整手牌高度算（下沉只是 transform），按钮要在它上面才点得到 */
  html.has-full-table .my-area .choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem 0.5rem; }
  html.has-full-table .my-area .choices .btn { min-height: 40px; padding: 0.25em 0.5em; font-size: clamp(0.72rem, 0.95cqw, 0.92rem); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* 名牌短名：手机横屏只写名（「·」前一段），全名在 title；宽屏写全名 */
/* 不依赖 has-full-table：桌面素材缺锚点时退回旧桌，名牌也只能有一个名字（曾在 1280 出现「卡西…　卡·」两遍） */
.stage .seat .nm .nm-short { display: none; }
@media (max-height: 520px) {
  .stage .seat:not(.me) .nm .nm-full { display: none; }
  .stage .seat:not(.me) .nm .nm-short { display: inline; }
}

/* ---------- 效果图三处道具组（真素材，本身偏暗）：亮度 0.85 / 饱和 0.95；画布比例按素材；烛光光圈与接触阴影沿用上面的规则 ---------- */
html.has-close-table .table .prop:is(.prop_group_candles_jars, .prop_group_candle_dagger, .prop_group_tray_two_candles) {
  filter: brightness(0.85) saturate(0.95) drop-shadow(0 2px 2px #000c); background-position: center bottom; background-size: contain; transform: translate(-50%, -88%); }
html.has-close-table .table .prop.prop_group_candles_jars { aspect-ratio: 720 / 618; }
html.has-close-table .table .prop.prop_group_candle_dagger { aspect-ratio: 720 / 649; }
html.has-close-table .table .prop.prop_group_tray_two_candles { aspect-ratio: 720 / 497; }
html.has-full-table .table .prop:is(.prop_group_candles_jars, .prop_group_candle_dagger, .prop_group_tray_two_candles)::before { width: 150%; height: calc(150% * var(--plane-cos) * 0.62); }
html.has-full-table .table .prop:is(.prop_group_candles_jars, .prop_group_candle_dagger, .prop_group_tray_two_candles)::after { left: 8%; right: 8%; bottom: 6%; }

/* /portrait.css */
/* Galgame 立绘演出 V3：独立样式文件，尽量不动主线布局（docs/design/bloodmoon_galgame_portrait_v3.md） */
.pt-stage {
  --pt-h: clamp(200px, 30vh, 300px); /* 立绘显示高度 ≤ 300px（源图细节约 512 级） */
  position: fixed;
  bottom: 10px;
  z-index: 11; /* 在牌桌之上、发言气泡（12）与演出层之下 */
  width: calc(var(--pt-h) + 40px);
  pointer-events: none;
  display: grid;
  justify-items: center;
  animation: pt-in 0.22s ease-out both;
}
.pt-stage[hidden] { display: none; }
.pt-figure { width: var(--pt-h); height: var(--pt-h); position: relative; transform-origin: 50% 100%; }
.pt-breath { position: absolute; inset: 0; transform-origin: 50% 100%; animation: pt-breath 4.2s ease-in-out infinite; }
.pt-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  opacity: 0; transition: opacity 200ms ease; /* 同一角色换表情：交叉淡化 150–250ms */
  filter: drop-shadow(0 10px 18px #000a);
}
.pt-img.on { opacity: 1; }
.pt-img.pt-instant { transition: none; }
/* 没有立绘：退回座位头像（圆框） */
.pt-avatar {
  position: absolute; left: 50%; bottom: 18%; width: 46%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid #c7a36a; box-shadow: 0 8px 20px #000b; object-fit: cover; background: #1a1016;
}
.pt-avatar[hidden] { display: none; }
.pt-dialog {
  pointer-events: auto; cursor: pointer;
  margin-top: calc(var(--pt-h) * -0.2); /* 盖住立绘底部的渐隐，躯干不会“硬切”露出来 */
  position: relative; width: 100%; min-height: 4.4em; padding: 0.55em 0.85em 0.65em;
  background: linear-gradient(#1c1219f2, #120b10f5); color: #f3e6cf;
  border: 1px solid #c7a36a; border-radius: 6px; box-shadow: 0 10px 26px #000c, inset 0 0 0 1px #c7a36a33;
  font: 500 0.92rem/1.55 var(--serif, serif);
}
.pt-name { font-size: 0.78rem; letter-spacing: 0.08em; color: #e6c993; margin-bottom: 0.2em; }
.pt-text { min-height: 1.55em; white-space: pre-wrap; word-break: break-word; }
.pt-stage.pt-emote .pt-text { display: none; }
.pt-stage.pt-emote .pt-dialog { min-height: 0; }

/* ---- 分镜 V4 第 15 格：立绘在牌桌左侧、从桌沿后方露出；对话框在立绘右侧、手牌上方 ---- */
.pt-figure[hidden] { display: none; }
.pt-figure.pt-in-stage {
  position: absolute; z-index: auto; pointer-events: none; /* 插在舞台里、.table 之前：桌沿、座位、桌上道具都画在它上面 */
  -webkit-mask-image: linear-gradient(#000 78%, transparent 97%); mask-image: linear-gradient(#000 78%, transparent 97%);
}
.pt-figure.pt-in-stage .pt-img { filter: drop-shadow(0 0 22px #000c) drop-shadow(0 0 2px #000); }
.pt-figure.pt-in-stage::before { /* 身后一团暗红烛光，把人物从背景里托出来 */
  content: ''; position: absolute; left: 8%; right: 8%; top: 6%; bottom: 20%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, #5a121e66, #0000); filter: blur(6px);
}
.pt-figure.pt-enter { animation: pt-rise 0.24s ease-out both; }
@keyframes pt-rise { from { opacity: 0; transform: translateY(10%); } }
.pt-stage[data-anchor='storyboard'] { width: auto; justify-items: stretch; }
.pt-stage[data-anchor='storyboard'] .pt-dialog {
  margin-top: 0; min-height: 0;
  padding: 1.05em 2.2em 0.9em 1.5em;
  border: 1px solid #c7a36acc; border-radius: 3px;
  background: linear-gradient(180deg, #120c11f0, #0a0609f5);
  box-shadow: 0 14px 34px #000d, inset 0 0 0 3px #0a0609, inset 0 0 0 4px #c7a36a55, inset 0 0 28px #5a121e33;
  font: 500 clamp(0.98rem, 1.25vw, 1.2rem)/1.6 var(--serif, serif); letter-spacing: 0.04em;
}
/* 四角小饰件（素材 dialog_box 到货前的 CSS 占位） */
.pt-stage[data-anchor='storyboard'] .pt-dialog::before {
  content: ''; position: absolute; inset: -4px; pointer-events: none;
  background:
    linear-gradient(#e6c993, #e6c993) left top / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left top / 2px 14px no-repeat,
    linear-gradient(#e6c993, #e6c993) right top / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right top / 2px 14px no-repeat,
    linear-gradient(#e6c993, #e6c993) left bottom / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left bottom / 2px 14px no-repeat,
    linear-gradient(#e6c993, #e6c993) right bottom / 14px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right bottom / 2px 14px no-repeat;
}
/* 台词打完：右下角 ▼ 轻轻闪烁 */
.pt-stage[data-anchor='storyboard'] .pt-dialog::after {
  content: '▼'; position: absolute; right: 0.9em; bottom: 0.45em; font-size: 0.62em; color: #e6c993; opacity: 0;
}
.pt-stage[data-anchor='storyboard'].pt-done .pt-dialog::after { opacity: 1; animation: pt-blink 1.1s ease-in-out infinite; }
@keyframes pt-blink { 50% { opacity: 0.25; transform: translateY(2px); } }
/* 名字牌：压在对话框左上角的黑底金边小牌，前面一枚小王冠 */
.pt-stage[data-anchor='storyboard'] .pt-name {
  position: absolute; left: 1.1em; top: 0; transform: translateY(-62%);
  margin: 0; padding: 0.22em 1.4em 0.26em 1.1em;
  font: 600 clamp(0.86rem, 1.05vw, 1.02rem)/1.3 var(--serif, serif); letter-spacing: 0.14em; color: #f1d9a6; white-space: nowrap;
  background: linear-gradient(90deg, #1b1016, #0d080b 70%, #1b1016);
  border: 1px solid #c7a36a; box-shadow: 0 4px 12px #000c, inset 0 0 0 2px #0d080b, inset 0 0 0 3px #c7a36a44;
  clip-path: polygon(0 0, calc(100% - 0.7em) 0, 100% 50%, calc(100% - 0.7em) 100%, 0 100%, 0.45em 50%);
}
.pt-stage[data-anchor='storyboard'] .pt-name::before { content: '♛'; margin-right: 0.45em; color: #e6c993; font-size: 0.92em; }
.pt-stage[data-anchor='storyboard'] .pt-text { min-height: 3.2em; }
.pt-stage[data-anchor='storyboard'].pt-emote .pt-dialog { padding: 0.8em 1.2em 0.5em; }
.pt-stage[data-anchor='storyboard'].pt-emote .pt-dialog::after { display: none; }
/* 正式素材（dialog_box / dialog_nameplate）到货后替换占位 */
.pt-stage.has-dialog-art[data-anchor='storyboard'] .pt-dialog { border: 0; box-shadow: 0 14px 34px #000a; background: var(--pt-dialog-art) center / 100% 100% no-repeat; }
.pt-stage.has-dialog-art[data-anchor='storyboard'] .pt-dialog::before { display: none; }
.pt-stage.has-plate-art[data-anchor='storyboard'] .pt-name { border: 0; box-shadow: none; clip-path: none; background: var(--pt-plate-art) center / 100% 100% no-repeat; padding: 0.4em 2.2em 0.45em 1.8em; }

/* 表情的轻量动作（一次性） */
.pt-act-angry { animation: pt-angry 0.55s ease-out; }
.pt-act-surprised { animation: pt-surprised 0.45s ease-out; }
.pt-act-nervous { animation: pt-nervous 0.7s ease-out both; }
.pt-act-smile { animation: pt-smile 0.6s ease-out; }
.pt-act-suspicious { animation: pt-suspicious 0.9s ease-in-out both; }
.pt-act-exasperated { animation: pt-exasperated 1.1s ease-in-out both; } /* 叹气：先微微抬起，再松垮地沉下、略歪 */
@keyframes pt-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pt-breath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.008) translateY(-1px); } }
@keyframes pt-angry { 0% { transform: none; } 30% { transform: translateY(4px) scale(1.035); } 40% { transform: translate(-3px, 4px) scale(1.035); } 50% { transform: translate(3px, 4px) scale(1.035); } 60% { transform: translate(-2px, 4px) scale(1.03); } 100% { transform: none; } }
@keyframes pt-surprised { 0% { transform: none; } 35% { transform: translateY(-6px) scale(0.975); } 100% { transform: none; } }
@keyframes pt-nervous { 0% { transform: none; } 100% { transform: translateY(5px) scale(0.99); } }
@keyframes pt-smile { 0% { transform: none; } 40% { transform: translateY(-4px) rotate(-0.8deg); } 100% { transform: none; } }
@keyframes pt-exasperated { 0% { transform: none; } 30% { transform: translateY(-3px); } 100% { transform: translateY(6px) rotate(1.2deg) scale(0.99); } }
@keyframes pt-suspicious { 0%, 35% { transform: none; } 100% { transform: translateX(-8px); } }

/* 减少动态效果：不做任何动作，只保留淡入淡出 */
@media (prefers-reduced-motion: reduce) {
  .pt-stage, .pt-breath, .pt-figure { animation: none !important; }
  .pt-stage[data-anchor='storyboard'].pt-done .pt-dialog::after { animation: none; }
  .pt-img { transition-duration: 120ms; }
}
body.calm .pt-figure, body.calm .pt-breath { animation: none !important; }

/* 手机横屏（矮视口）：隐藏立绘，只保留座位气泡 */
@media (max-height: 520px) {
  .pt-stage, .pt-figure.pt-in-stage { display: none !important; }
}

/* 大厅：选宾客形象 */
.guest-picker { margin: 0.8rem 0; }
.guest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.guest-pick { display: grid; justify-items: center; gap: 0.15rem; padding: 0.3rem 0.2rem; font-size: 0.72rem; color: var(--ivory, #f3e6cf); background: #120b10; border: 1px solid #c7a36a44; border-radius: 4px; cursor: pointer; position: relative; min-height: 44px; }
.guest-pick img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid #c7a36a66; }
.guest-pick.on { border-color: #e6c993; box-shadow: 0 0 0 1px #e6c993, 0 0 12px #e6c99355; }
.guest-pick em { position: absolute; top: 2px; right: 3px; font-style: normal; font-size: 0.62rem; color: #c7a36a; }
.guest-pick:disabled { opacity: 0.4; cursor: not-allowed; }
/* 聊天面板：摆表情 */
.emote-row { display: grid; gap: 0.3rem; margin-top: 0.4rem; }
.emote-buttons { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.2rem; }
.emote-buttons .say-btn { font-size: 0.72rem; padding: 0.3em 0; }
.chat-list li.emote { font-size: 0.82rem; }

/* ---- 角色特写 Cut-in：盖在牌桌区域上的临时遮罩（总长约 1.5s，可快进） ---- */
.ci-layer { position: fixed; z-index: 30; overflow: hidden; border-radius: 10px; pointer-events: none; background: #07040699; animation: ci-in 300ms ease-out both; }
.ci-layer.out { animation: ci-out 400ms ease-in forwards; }
.ci-media { position: absolute; inset: 0; animation: ci-push var(--ci-ms) linear both; }
.ci-art .ci-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ci-portrait { background: radial-gradient(ellipse at 50% 60%, #3a141d 0%, #0b0609f0 70%); }
.ci-portrait .ci-media { display: grid; place-items: end center; }
.ci-portrait .ci-media img { height: 118%; width: auto; max-width: 92%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 30px #000d); }
.ci-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1.4rem 1.1rem; background: linear-gradient(#0000, #0b0609e6 45%); color: #f3e6cf; }
.ci-name { font: 600 0.82rem/1.3 var(--serif, serif); letter-spacing: 0.18em; color: #e6c993; }
.ci-line { font: 600 clamp(1rem, 2.3vw, 1.45rem)/1.4 var(--serif, serif); text-shadow: 0 2px 10px #000; }
.ci-still .ci-media { animation: none; }
@keyframes ci-in { from { opacity: 0; } }
@keyframes ci-out { to { opacity: 0; } }
@keyframes ci-push { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---- 继承人牌面特写：卡面放大到桌面中央（不显示任何宾客） ---- */
.heir-card-fx { position: fixed; z-index: 29; pointer-events: none; display: grid; place-items: center; align-content: center; gap: 0.8rem; animation: ci-in 260ms ease-out both; }
.heir-card-fx.slain { background: radial-gradient(ellipse, #0000 25%, #000c 75%); }
.heir-card-fx.safe { background: radial-gradient(ellipse, #d9b37122 0%, #0000 60%); }
.hc-card { position: relative; width: min(22vh, 180px); aspect-ratio: 2 / 3; border-radius: 10px; background-size: cover; background-position: center; box-shadow: 0 0 0 2px #c7a36a, 0 18px 40px #000d; animation: hc-rise var(--hc-ms) ease-out both; }
.heir-card-fx.slain .hc-card { filter: saturate(0.4) brightness(0.8); }
.hc-halo { position: absolute; inset: -18%; border-radius: 50%; border: 2px solid #e6c993; box-shadow: 0 0 24px #e6c993aa, inset 0 0 24px #e6c99366; animation: hc-halo var(--hc-ms) ease-out both; }
.hc-slash { position: absolute; left: -20%; right: -20%; top: 48%; height: 4px; background: linear-gradient(90deg, #0000, #ff4a5e, #fff, #ff4a5e, #0000); transform: rotate(-24deg) scaleX(0); animation: hc-slash 420ms 200ms ease-out forwards; box-shadow: 0 0 14px #ff4a5e; }
.hc-caption { font: 600 clamp(1rem, 2.4vw, 1.5rem)/1.3 var(--serif, serif); color: #f3e6cf; text-shadow: 0 2px 12px #000; letter-spacing: 0.12em; }
.heir-card-fx.slain .hc-caption { color: #ff8a96; }
@keyframes hc-rise { from { transform: translateY(14px) scale(0.92); opacity: 0; } 25% { opacity: 1; } to { transform: none; } }
@keyframes hc-halo { from { transform: scale(0.6); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1.04); opacity: 0.85; } }
@keyframes hc-slash { to { transform: rotate(-24deg) scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .ci-media, .hc-card, .hc-halo { animation: none !important; }
  .hc-slash { animation: none !important; transform: rotate(-24deg) scaleX(1); }
}
body.calm .ci-media, body.calm .hc-card, body.calm .hc-halo { animation: none !important; }
body.calm .hc-slash { display: none; }
body.calm .heir-card-fx.slain { background: #0008; }
/* 手机横屏：特写照常（16:9 正合适），字号缩小 */
@media (max-height: 520px) {
  .ci-text { padding: 0.5rem 0.9rem 0.6rem; }
  .ci-line { font-size: 0.95rem; }
  .hc-card { width: 18vh; }
}
.hc-plate { position: absolute; display: grid; place-items: center; font: 600 clamp(0.6rem, 1.6vh, 0.85rem)/1 var(--serif, serif); color: #f3e6cf; letter-spacing: 0.08em; text-shadow: 0 1px 3px #000; }

/* 顶栏语音音量 */
.voice-vol { width: 84px; accent-color: #c7a36a; }
.voice-vol[hidden] { display: none; }
@media (max-height: 520px) { .voice-vol { width: 60px; } }

/* B5：立绘对话框出现时，座位不冒框（只留读屏文字；说话的人看座位 .speaking 高亮）；接话表情照常 */
.speech-bubble.short { padding: 0.15em 0.75em 0.35em; font-size: 1.15rem; line-height: 1; letter-spacing: 0.1em; max-width: none; }
/* 要压过上面的 .short 内边距（同等优先级时后者赢，会剩一个 20px 的空框） */
/* 隐形节点（读屏仍可读整句）：banter / 短横屏等同优先级规则在后面，必须 !important 才压得住 */
.speech-bubble.short.sb-ghost { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important; box-shadow: none !important; background: none !important; pointer-events: none !important; }
.speech-bubble.short.sb-ghost::before, .speech-bubble.short.sb-ghost::after { display: none !important; }

/* 聊天里发言条目的小头像（分镜 V4 第 15 格右栏） */
.chat-list li.say .chat-av { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: -6px; margin-right: 0.35em; border: 1px solid #c7a36a88; }
/* 没有立绘时退回的头像：抬到桌沿上方（下 36% 藏在桌子后面） */
.pt-figure.pt-in-stage .pt-avatar { bottom: 42%; width: 40%; }

/* ---- 分镜 V4 第 16 格：整屏斜向构图。人物在左（斜切画框），右侧大字台词 + 名字，背景血月与烛火，上下两道斜光带 ---- */
.ci-layer.ci-v4 {
  background:
    radial-gradient(ellipse 60% 80% at 75% 45%, #4a0c14 0%, #1d0509 55%, #0b0306 100%);
}
.ci-v4 .ci-bg { position: absolute; inset: 0; overflow: hidden; }
.ci-v4 .ci-moon { position: absolute; right: 6%; top: -12%; width: calc(var(--ci-h) * 0.62); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #e0503c 0%, #a51d24 40%, #5e0d14 68%, #0000 71%); filter: blur(1px); opacity: 0.55; box-shadow: 0 0 80px #b3202a55; }
.ci-v4 .ci-candles { position: absolute; inset: 0; opacity: 0.7;
  background:
    radial-gradient(circle at 88% 78%, #ffb35c 0 0.35%, #ff8a3c55 1.4%, #0000 4%),
    radial-gradient(circle at 93% 70%, #ffb35c 0 0.3%, #ff8a3c44 1.2%, #0000 3.5%),
    radial-gradient(circle at 70% 88%, #ffb35c 0 0.3%, #ff8a3c44 1.2%, #0000 3.5%),
    radial-gradient(circle at 58% 12%, #ffb35c 0 0.25%, #ff8a3c33 1%, #0000 3%); }
/* 人物画框：右缘斜切（上宽下窄），盖住左侧约六成 */
.ci-v4 .ci-media { right: auto; width: 64%; clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); }
.ci-v4.ci-art .ci-media img { object-position: 40% 26%; }
.ci-v4.ci-portrait .ci-media { display: grid; place-items: end start; background: radial-gradient(ellipse 50% 70% at 28% 60%, #5a121e 0%, #0000 70%); }
.ci-v4.ci-portrait .ci-media img { height: 128%; width: auto; max-width: 96%; margin-left: 6%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 30px #000d); }
/* 斜切边缘的金红光线 */
.ci-v4 .ci-edge { position: absolute; inset: 0; clip-path: polygon(63.5% 0, 64.3% 0, 49.1% 100%, 48.3% 100%);
  background: linear-gradient(#ffe2b0, #ff8a4a 60%, #ff5a2e); }
/* 上下两道斜光带（cutin_banner 素材到货前的占位） */
.ci-v4 .ci-streak { position: absolute; left: -10%; width: 130%; height: 2px; transform: rotate(-7deg); pointer-events: none;
  background: linear-gradient(90deg, #0000 0%, #ff6a3d 25%, #ffd59a 55%, #ff6a3d 80%, #0000 100%); box-shadow: 0 0 14px 2px #ff5a2e88, 0 0 40px 6px #ff3a1e33; }
.ci-v4 .ci-streak.a { top: 14%; }
.ci-v4 .ci-streak.b { bottom: 12%; height: 3px; }
.ci-v4:not(.ci-still) .ci-streak { animation: ci-sweep var(--ci-ms) ease-out both; }
.ci-v4:not(.ci-still) .ci-streak.b { animation-delay: 60ms; }
@keyframes ci-sweep { from { translate: -22% 0; opacity: 0; } 20% { opacity: 1; } to { translate: 4% 0; } }
.ci-v4 .ci-banner-wrap { position: absolute; inset: 0; pointer-events: none;
  /* 台词块挖洞：横向在 [x0, x1] 之外不透明 ∪ 纵向在 [y0, y1] 之外不透明 = 只有台词矩形透明（边缘 2% 渐变） */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--ci-tx0, 200%) - 2%), #0000 var(--ci-tx0, 200%), #0000 var(--ci-tx1, 200%), #000 calc(var(--ci-tx1, 200%) + 2%)),
    linear-gradient(180deg, #000 calc(var(--ci-ty0, 200%) - 3%), #0000 var(--ci-ty0, 200%), #0000 var(--ci-ty1, 200%), #000 calc(var(--ci-ty1, 200%) + 3%));
  -webkit-mask-composite: source-over;
  mask-image: linear-gradient(90deg, #000 calc(var(--ci-tx0, 200%) - 2%), #0000 var(--ci-tx0, 200%), #0000 var(--ci-tx1, 200%), #000 calc(var(--ci-tx1, 200%) + 2%)),
    linear-gradient(180deg, #000 calc(var(--ci-ty0, 200%) - 3%), #0000 var(--ci-ty0, 200%), #0000 var(--ci-ty1, 200%), #000 calc(var(--ci-ty1, 200%) + 3%));
  mask-composite: add; }
.ci-v4 .ci-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.ci-v4.has-banner .ci-streak, .ci-v4.has-banner .ci-edge { display: none; }
/* 右侧大字：名字（两侧细线 + 星点）+ 称呼 + 两行台词，金色渐变 */
.ci-v4 .ci-text { left: 53%; right: 2.5%; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-3deg); padding: 0; background: none; text-align: center; }
.ci-v4 .ci-name { display: flex; align-items: center; justify-content: center; gap: 0.5em; white-space: nowrap; margin-bottom: calc(var(--ci-h) * 0.03);
  font: 600 min(calc(var(--ci-h) * 0.045), calc(var(--ci-w) * 0.03)) / 1.2 var(--serif, serif); letter-spacing: 0.16em; color: #f1d9a6; text-shadow: 0 2px 10px #000; }
.ci-v4 .ci-name::before, .ci-v4 .ci-name::after { content: '✦'; font-size: 0.6em; color: #e6c993; padding: 0 0.2em;
  background: linear-gradient(90deg, #0000, #c7a36a) left center / 1.8em 1px no-repeat; padding-left: 2.1em; }
.ci-v4 .ci-name::after { background: linear-gradient(90deg, #c7a36a, #0000) right center / 1.8em 1px no-repeat; padding: 0 2.1em 0 0.2em; }
.ci-v4 .ci-call { font: 700 calc(var(--ci-fs, 40px) * 0.62)/1.3 var(--serif, serif); color: #ff9a8a; letter-spacing: 0.08em; text-shadow: 0 2px 12px #000, 0 0 18px #b3202a; text-align: center; }
.ci-v4 .ci-line { text-shadow: none; font: 800 var(--ci-fs, 40px)/1.32 var(--serif, serif); letter-spacing: 0.03em; filter: drop-shadow(0 3px 2px #000) drop-shadow(0 0 16px #000a); }
.ci-v4 .ci-line > div { white-space: nowrap; width: fit-content; margin: 0 auto;
  background: linear-gradient(180deg, #fff6df 0%, #f8dc9c 40%, #e2a656 75%, #b8772e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ci-v4 .ci-line > div + div { translate: 0.6em 0; }
.ci-v4:not(.ci-still) .ci-text { animation: ci-text-in 260ms 80ms ease-out both; }
@keyframes ci-text-in { from { opacity: 0; translate: 6% 0; } }
/* 被指向的宾客：右下角小头像 + 名牌，闪一下红光 */
.ci-v4 .ci-target { position: absolute; right: 4%; bottom: 17%; display: flex; align-items: center; gap: 0.6em; padding: 0.3em 1em 0.3em 0.3em;
  background: #0d080be6; border: 1px solid #ff5a5e; border-radius: 999px; box-shadow: 0 0 18px #ff3a3e88; color: #ffd2cf;
  font: 600 calc(var(--ci-h) * 0.04)/1 var(--serif, serif); letter-spacing: 0.12em; }
.ci-v4 .ci-target img { width: calc(var(--ci-h) * 0.11); aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid #ff5a5e; }
.ci-v4 .ci-target::before { content: '⟵'; color: #ff8a8a; margin-right: -0.2em; order: 3; }
.ci-v4:not(.ci-still) .ci-target { animation: ci-target-in 420ms 180ms ease-out both; }
@keyframes ci-target-in { from { opacity: 0; scale: 0.8; } 60% { box-shadow: 0 0 34px #ff3a3ecc; } }
/* 桌上被指向的座位同步闪红光 */
.stage [data-seat].ci-flash { animation: ci-seat-flash 1.2s ease-out; }
@keyframes ci-seat-flash { 0%, 100% { filter: none; } 20%, 55% { filter: drop-shadow(0 0 10px #ff3a3e) drop-shadow(0 0 22px #ff3a3eaa) brightness(1.15); } }
@media (prefers-reduced-motion: reduce) {
  .ci-v4 .ci-streak, .ci-v4 .ci-text, .ci-v4 .ci-target { animation: none !important; }
  .stage [data-seat].ci-flash { animation: none; outline: 2px solid #ff3a3e; outline-offset: 2px; }
}
body.calm .ci-v4 .ci-streak, body.calm .ci-v4 .ci-text, body.calm .ci-v4 .ci-target { animation: none !important; }
@media (max-height: 520px) {
}

/* 牌面事件特写正式素材：满幅插画 + 底部说明（画面里没有宾客） */
.heir-card-fx.has-art { overflow: hidden; border-radius: 10px; background: #000; align-content: end; padding-bottom: 6%; }
.heir-card-fx.has-art .hc-art { position: absolute; inset: 0; animation: ci-push var(--hc-ms) linear both; }
.heir-card-fx.has-art .hc-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.heir-card-fx.has-art .hc-caption { position: relative; padding: 0.3em 1.2em; background: linear-gradient(90deg, #0000, #0b0609d9 20%, #0b0609d9 80%, #0000); }
@media (prefers-reduced-motion: reduce) { .heir-card-fx.has-art .hc-art { animation: none; } }
body.calm .heir-card-fx.has-art .hc-art { animation: none; }
/* 对话框正式素材自带右下 ▼：不再叠 CSS 的 ▼ */
.pt-stage.has-dialog-art[data-anchor='storyboard'] .pt-dialog::after { display: none; }
.pt-stage.has-dialog-art[data-anchor='storyboard'] .pt-dialog { padding: 1.3em 2.6em 1.2em 1.9em; }
/* 横幅光带不压在脸上：在人脸位置挖一个渐变的透明洞（位置由 cutin.js 按导入时的人脸 focus 计算） */
.ci-v4 .ci-banner {
  -webkit-mask-image: radial-gradient(ellipse 15% 24% at var(--ci-fx, 30%) var(--ci-fy, 30%), transparent 55%, #000 100%);
  mask-image: radial-gradient(ellipse 15% 24% at var(--ci-fx, 30%) var(--ci-fy, 30%), transparent 55%, #000 100%);
}

/* 对话串：接话的座位小表情、特写后的群体语气词（座位气泡依次冒出） */
.speech-bubble.banter.short { font-size: 1.25rem; padding: 0.1em 0.5em 0.25em; }
.speech-bubble.crowd { font-size: 0.95rem; font-weight: 700; padding: 0.2em 0.7em; animation: crowd-pop 0.28s cubic-bezier(.3, 1.6, .5, 1) both; }
.speech-bubble.crowd.surprised { border-color: #e6c993; }
.speech-bubble.crowd.sigh { opacity: 0.85; font-weight: 500; }
@keyframes crowd-pop { from { transform: translate(-50%, -100%) scale(0.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .speech-bubble.crowd { animation: none; } }
body.calm .speech-bubble.crowd { animation: none; }
.chat-list li.banter { opacity: 0.92; }
.chat-list li.banter .act-tag, .chat-list li.crowd .act-tag { color: #c7a36a; }
.chat-list li.crowd { font-size: 0.82rem; }

/* ---- 视觉小说式两人对话：左侧（发起者）+ 右侧（回嘴 / 插话的人），不说话的一方变暗一档 ---- */
.pt-figure.pt-side-right .pt-img, .pt-figure.pt-side-right .pt-avatar { transform: scaleX(-1); } /* 右侧立绘镜像，朝向左边的人 */
.pt-figure { transition: filter 260ms ease, opacity 340ms ease, translate 260ms ease; }
.pt-stage { transition: opacity 340ms ease; }
.pt-stage .pt-dialog { transition: opacity 260ms ease, filter 260ms ease; }
.pt-figure.pt-dim { filter: brightness(0.55) saturate(0.8); }
.pt-stage.pt-dim .pt-dialog { opacity: 0.6; filter: brightness(0.72) saturate(0.85); }
/* 阅读顺序：同一时刻只有一个「大」对白框高亮；上一句（另一侧）变暗、字小一档 */
.pt-stage.pt-dim .pt-text { font-size: 0.88em; }
.pt-stage.pt-dim .pt-name { opacity: 0.75; }
.pt-stage .pt-text { transition: font-size 220ms ease; }
.pt-stage.pt-dim .pt-dialog::after { display: none; }
/* 被吐槽时两人同时转头：朝舞台中间微微前探 */
.pt-figure.pt-side-left.pt-look { translate: 2% -1%; }
.pt-figure.pt-side-right.pt-look { translate: -2% -1%; }
.pt-figure.pt-out, .pt-stage.pt-out { opacity: 0; }
.pt-stage.pt-side-right .pt-name { left: auto; right: 1.1em; }
@media (prefers-reduced-motion: reduce) { .pt-figure, .pt-stage, .pt-stage .pt-dialog { transition: none; } }

/* ---- 座位头像的表情层：说话 / 被点名时换成对应表情，保持到下一个公开事件（至少 4 秒），再 400ms 交叉淡化回 calm ---- */
.seat-emo { position: fixed; z-index: 4; pointer-events: none; border-radius: 50%; overflow: hidden; }
.seat-emo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms ease; }
.seat-emo img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .seat-emo img { transition-duration: 120ms; } }

/* 逐字打出：没打到的字照样占位（框不跳），只是看不见 */
.ty-off { visibility: hidden; }

/* /guide/guide.css */
/* 规则书 / 新手教程 / 练习局 / 游戏内提示（public/guide/）。类名前缀：gd- 公共、rb- 规则书、tu- 教程、pr- 练习、tp- 提示。
   只作用于自己的浮层与两处入口按钮，不改主界面布局。纸面沿用宾客簿（lobby-guestbook.css）的皮面 + night_scroll 纸。 */
#guide-root {
  --gd-ink: #2a160e; --gd-ink-dim: #5b3d2a; --gd-red: #7d1a22; --gd-gold: #be9a63; --gd-rule: #6b4a2e55;
  --gd-paper: var(--hd-night_scroll, linear-gradient(#efe4cb, #e2d2b0)) 50% 50% / 260% 150% no-repeat, #e9dcc0;
  --gd-font: 'Kaiti SC', 'STKaiti', 'KaiTi', 'Songti SC', serif;
}
.gd-layer {
  position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: clamp(8px, 2.4vh, 28px) clamp(8px, 2vw, 28px);
  background: radial-gradient(ellipse at 50% 40%, #1a0a10cc, #070306f0); backdrop-filter: blur(2px);
  font-family: var(--serif); color: var(--gd-ink);
}
.gd-layer[hidden] { display: none; }
.gd-btn {
  font: 600 0.95rem var(--serif); letter-spacing: 0.08em; min-height: 40px; padding: 0.35em 1.1em; border-radius: 3px; cursor: pointer;
  color: #f4e4bf; background: linear-gradient(#3b1a1f, #24100f); border: 1px solid #8b6f47; box-shadow: 0 2px 0 #000a;
}
.gd-btn:hover:not(:disabled), .gd-btn:focus-visible { border-color: #e7c88a; color: #fff3d4; outline: none; box-shadow: 0 0 0 2px #e7c88a55, 0 2px 0 #000a; }
.gd-btn.primary { background: linear-gradient(#b8323e, #7d1520 55%, #a32432); color: #fbe6c2; border-color: #d9b371; }
.gd-btn.ghost { background: transparent; color: var(--gd-ink-dim); border-color: #8a6a3a88; box-shadow: none; }
.gd-btn:disabled { opacity: 0.45; cursor: default; }

/* ---------- 入口 ---------- */
/* 首页入口：邀请函字段区的最后一行（纸面内），和「入席」同一套深色缎带小按钮；字号 ≥ 13px，浅金字配深底 */
.gd-home-links { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; justify-content: center; margin: 0; }
.gd-link {
  font: 600 max(13px, 0.86rem) / 1 var(--serif); letter-spacing: 0.04em; color: #f1dcae; white-space: nowrap; cursor: pointer; flex: none;
  min-height: 28px; padding: 0 0.75em; border: 0; border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 93% 50%, 100% 100%, 0 100%, 7% 50%);
  background: linear-gradient(#3a2a24, #1a1210 60%, #2a1d18); box-shadow: inset 0 1px 0 #d9b37155, inset 0 -2px 0 #000a; text-shadow: 0 1px 1px #000;
}
.gd-link:hover, .gd-link:focus-visible { outline: none; color: #fff3d4; background: linear-gradient(#4a3428, #24170f 60%, #3a2a1e); }
/* 按钮行可以比字段区略宽（仍在纸面左右 9% 以内），三个按钮尽量排一行；说明行让位给入口按钮（同样的说明在规则书里）；
   字段区内的元素都不许被压扁（否则「发出邀请」会被挤成 0 高） */
html.has-hd-invitation_card .vb-invitation .gd-home-links { margin: 0.4cqw -7cqw 0; }
.vb-invitation .entry:has(.gd-home-links) .entry-note { display: none; }
.vb-invitation .entry:has(.gd-home-links) > * { flex-shrink: 0; }
body.gd-on-home #gd-rules-top { display: none; }
@media (max-height: 520px) {
  .gd-home-links { gap: 4px 6px; }
  .gd-link { min-height: 24px; padding: 0 0.6em; }
}

/* ---------- 规则书：两页一开的旧书 ---------- */
.rb-book {
  --bw: min(1320px, 96vw, calc((100dvh - 40px) * 1.62));
  width: var(--bw); height: min(calc(var(--bw) / 1.62), calc(100dvh - 24px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(var(--bw) * 0.014) calc(var(--bw) * 0.018); border-radius: 10px; position: relative;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #6b1e25, #3a0d12 70%, #22070b), #2a0a0e;
  box-shadow: inset 0 0 0 2px #120406, inset 0 0 0 6px #3a0d12, inset 0 0 0 7px #c9a35e66, 0 30px 70px #000e;
}
.rb-head { display: flex; align-items: center; gap: 1rem; padding: 0.15rem 0.4rem 0.55rem; color: #f0d79f; min-width: 0; }
.rb-head h2 { margin: 0; font: 700 1.15rem var(--serif); letter-spacing: 0.18em; white-space: nowrap; }
.rb-toc { display: flex; gap: 0.3rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.rb-tab { font: 0.8rem var(--serif); color: #e7c88acc; background: #1a0709; border: 1px solid #8b6f4766; border-radius: 3px 3px 0 0; padding: 0.25em 0.6em; cursor: pointer; }
.rb-tab.on { color: var(--gd-ink); background: #e9dcc0; border-color: #c9a35e; }
.rb-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c9a35e88; background: #1a0709; color: #f0d79f; font-size: 1rem; cursor: pointer; flex: none; }
.rb-close:hover, .rb-close:focus-visible { border-color: #f0d79f; outline: none; }
.rb-pages { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; position: relative; outline: none; }
.rb-pages::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; translate: -1px 0; background: linear-gradient(#1a0a06aa, #3b230f, #1a0a06aa); pointer-events: none; }
.rb-page {
  position: relative; min-width: 0; min-height: 0; overflow: auto; padding: clamp(14px, 2.6vh, 34px) clamp(16px, 2.4vw, 40px) 30px;
  background: linear-gradient(to left, #3b230f55, #3b230f18 3%, transparent 9%), radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, #8a643a33 100%), var(--gd-paper);
  font: 1rem/1.75 var(--gd-font); color: var(--gd-ink); scrollbar-width: thin; scrollbar-color: #8a6a3a66 transparent;
}
.rb-page:nth-child(2) { background: linear-gradient(to right, #3b230f55, #3b230f18 3%, transparent 9%), radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, #8a643a33 100%), var(--gd-paper); }
.rb-page h3 { margin: 0 0 0.7rem; font: 700 1.35rem var(--serif); color: var(--gd-red); letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.5em; border-bottom: 1px solid var(--gd-rule); padding-bottom: 0.35rem; }
.rb-no { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; font: 700 0.8rem var(--serif); color: #fbe6c2; background: radial-gradient(circle at 40% 35%, #d23a46, #8e1520 60%, #5a0a12); box-shadow: 0 0 0 2px #7d121c55; flex: none; }
.rb-page p { margin: 0 0 0.6rem; }
.rb-quote { margin: 0 0 0.9rem; padding: 0.5rem 0.6rem; text-align: center; font-style: italic; color: var(--gd-ink-dim); background: linear-gradient(90deg, transparent, #8a6a3a66, transparent) top / 100% 1px no-repeat, linear-gradient(90deg, transparent, #8a6a3a66, transparent) bottom / 100% 1px no-repeat; }
.rb-note { color: var(--gd-ink-dim); font-size: 0.92rem; }
.rb-faction { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.6rem; }
.rb-faction img { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 2px 2px #0006); }
.rb-faction p { margin: 0; }
.rb-list, .rb-steps { margin: 0 0 0.6rem; padding-left: 1.3rem; }
.rb-list li, .rb-steps li { margin-bottom: 0.25rem; }
.rb-steps li::marker { color: var(--gd-red); font-weight: 700; }
.rb-table-wrap { overflow-x: auto; margin-bottom: 0.6rem; }
.rb-table, .tu-table { border-collapse: collapse; width: 100%; font: 0.9rem/1.4 var(--serif); }
.rb-table th, .rb-table td, .tu-table th, .tu-table td { border: 1px solid #8a6a3a55; padding: 0.3em 0.45em; text-align: center; }
.rb-table thead th, .tu-table thead th { background: #7d1a2218; color: var(--gd-red); font-weight: 700; }
.rb-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.6rem; margin-bottom: 0.6rem; }
.rb-card { margin: 0; text-align: center; }
.rb-card img { width: 100%; aspect-ratio: 0.62; object-fit: cover; border-radius: 6px; box-shadow: 0 3px 8px #0006, 0 0 0 1px #8a6a3a66; display: block; background: #2a0a0e; }
.rb-card figcaption { display: grid; font-size: 0.85rem; line-height: 1.3; margin-top: 0.3rem; }
.rb-card small { color: var(--gd-ink-dim); font-size: 0.75rem; }
.rb-card[data-faction="thorn"] b { color: var(--gd-red); }
.rb-eye { color: #2f5b86; font-weight: 700; }
.rb-seals { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.45rem 0.8rem; }
.rb-seal { display: grid; grid-template-columns: 44px 1fr; gap: 0.55rem; align-items: start; font-size: 0.86rem; line-height: 1.45; }
.rb-seal img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 2px 5px #0007; }
.rb-seal p { margin: 0; }
.rb-folio { position: absolute; right: 18px; bottom: 8px; font: 0.8rem var(--serif); color: var(--gd-ink-dim); }
.rb-page:first-child .rb-folio { right: auto; left: 18px; }
.rb-foot { display: flex; justify-content: center; align-items: center; gap: 1.2rem; padding-top: 0.55rem; color: #f0d79f; }
.rb-nav { font: 600 0.95rem var(--serif); color: #f0d79f; background: #1a0709; border: 1px solid #c9a35e88; border-radius: 3px; min-height: 38px; padding: 0.3em 1em; cursor: pointer; }
.rb-nav:disabled { opacity: 0.35; cursor: default; }
.rb-nav:hover:not(:disabled), .rb-nav:focus-visible { border-color: #f0d79f; outline: none; }
.rb-count { font: 0.9rem var(--serif); min-width: 4em; text-align: center; }
/* 桌面：书页正文与表格放大（11-08 用户：规则书字太小）；章节内容超出一页时页内滚动 */
@media (min-height: 521px) and (min-width: 1000px) {
  .rb-head h2 { font-size: 1.25rem; }
  .rb-page { font-size: 1.1rem; line-height: 1.65; }
  .rb-page h3 { font-size: 1.5rem; }
  .rb-note { font-size: 1rem; }
  .rb-table { font-size: 0.98rem; line-height: 1.3; }
  .rb-table th, .rb-table td { padding: 0.22em 0.4em; }
  .rb-table th[scope="row"] { white-space: nowrap; }
  .rb-roles { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.5rem; }
  .rb-card figcaption { font-size: 0.92rem; }
  .rb-card small { font-size: 0.78rem; }
  .rb-seal { font-size: 0.94rem; line-height: 1.4; }
  .rb-nav, .rb-count { font-size: 1.05rem; }
}
/* 手机横屏：单页滚动 */
.gd-layer.rb-single { padding: 4px; }
.rb-single .rb-book { --bw: 100vw; width: calc(100vw - 8px); height: calc(100dvh - 8px); padding: 6px 8px; }
.rb-single .rb-head { padding: 0 0.2rem 0.35rem; gap: 0.5rem; }
.rb-single .rb-head h2 { display: none; }
.rb-single .rb-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.rb-single .rb-tab { white-space: nowrap; font-size: 0.75rem; }
.rb-single .rb-close { width: 32px; height: 32px; }
.rb-single .rb-pages { display: block; overflow-y: auto; background: var(--gd-paper); border-radius: 4px; -webkit-overflow-scrolling: touch; }
.rb-single .rb-pages::after { display: none; }
.rb-single .rb-page { overflow: visible; background: none; padding: 12px 16px 18px; font-size: 0.92rem; border-bottom: 1px dashed var(--gd-rule); }
.rb-single .rb-page h3 { font-size: 1.1rem; }
.rb-single .rb-roles { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; }
.rb-single .rb-folio { display: none; }
.rb-single .rb-foot { padding-top: 4px; gap: 0.8rem; }
.rb-single .rb-nav { min-height: 30px; font-size: 0.8rem; }

/* ---------- 教程 ---------- */
.tu-panel {
  width: min(1180px, 96vw); height: min(760px, calc(100dvh - 24px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 0.6rem;
  padding: clamp(12px, 2.2vh, 26px) clamp(14px, 2vw, 30px); border-radius: 8px; position: relative;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, #8a643a33 100%), var(--gd-paper);
  box-shadow: inset 0 0 0 2px #b8893e, inset 0 0 0 6px #e9d6b0, inset 0 0 0 7px #8a6428, 0 30px 70px #000e;
}
.tu-head { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--gd-rule); padding-bottom: 0.45rem; }
.tu-head h2 { margin: 0; font: 600 0.9rem var(--serif); letter-spacing: 0.2em; color: var(--gd-ink-dim); }
.tu-ptitle { margin: 0; font: 700 1.4rem var(--serif); color: var(--gd-red); letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.5em; }
.tu-pnum { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; font-size: 0.8em; color: #fbe6c2; background: radial-gradient(circle at 40% 35%, #d23a46, #8e1520 60%, #5a0a12); }
.tu-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #8a6a3a88; background: transparent; color: var(--gd-ink-dim); cursor: pointer; }
.tu-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 1rem; min-height: 0; }
.tu-art { position: relative; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 14px; border-radius: 6px; background: radial-gradient(ellipse at 50% 40%, #3a1218, #1b080b 75%); box-shadow: inset 0 0 0 1px #c9a35e55, inset 0 0 30px #000a; color: #f0e2c4; }
.tu-tags { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; gap: 0.6rem; font: 1rem/1.5 var(--gd-font); }
.tu-tags li { display: grid; grid-template-columns: 28px 1fr; gap: 0.5rem; align-items: start; }
.tu-tags b { color: var(--gd-red); }
.tu-pin { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 700 0.8rem/1 var(--sans); font-style: normal; color: #fff6e0; background: #b6434e; box-shadow: 0 0 0 2px #fff6e0, 0 2px 6px #000a; }
.tu-seat > .tu-pin.on-art { top: -6px; right: -20px; }
.tu-order > .tu-pin.on-art { top: 50%; right: -32px; margin-top: -12px; }
.tu-pin.on-art { position: absolute; top: -10px; right: -10px; z-index: 3; animation: tu-pin-in 300ms ease-out both; }
@keyframes tu-pin-in { from { transform: scale(0.4); } }
.tu-narr { margin: 0; display: flex; align-items: center; gap: 0.7rem; font: 1.08rem/1.5 var(--gd-font); color: var(--gd-ink); background: #fff8e866; border: 1px solid #8a6a3a44; border-radius: 6px; padding: 0.45rem 0.8rem; }
.tu-guide { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #d23a46, #8e1520 60%, #5a0a12); box-shadow: 0 0 0 2px #7d121c, 0 3px 8px #0008; }
.tu-guide img { width: 72%; height: 72%; }
.tu-foot { display: flex; align-items: center; gap: 0.8rem; }
.tu-dots { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.tu-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #8a6a3a; background: transparent; padding: 0; cursor: pointer; }
.tu-dot.on { background: #b6434e; border-color: #7d1a22; }
.tu-count { margin-left: 0.4rem; font: 0.85rem var(--serif); color: var(--gd-ink-dim); }
.tu-navs { display: flex; gap: 0.5rem; }
/* 图示零件 */
[data-pin] { position: relative; }
.tu-row { display: flex; gap: 10px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.tu-card { margin: 0; width: clamp(64px, 7.4vw, 104px); text-align: center; position: relative; }
.tu-card.sm { width: clamp(46px, 5.2vw, 72px); }
.tu-card img { width: 100%; aspect-ratio: 0.62; object-fit: cover; display: block; border-radius: 6px; box-shadow: 0 6px 14px #000c, 0 0 0 1px #c9a35e88; }
.tu-card figcaption { font: 0.8rem/1.3 var(--serif); margin-top: 4px; color: #f0e2c4; }
.tu-card[data-faction="thorn"] figcaption { color: #f19aa2; }
.tu-eye { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; color: #dff0ff; background: #2f5b86; box-shadow: 0 0 0 1px #dff0ff88; }
.tu-back { display: inline-block; width: 40px; aspect-ratio: 0.62; border-radius: 4px; background: center / cover no-repeat #2a0a0e; box-shadow: 0 3px 8px #000c, 0 0 0 1px #c9a35e88; }
.tu-seat { display: grid; justify-items: center; gap: 4px; min-width: 72px; padding: 6px 4px; border-radius: 8px; }
.tu-av { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #c9a35e, 0 4px 10px #000c; background: #2a0a0e; }
.tu-av img { width: 100%; height: 100%; object-fit: cover; }
.tu-nm { font: 600 0.85rem var(--serif); color: #f0d79f; }
.tu-seat.dim .tu-av { filter: grayscale(0.7) brightness(0.55); }
.tu-seat.eye .tu-av { box-shadow: 0 0 0 2px #7fb4e0, 0 0 14px #7fb4e099; }
.tu-eyemark { position: absolute; top: 2px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--asset-icon-awakened, none) center / 80% no-repeat, #1d3550; box-shadow: 0 0 0 1px #9fd0ff; }
.tu-seal { display: grid; justify-items: center; gap: 2px; }
.tu-seal img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 2px 6px #000c; }
.tu-seal.open img { width: 46px; height: 46px; box-shadow: 0 0 0 2px #f0d79f, 0 0 16px #f0d79f88; }
.tu-seal b { font: 600 0.75rem var(--serif); color: #f0d79f; }
.tu-seat { position: relative; }
.tu-token { position: absolute !important; top: -4px; left: -6px; width: 30px; height: 30px; }
.tu-token img { width: 100%; height: 100%; filter: drop-shadow(0 0 6px #f0d79f); }
.tu-ord { font: 700 0.75rem var(--sans); color: #1b080b; background: #f0d79f; border-radius: 999px; padding: 0 0.5em; }
.tu-emblem { width: 56px; height: 56px; filter: drop-shadow(0 3px 4px #000a); }
.tu-zone { display: grid; justify-items: center; gap: 2px; font: 0.85rem var(--serif); }
.tu-zone img { width: 70px; height: 70px; object-fit: contain; }
.tu-zone span { font: 700 1.2rem var(--serif); color: #f0d79f; }
.tu-versus { display: flex; gap: clamp(16px, 4vw, 64px); align-items: center; }
.tu-side { display: grid; justify-items: center; gap: 8px; padding: 14px 18px; border-radius: 10px; background: #0006; box-shadow: inset 0 0 0 1px #c9a35e44; }
.tu-side b { font: 700 1.1rem var(--serif); color: #f0d79f; }
.tu-side.thorn b { color: #f19aa2; }
.tu-moon { display: grid; justify-items: center; gap: 4px; }
.tu-moon-disc { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #ff8f8f, #b3202c 55%, #5a0a12); box-shadow: 0 0 40px #e0405077, 0 0 0 2px #f0d79f55; }
.tu-moon b { font: 700 1.2rem var(--serif); color: #f0d79f; }
.tu-moon small { color: #c9b28c; }
.tu-groups { display: flex; gap: clamp(12px, 2vw, 28px); align-items: flex-end; flex-wrap: wrap; justify-content: center; }
.tu-group { padding: 8px 10px 10px; border-radius: 10px; background: #0005; box-shadow: inset 0 0 0 1px #c9a35e33; }
.tu-group h4 { margin: 0 0 8px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 0.9rem var(--serif); color: #f0d79f; }
.tu-group h4 .tu-emblem { width: 26px; height: 26px; }
.tu-deal { display: flex; gap: clamp(16px, 3vw, 44px); align-items: flex-end; flex-wrap: wrap; justify-content: center; }
.tu-hand h4 { margin: 0 0 8px; text-align: center; font: 600 0.9rem var(--serif); color: #f0d79f; }
.tu-hand.twin { opacity: 0.9; }
.tu-fixed { padding: 4px; border-radius: 8px; box-shadow: 0 0 0 1px #c9a35e55; }
.tu-night { display: grid; gap: 14px; justify-items: center; }
.tu-night2 { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 12px; }
.tu-ring { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 18px 10px 8px; border-radius: 10px; background: #0007; position: relative; max-width: 440px; }
.tu-ring::before { content: attr(data-label); position: absolute; top: 2px; left: 10px; font: 0.75rem var(--serif); color: #c9b28c; }
.tu-ring.blind { filter: brightness(0.8); flex-wrap: nowrap; }
.tu-ring.blind .tu-av { width: 36px; height: 36px; }
.tu-ring.blind .tu-seat { min-width: 44px; }
.tu-col { display: grid; gap: 10px; justify-items: center; }
.tu-gold, .tu-turn { display: grid; gap: 12px; justify-items: center; }
.tu-seats { gap: clamp(6px, 1.4vw, 18px); }
.tu-seat.to { background: #f0d79f14; box-shadow: inset 0 0 0 1px #f0d79f55; }
.tu-arrow { margin: 0; font: 0.95rem var(--serif); color: #f0d79f; }
.tu-order { font: 0.95rem var(--serif); color: #e8d6b0; padding: 4px 10px; border-radius: 6px; background: #0006; }
.tu-order b { color: #f0d79f; }
.tu-chip { font: 0.75rem var(--serif); padding: 1px 8px; border-radius: 999px; background: #ffffff1a; color: #e8d6b0; }
.tu-chip.played { background: #8e1520; color: #fbe6c2; }
.tu-chip.wait { opacity: 0.6; }
.tu-tray { display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 40px; background: radial-gradient(ellipse, #2b1a12, #120808); box-shadow: inset 0 0 0 1px #c9a35e55; min-height: 70px; }
.tu-tray small { color: #c9b28c; font: 0.8rem var(--serif); }
.tu-mine { gap: 18px; align-items: center; }
.tu-btn { font: 600 0.9rem var(--serif); padding: 0.4em 1em; border-radius: 3px; border: 1px solid #c9a35e; color: #f4e4bf; background: #24100f; }
.tu-reveals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 620px); }
.tu-res { padding: 10px; border-radius: 8px; background: #0006; box-shadow: inset 0 0 0 1px #c9a35e33; display: grid; gap: 6px; justify-items: center; }
.tu-res p { margin: 0; font: 0.9rem var(--serif); color: #f0d79f; text-align: center; }
.tu-seals { display: grid; gap: 10px; width: min(100%, 620px); }
.tu-sealgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tu-sealbtn { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 8px; border: 1px solid transparent; background: #0004; color: #f0e2c4; font: 0.78rem var(--serif); cursor: pointer; }
.tu-sealbtn img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 3px 8px #000c; }
.tu-sealbtn[aria-pressed="true"], .tu-sealbtn:hover, .tu-sealbtn:focus-visible { border-color: #f0d79f; background: #f0d79f14; outline: none; }
.tu-sealinfo { min-height: 4.2em; padding: 8px 12px; border-radius: 6px; background: #0006; font: 0.95rem/1.5 var(--serif); }
.tu-sealinfo b { color: #f0d79f; }
.tu-sealinfo p { margin: 2px 0; }
.tu-sealinfo small { color: #c9b28c; font-style: italic; }
.tu-talk { display: grid; gap: 14px; width: min(100%, 520px); justify-items: center; }
.tu-bubble-row { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.tu-papers { align-items: stretch; flex-wrap: nowrap; }
.tu-qs { display: grid; gap: 4px; padding: 6px; border-radius: 8px; background: #1b080bdd; box-shadow: inset 0 0 0 1px #c9a35e88, 0 4px 10px #000a; }
.tu-qs span { font: 600 0.85rem var(--serif); color: #f0d79f; padding: 2px 12px; border-radius: 4px; background: #ffffff12; text-align: center; }
.tu-dots2 { font-style: normal; color: #d23a46; letter-spacing: 0.1em; font-size: 0.75em; }
.tu-say { margin: 0; padding: 10px 16px; border-radius: 14px; background: #f4e8d0; color: var(--gd-ink); font: 1rem var(--gd-font); box-shadow: 0 4px 10px #000a; }
.tu-paper { max-width: 230px; padding: 10px 14px; border-radius: 6px; background: var(--gd-paper); color: var(--gd-ink); font: 0.92rem/1.5 var(--gd-font); }
.tu-paper h4 { margin: 0 0 4px; color: var(--gd-red); font: 700 0.95rem var(--serif); }
.tu-paper p { margin: 0; }
.tu-paper.secret { box-shadow: inset 0 0 0 2px #2f5b8666; }
.tu-summary { display: grid; gap: 12px; width: min(100%, 560px); }
.tu-summary .tu-table { color: #f0e2c4; }
.tu-summary .tu-table thead th { color: #f0d79f; background: #ffffff10; }
.tu-wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 0.95rem var(--serif); }
.tu-wins li { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 6px; background: #0005; }
.tu-wins .tu-emblem { width: 30px; height: 30px; }
/* 首次询问 */
.tu-ask { width: min(560px, 94vw); height: auto; grid-template-rows: auto; gap: 0.9rem; }
.tu-ask h2 { margin: 0; font: 700 1.3rem var(--serif); color: var(--gd-red); letter-spacing: 0.16em; text-align: center; }
.tu-asktips { display: flex; gap: 0.5rem; align-items: center; font: 0.95rem var(--serif); color: var(--gd-ink-dim); justify-content: center; }
.tu-asktips input { width: 18px; height: 18px; accent-color: #8e1520; }
.tu-askbtns { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
/* 桌面：面板更大、标注与向导字号加大；底边留出纸面花饰的位置，页码不压花饰 */
@media (min-height: 521px) and (min-width: 1000px) {
  .tu-panel:not(.tu-ask) { width: min(1320px, 94vw); height: min(860px, calc(100dvh - 24px)); padding-bottom: clamp(28px, 4.4vh, 44px); }
  .tu-ptitle { font-size: 1.7rem; }
  .tu-head h2 { font-size: 1rem; }
  .tu-body { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 1.4rem; }
  .tu-tags { font-size: 1.28rem; gap: 1rem; }
  .tu-tags li { grid-template-columns: 34px 1fr; }
  .tu-tags .tu-pin { width: 28px; height: 28px; font-size: 0.9rem; }
  .tu-narr { font-size: 1.3rem; padding: 0.55rem 1rem; }
  .tu-guide { width: 46px; height: 46px; }
  .tu-count { font-size: 1rem; }
  .tu-foot .gd-btn { font-size: 1.05rem; }
}
/* 手机横屏：图示与标注左右并排、字号收小，整页不出屏 */
@media (max-height: 520px) {
  .tu-panel { height: calc(100dvh - 8px); width: calc(100vw - 8px); padding: 6px 10px; gap: 0.3rem; }
  .gd-layer { padding: 4px; }
  .tu-head { padding-bottom: 0.2rem; }
  .tu-head h2 { display: none; }
  .tu-ptitle { font-size: 1rem; }
  .tu-x { width: 28px; height: 28px; }
  .tu-body { grid-template-columns: minmax(0, 1fr) 210px; gap: 0.5rem; }
  .tu-art { padding: 8px; place-items: center; }
  .tu-tags { font-size: 0.82rem; gap: 0.3rem; }
  .tu-tags li { grid-template-columns: 22px 1fr; gap: 0.3rem; }
  .tu-pin { width: 20px; height: 20px; font-size: 0.7rem; }
  .tu-narr { font-size: 0.85rem; padding: 0.2rem 0.5rem; }
  .tu-guide { width: 28px; height: 28px; }
  .tu-card { width: 52px; }
  .tu-card.sm { width: 40px; }
  .tu-card figcaption { font-size: 0.65rem; }
  .tu-seat { min-width: 52px; padding: 2px; gap: 2px; }
  .tu-av { width: 34px; height: 34px; }
  .tu-nm { font-size: 0.7rem; }
  .tu-seal img { width: 24px; height: 24px; }
  .tu-seal.open img { width: 30px; height: 30px; }
  .tu-emblem { width: 38px; height: 38px; }
  .tu-zone img { width: 44px; height: 44px; }
  .tu-moon-disc { width: 46px; height: 46px; }
  .tu-sealgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .tu-sealbtn { padding: 3px 2px; font-size: 0.65rem; }
  .tu-sealbtn img { width: 30px; height: 30px; }
  .tu-sealinfo { min-height: 0; font-size: 0.8rem; padding: 4px 8px; }
  .tu-reveals { gap: 6px; width: 100%; }
  .tu-seals, .tu-talk, .tu-summary { width: 100%; }
  .tu-res { padding: 4px; }
  .tu-res p { font-size: 0.72rem; }
  .tu-ring { padding: 14px 4px 4px; }
  .tu-tray { min-height: 44px; padding: 4px 10px; }
  .tu-back { width: 26px; }
  .tu-table { font-size: 0.72rem; line-height: 1.15; }
  .tu-summary { gap: 6px; }
  .tu-summary .tu-table th, .tu-summary .tu-table td { padding: 0.12em 0.4em; }
  .tu-wins .tu-emblem { width: 20px; height: 20px; }
  .tu-panel:not(.tu-ask) { padding-bottom: 12px; }
  .tu-wins { font-size: 0.75rem; gap: 4px; }
  .tu-wins li { padding: 3px 6px; }
  .tu-foot { gap: 0.4rem; }
  .tu-foot .gd-btn { min-height: 32px; font-size: 0.8rem; padding: 0.2em 0.7em; }
  .tu-dot { width: 9px; height: 9px; }
  .tu-group { padding: 4px 6px 6px; }
  .tu-group h4 { font-size: 0.75rem; margin-bottom: 4px; }
  .tu-groups { gap: 8px; }
  .tu-paper, .tu-say { font-size: 0.78rem; padding: 6px 10px; max-width: none; }
  .tu-qs span { font-size: 0.7rem; padding: 1px 8px; }
  .tu-night { grid-template-columns: auto auto; align-items: center; gap: 10px; }
  .tu-night2 { flex-direction: column; gap: 6px; }
  .tu-ring { max-width: 290px; }
  .tu-ring.blind { transform: none; }
  .tu-ring.blind .tu-av { width: 24px; height: 24px; }
  .tu-ring.blind .tu-seat { min-width: 34px; }
  .tu-res .tu-card.sm { width: 32px; }
  .tu-res .tu-card figcaption { display: none; }
  .tu-pin.on-art { top: -8px; right: -8px; }
}

/* ---------- 练习局 ---------- */
.pr-panel {
  width: min(1180px, 96vw); height: min(820px, calc(100dvh - 24px)); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 0.6rem; position: relative;
  padding: clamp(10px, 2vh, 22px) clamp(12px, 2vw, 26px); border-radius: 10px; color: #f0e2c4;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, #100e1366 30%, #100e13ee 100%), var(--asset-bg_castle_hall) center 30% / cover no-repeat, #1a0709;
  box-shadow: inset 0 0 0 2px #120406, inset 0 0 0 6px #3a0d12, inset 0 0 0 7px #c9a35e66, 0 30px 70px #000e;
}
.pr-head { display: flex; align-items: center; gap: 1rem; }
.pr-head h2 { margin: 0; font: 700 1.15rem var(--serif); letter-spacing: 0.16em; color: #f0d79f; }
.pr-round { font: 0.9rem var(--serif); color: #c9b28c; }
.pr-head .gd-btn { margin-left: auto; color: #e7c88a; }
.pr-lesson { margin: 0; display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.9rem; border-radius: 6px; font: 1.05rem/1.45 var(--gd-font); background: var(--gd-paper); color: var(--gd-ink); box-shadow: 0 4px 12px #000a; }
.pr-lesson.act { box-shadow: 0 0 0 2px #f0d79f, 0 4px 16px #f0d79f44; }
/* 桌面：与正式对局同一张 table_close（--asset-table_oval）、同一套实测锚点（--felt-* / --rim-*）、同样的圣杯 / 荆棘纹章 */
.pr-tablebox { min-height: 0; container-type: size; display: grid; place-items: center; }
.pr-table {
  --tw: min(100cqw, calc(100cqh / var(--table-hw, 0.4275)));
  position: relative; width: var(--tw); height: calc(var(--tw) * var(--table-hw, 0.4275));
  background: var(--asset-table_oval) center / 100% 100% no-repeat; filter: drop-shadow(0 18px 26px #000c);
  --av: clamp(30px, calc(var(--tw) * 0.052), 70px);
}
html:not(.has-official-table) .pr-table { background: radial-gradient(ellipse at 50% 48%, #3b2418 0 60%, #5a3a20 62% 66%, transparent 67%); }
.pr-plane {
  position: absolute; left: calc((var(--felt-cx, 0.5) - var(--felt-rx, 0.46)) * 100%); width: calc(var(--felt-rx, 0.46) * 200%);
  top: calc((var(--felt-cy, 0.48) - var(--felt-ry, 0.37)) * 100%); height: calc(var(--felt-ry, 0.37) * 200%);
  display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; justify-items: center; padding: 0 9%;
  transform: perspective(calc(var(--tw) * 1.1)) rotateX(38deg); transform-origin: 50% 60%; pointer-events: none;
}
.pr-zone { pointer-events: auto; cursor: help; position: relative; width: 58%; aspect-ratio: 1; display: grid; place-items: center; }
.pr-zone::before { content: ''; position: absolute; inset: 0; background: center / contain no-repeat; opacity: 0.32; }
.pr-zone.altar::before { background-image: var(--hd-emblem_chalice, url('/assets/ui/emblem-chalice.svg')); }
.pr-zone.abyss::before { background-image: var(--hd-emblem_thorns, url('/assets/ui/emblem-thorns.svg')); opacity: 0.36; }
.pr-pile, .pr-back { display: block; aspect-ratio: 2 / 3; border-radius: 4px; background: var(--asset-card-back) center / cover no-repeat #2a0a0e; box-shadow: 0 0 0 1px #000c, 0 1.5px 0 #3a2a1a, 0 6px 10px -2px #000b; }
.pr-pile { position: absolute; width: 34%; left: 33%; top: 25%; transform: translate(calc(var(--k) * 3px), calc(var(--k) * -2px)) rotate(calc(var(--k) * 7deg - 6deg)); filter: brightness(0.82); }
.pr-fronts { display: flex; gap: 6%; justify-content: center; width: 100%; }
.pr-back { width: 22%; filter: brightness(1.35) contrast(1.1); box-shadow: 0 0 0 1px #000c, 0 0 0 2px #c9a35e99, 0 8px 14px -2px #000d; }
.pr-back.pending { visibility: hidden; }
/* 落桌：与正式对局同一个 mfx-land（轻微回弹 + 接触阴影），之后新牌的金边慢慢褪去（mfx-new） */
.pr-back.landed { animation: mfx-land var(--mfx-land, 260ms) cubic-bezier(.2,.8,.3,1) both, pr-new 2600ms ease-in both; }
@keyframes pr-new { 0%, 40% { filter: brightness(1.35) contrast(1.1) drop-shadow(0 0 6px #e0a24f88); } 100% { filter: brightness(1.35) contrast(1.1); } }
/* 座位：勋章骑在桌沿上（头像 + seat_frame 框 + name_ribbon 名牌） */
.pr-seat {
  position: absolute; z-index: 2; left: calc((var(--rim-cx, 0.5) + var(--sx) * var(--rim-rx, 0.477)) * 100%); top: calc((var(--rim-cy, 0.5) + var(--sy) * var(--rim-ry, 0.39)) * 100%);
  transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center;
}
button.pr-seat { cursor: pointer; }
button.pr-seat:disabled { cursor: not-allowed; }
button.pr-seat:disabled .pr-av { filter: brightness(0.78) saturate(0.8); }
.pr-av { position: relative; width: var(--av); height: var(--av); border-radius: 50%; overflow: visible; box-shadow: 0 6px 12px #000c; background: #2a0a0e; }
.pr-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pr-av::after {
  content: ''; position: absolute; pointer-events: none;
  width: calc(100% / var(--frame-hole, 0.84)); height: calc(100% / var(--frame-hole, 0.84) * var(--frame-aspect, 1));
  left: calc(50% - var(--frame-hx, 0.5) * 100% / var(--frame-hole, 0.84)); top: calc(50% - var(--frame-hy, 0.54) * 100% / var(--frame-hole, 0.84) * var(--frame-aspect, 1));
  background: var(--asset-seat_frame) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 4px #000c);
}
html:not(.has-seat-frame) .pr-av { box-shadow: 0 0 0 2px #c9a35e, 0 6px 12px #000c; }
/* 当前行动者：与正式对局一致——细金圈、不过曝；其他头像略暗；切换时 280ms 淡入（MATCH_FX.actorFade） */
.pr-av img, .pr-av::after { transition: filter 280ms ease; }
.pr-table:has(.pr-seat.actor) .pr-seat:not(.actor):not(.target) .pr-av img { filter: brightness(0.66) saturate(0.78); }
.pr-seat.actor .pr-av::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; z-index: 1;
  box-shadow: 0 0 0 2px #e6c27acc, 0 0 10px 1px #ffd98f66; animation: mfx-ring 280ms ease both; }
/* 揭示结算：出牌者头像同步一次深红（处决）/ 金色（献祭）脉冲（match-v2.css 的 mfx-fate） */
.pr-seat.pr-fate .pr-av { animation: mfx-fate var(--mfx-fate-ms, 1600ms) ease-out both; }
.pr-seat.pr-fate[data-fate='killed'] { --fate-c: #c0182e; }
.pr-seat.pr-fate[data-fate='sacrificed'] { --fate-c: #f0c060; }
/* 计数变化：结算后数字放大、闪一下（正式对局 mfx-count） */
.pr-score b.pr-count { display: inline-block; --cc: #ffd98f; animation: mfx-count 700ms ease-out both; }
.pr-score .abyss b.pr-count { --cc: #ff6b78; }
/* 演出层：在练习面板之上，不挡操作 */
.pr-host { display: contents; }
.pr-fx { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.pr-fx .fx-bubble.pr-gasp { transform: translate(-50%, -100%); }
@media (max-height: 500px) { .pr-fx .fx-caption.reveal-cap { font-size: 0.9rem; max-width: 94vw; white-space: nowrap; padding: 0.4rem 0.9rem; min-width: 0; } }
.pr-seat.target .pr-av::after { filter: drop-shadow(0 0 6px var(--secret, #91abc0)) drop-shadow(0 0 12px #91abc0); }
.pr-seat.target .pr-av { animation: pr-pulse 1.4s ease-in-out infinite; }
@keyframes pr-pulse { 50% { box-shadow: 0 0 0 3px #91abc0, 0 0 18px #91abc0; } }
.pr-nm {
  position: relative; z-index: 1; margin-top: calc(var(--av) * 0.12); max-width: calc(var(--av) * 2.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 600 clamp(0.62rem, calc(var(--av) * 0.21), 0.9rem) var(--serif); color: #f4e9d5; text-shadow: 0 1px 2px #000;
  border-style: solid; border-color: transparent; border-width: 0 1.1em; border-image: var(--asset-name_ribbon) 0 15% fill / 0 1.1em stretch; padding: 0.16em 0.1em 0.2em;
}
html:not(.has-name-ribbon) .pr-nm { background: #1a0709e6; border: 1px solid #8b6f47; border-radius: 3px; padding: 0.1em 0.6em; }
.pr-icons { display: flex; gap: 3px; align-items: center; justify-content: center; padding: 1px 6px; border-radius: 999px; background: #0b0608c0; min-height: 1.4em; }
.pr-seat.me .pr-icons { position: absolute; left: calc(50% + var(--av) * 0.68); top: calc(var(--av) * 0.5); transform: translateY(-50%); }
.pr-coin { width: calc(var(--av) * 0.36); height: calc(var(--av) * 0.36); filter: drop-shadow(0 0 5px #f0d79f); }
.pr-seal { width: calc(var(--av) * 0.32); height: calc(var(--av) * 0.32); border-radius: 50%; }
.pr-seal.open { display: inline-flex; align-items: center; gap: 3px; width: auto; height: auto; }
.pr-seal.open img { width: calc(var(--av) * 0.36); height: calc(var(--av) * 0.36); border-radius: 50%; box-shadow: 0 0 0 1px #f0d79f; }
.pr-seal em { font: 600 clamp(0.58rem, calc(var(--av) * 0.18), 0.78rem) var(--serif); font-style: normal; color: #f0d79f; }
.pr-chip { font: clamp(0.58rem, calc(var(--av) * 0.18), 0.78rem) var(--serif); padding: 0 7px; border-radius: 999px; background: #ffffff1a; white-space: nowrap; }
.pr-chip.played { background: #8e1520; color: #fbe6c2; }
/* 计数：顶部提示条右端 */
.pr-score { margin-left: auto; display: flex; gap: 0.9em; flex: none; font: 600 0.88rem var(--serif); color: var(--gd-ink-dim); white-space: nowrap; }
.pr-score b { font-size: 1.1em; color: var(--gd-red); }
.pr-score .abyss b { color: #8e1520; }
.pr-ltext { min-width: 0; }
.pr-mine { display: flex; align-items: center; gap: 14px; justify-content: center; }
.pr-hand { display: flex; gap: 10px; }
.pr-card { position: relative; width: clamp(70px, 7.4vw, 104px); padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: transform 160ms ease-out; }
.pr-card img { width: 100%; aspect-ratio: 0.62; object-fit: cover; display: block; border-radius: 6px; box-shadow: 0 6px 14px #000c, 0 0 0 1px #c9a35e88; }
.pr-card span { display: block; font: 0.78rem var(--serif); margin-top: 3px; }
.pr-card[aria-disabled="true"] { cursor: default; filter: brightness(0.55); }
.pr-card.ok { animation: pr-lift 1.6s ease-in-out infinite; }
.pr-card.ok img { box-shadow: 0 6px 14px #000c, 0 0 0 2px #f0d79f; }
.pr-card.sel { transform: translateY(-18px); animation: none; }
.pr-card.sel img { box-shadow: 0 10px 20px #000c, 0 0 0 3px #f0d79f, 0 0 20px #f0d79f99; }
@keyframes pr-lift { 50% { filter: brightness(1.18) drop-shadow(0 0 8px #f0d79f); } }
.pr-eye { position: absolute; top: 4px; left: 4px; font-style: normal; font-size: 0.75rem; width: 20px; height: 20px; border-radius: 50%; background: #2f5b86; color: #dff0ff; display: grid; place-items: center; }
.pr-done { position: absolute; inset: 0; margin: auto; width: min(460px, 90%); height: fit-content; padding: 22px 26px; border-radius: 8px; background: var(--gd-paper); color: var(--gd-ink); text-align: center; box-shadow: 0 0 0 2px #b8893e, 0 30px 80px #000; }
.pr-done h3 { margin: 0 0 0.5rem; font: 700 1.3rem var(--serif); color: var(--gd-red); letter-spacing: 0.14em; }
.pr-done p { font: 1rem/1.6 var(--gd-font); margin: 0 0 1rem; }
@media (max-height: 520px) {
  .pr-panel { width: calc(100vw - 8px); height: calc(100dvh - 8px); padding: 6px 10px; gap: 0.3rem; }
  .pr-head h2 { font-size: 0.9rem; }
  .pr-head .gd-btn { min-height: 28px; font-size: 0.75rem; padding: 0.1em 0.6em; }
  .pr-lesson { font-size: 0.85rem; padding: 0.25rem 0.6rem; }
  .pr-lesson .tu-guide { width: 26px; height: 26px; }
  .pr-score { font-size: 0.72rem; gap: 0.6em; }
  .pr-card { width: 40px; }
  .pr-card span { display: none; }
  .pr-mine { gap: 10px; }
  .pr-hand { gap: 6px; }
  .pr-card span { font-size: 0.62rem; }
  .pr-card.sel { transform: translateY(-10px); }
  .pr-mine .gd-btn { min-height: 34px; font-size: 0.8rem; }
}

/* ---------- 游戏内提示 ---------- */
.tp-tip {
  position: fixed; z-index: 800; max-width: min(320px, 70vw); padding: 10px 12px 8px; border-radius: 8px;
  background: var(--hd-night_scroll, linear-gradient(#efe4cb, #e2d2b0)) 50% 50% / 260% 150% no-repeat, #e9dcc0;
  color: #2a160e; font: 0.95rem/1.5 var(--rb-font, 'Kaiti SC', 'STKaiti', 'KaiTi', serif); box-shadow: 0 0 0 1px #8a6428, 0 10px 26px #000c;
  animation: tp-in 220ms ease-out both;
}
.tp-tip[hidden], .tp-ring[hidden] { display: none; }
@keyframes tp-in { from { opacity: 0; transform: translateY(6px); } }
.tp-tip p { margin: 0 0 6px; }
.tp-btns { display: flex; gap: 6px; justify-content: flex-end; }
.tp-btns button { font: 600 0.8rem var(--serif); min-height: 30px; padding: 0.15em 0.8em; border-radius: 3px; cursor: pointer; border: 1px solid #8a6428; }
.tp-ok { background: #7d1520; color: #fbe6c2; }
.tp-never { background: transparent; color: #5b3d2a; }
.tp-arrow { position: absolute; width: 12px; height: 12px; background: #e9dcc0; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 1px 1px 0 #8a6428; }
.tp-tip[data-side="above"] .tp-arrow { top: 100%; }
.tp-tip[data-side="below"] .tp-arrow { top: 0; box-shadow: -1px -1px 0 #8a6428; }
.tp-tip[data-side="left"] .tp-arrow { left: 100%; }
.tp-tip[data-side="right"] .tp-arrow { left: 0; }
.tp-ring { position: fixed; z-index: 790; pointer-events: none; border-radius: 10px; box-shadow: 0 0 0 2px #f0d79f, 0 0 18px 4px #f0d79f88; animation: tp-glow 1.6s ease-in-out infinite; }
@keyframes tp-glow { 50% { box-shadow: 0 0 0 2px #f0d79faa, 0 0 6px 1px #f0d79f44; } }
@media (max-height: 520px) {
  .tp-tip { max-width: 250px; font-size: 0.78rem; padding: 6px 8px 5px; }
  .tp-btns button { min-height: 26px; font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-ring, .pr-card.ok, .pr-seat.target { animation: none; }
}

/* /styles/side-float.css */
/* =====================================================================
   宽屏对局的右栏（11-01 用户决定）：默认收起成右上角的紧凑框，只放 5 项关键信息；
   点开后整栏以浮层抽屉的形式盖在桌面右侧，不挤压桌面布局。右下区域（紧凑框下方到桌面右下角）留给右侧人物立绘与对话框。
   只在 ≥1101px 宽、>520px 高生效（app.js SIDE_FLOAT_MQ）；更窄的屏幕与手机横屏保持原来的抽屉 + 顶栏计分条。
   ===================================================================== */
.side-close { display: none; }
.side-mini[hidden] { display: none !important; }
@media (min-width: 1101px) and (min-height: 521px) {
  .layout.side-float { grid-template-columns: minmax(0, 1fr); }
  .layout.side-float .headline .scorebar { display: none; } /* 紧凑框里已有，宽屏不重复 */
  /* 抽屉：固定在右侧，顶栏下方到底，盖在桌面上 */
  .layout.side-float .side { display: none; position: fixed; top: var(--side-top, calc(var(--top-h) + 0.5rem)); /* 终局：从胜负横幅下方开始，不盖横幅的按钮（app.js 写 --side-top） */ right: 0.8rem; bottom: 0.8rem; width: min(380px, 30vw); max-height: none; z-index: 40;
    box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e66, -18px 0 50px #000c; animation: side-in 0.22s ease-out both; }
  .layout.side-float.side-open .side { display: flex; }
  .layout.side-float .side-close { display: block; font: 600 0.8rem var(--serif); color: var(--ivory-dim, #bfb2a2); background: none; border: 0; border-left: 1px solid #c7a36a33; cursor: pointer; white-space: nowrap; padding: 0 0.6em; }
  .layout.side-float .side-close:hover, .layout.side-float .side-close:focus-visible { color: #ffe1a8; outline: none; }
  /* 紧凑框：右上角，贴在顶栏下方；两列排 5 项，第 5 项（继承人）占整行 */
  .side-mini { position: fixed; top: calc(var(--top-h) + 0.5rem); right: 0.8rem; z-index: 30; width: 272px; max-height: 30vh; box-sizing: border-box;
    padding: 0.45rem 0.6rem 0.55rem; background: linear-gradient(180deg, #160e13f2, #0c0709f2); font-family: var(--serif);
    box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e88, 0 0 0 3px #0b0608, 0 12px 30px #000c; }
  .sm-head { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.35rem; }
  .sm-head button { font: 600 0.78rem var(--serif); color: #f1dfb8; background: #1d1218; border: 1px solid #c9a35e66; padding: 0.15em 0.55em; cursor: pointer; position: relative; white-space: nowrap; }
  .sm-head .sm-open { margin-right: auto; color: #e9c983; letter-spacing: 0.12em; }
  .sm-head button:hover, .sm-head button:focus-visible { border-color: #ffe1a8; color: #fff3d6; outline: none; }
  .sm-unread { position: absolute; top: -0.55em; right: -0.55em; min-width: 1.25em; height: 1.25em; padding: 0 0.25em; border-radius: 0.7em; background: #b3263a; color: #fff; font: 700 0.68rem/1.25em var(--sans, sans-serif); text-align: center; }
  .sm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.5rem; }
  .sm-cell { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem; padding: 0.12rem 0.35rem; background: #0b080a99; box-shadow: inset 0 0 0 1px #c9a35e22; white-space: nowrap; }
  .sm-cell.heir { grid-column: 1 / -1; }
  .sm-l { font-size: 0.72rem; color: var(--ivory-dim, #bfb2a2); }
  .sm-cell b { font-size: 1.05rem; color: #f1dfb8; }
  .sm-cell b small { font-size: 0.7em; color: var(--ivory-dim, #bfb2a2); margin-left: 0.1em; }
  .sm-cell.abyss b { color: #e0717b; }
  .sm-cell.altar b { color: #ffd98f; }
  .sm-cell.crys b { color: #9fc3d8; }
  .sm-cell.heir b { font-size: 0.86rem; color: #a99fa6; }
  .sm-cell.heir.on b { color: #ffd98f; }
  .sm-cell.bump { animation: sm-bump 1.1s ease-out; }
}
@keyframes side-in { from { transform: translateX(24px); opacity: 0; } }
@keyframes sm-bump { 0% { box-shadow: inset 0 0 0 1px #ffe1a8, 0 0 16px #e0a24faa; background: #3a2618; } 100% { box-shadow: inset 0 0 0 1px #c9a35e22; } }
body.calm .sm-cell.bump, body.calm .layout.side-float .side { animation: none; }
/* 主区顶部的胜负横幅与状态行给右上角让出位置（紧凑框 / 抽屉），按钮不被盖住；舞台本身仍铺满（框下面只是宴会厅背景） */
@media (min-width: 1101px) and (min-height: 521px) {
  .layout.side-float #main .verdict, .layout.side-float #main .headline { margin-right: calc(272px + 1.2rem); }
}
body.opening-on .side-mini, body.opening-on .layout.side-float .side { display: none !important; } /* 开场仪式期间不显示（不盖开场的跳过按钮） */

/* /styles/seal-ui.css */
/* =====================================================================
   夜宴秘印：座位徽章常驻、自己的秘印令牌、刻楷小卡、战况面板「已翻开的秘印」（public/seal-ui.js）
   ===================================================================== */

/* ---------- 座位徽章：没翻开 = 背面（夜宴秘印背面图），翻开 = 正面 ---------- */
html.has-full-table .stage .seat .badge.seal { cursor: help; }
html.has-full-table .stage .seat .badge.seal.back { background: #0d0a0c; box-shadow: 0 0 0 1.5px #8a7350, 0 2px 4px #000c; }
html.has-full-table .stage .seat .badge.seal.back img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: brightness(0.92); }
html.has-full-table .stage .seat .badge.seal:is(:hover, :focus-visible) { outline: none; box-shadow: 0 0 0 1.5px #ffe1a8, 0 0 10px #ffd98faa, 0 2px 4px #000c; }

/* ---------- 自己的秘印令牌：手牌区左侧，金边圆章；阵营纹章挪到手牌右端 ---------- */
.my-area .hand-row .seal-token {
  --st: clamp(40px, calc(var(--card-w, 105px) * 0.53), 64px);
  all: unset; box-sizing: border-box; position: absolute; z-index: 7; width: var(--st); height: var(--st); border-radius: 50%; cursor: help;
  left: calc(var(--st) * -0.42); bottom: calc(var(--card-w, 105px) * -0.02);
  background: radial-gradient(circle at 40% 35%, #3a2a24, #120a0e 70%);
  box-shadow: 0 0 0 1.5px #0b0608, 0 0 0 3px #e6c27a, 0 0 0 4.5px #0b0608, 0 0 16px #e6c27a66, 0 6px 14px #000d;
  transition: filter 0.6s ease, box-shadow 0.3s ease;
}
.my-area .hand-row .seal-token .st-face { position: absolute; inset: 4%; border-radius: 50%; background: var(--seal-img) center / cover no-repeat; }
.my-area .hand-row .seal-token:is(:hover, :focus-visible) { box-shadow: 0 0 0 1.5px #0b0608, 0 0 0 3px #ffe1a8, 0 0 0 4.5px #0b0608, 0 0 22px #ffd98fcc, 0 6px 14px #000d; }
.my-area .hand-row .seal-token .st-shard { display: none; }
/* 用完：变暗（灰度 + 亮度约 0.35），右下角盖「已用」小印；仍可悬停查看 */
.my-area .hand-row .seal-token.used .st-face { filter: grayscale(1) brightness(0.35); }
.my-area .hand-row .seal-token.used { box-shadow: 0 0 0 1.5px #0b0608, 0 0 0 3px #6d5d48, 0 0 0 4.5px #0b0608, 0 6px 14px #000d; }
.my-area .hand-row .seal-token .st-used { position: absolute; right: -14%; bottom: -10%; padding: 0.05em 0.35em; rotate: -12deg;
  font: 400 calc(var(--st) * 0.24)/1.2 var(--rb-kai, var(--serif)); letter-spacing: 0.05em; color: #f3d6cf;
  background: #7d1520; border: 1px solid #d6727b; border-radius: 3px; box-shadow: 0 2px 4px #000c; }
/* 碎裂、熄灭：裂成三片向外散开，主体闪一下后暗下去（只播一次） */
.my-area .hand-row .seal-token.breaking .st-face { animation: st-dim 900ms ease-in both; }
.my-area .hand-row .seal-token.breaking .st-used { animation: st-stamp 320ms 780ms cubic-bezier(.16,1,.3,1) both; }
.my-area .hand-row .seal-token.breaking .st-shard { display: block; position: absolute; inset: 4%; border-radius: 50%; background: var(--seal-img) center / cover no-repeat; pointer-events: none;
  animation: st-shard 760ms cubic-bezier(.2,.7,.3,1) both; }
.my-area .hand-row .seal-token .st-shard.a { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 60%); --dx: 34%; --dy: -36%; --dr: 24deg; }
.my-area .hand-row .seal-token .st-shard.b { clip-path: polygon(50% 50%, 100% 60%, 100% 100%, 20% 100%); --dx: 26%; --dy: 40%; --dr: -18deg; }
.my-area .hand-row .seal-token .st-shard.c { clip-path: polygon(50% 50%, 20% 100%, 0 100%, 0 0, 50% 0); --dx: -38%; --dy: 6%; --dr: -26deg; }
@keyframes st-shard { 0% { opacity: 1; filter: brightness(1.8); } 100% { opacity: 0; translate: var(--dx) var(--dy); rotate: var(--dr); filter: brightness(0.4); } }
@keyframes st-dim { 0% { filter: brightness(1.9) saturate(1.2); } 30% { filter: brightness(1.4); } 100% { filter: grayscale(1) brightness(0.35); } }
@keyframes st-stamp { from { opacity: 0; scale: 1.8; } }
body.calm .my-area .hand-row .seal-token.breaking :is(.st-face, .st-shard, .st-used) { animation: none; }
@media (prefers-reduced-motion: reduce) { .my-area .hand-row .seal-token.breaking :is(.st-face, .st-shard, .st-used) { animation: none; } .my-area .hand-row .seal-token.breaking .st-shard { display: none; } }

.my-area .hand-row.has-seal .fac-emblem { left: auto; right: calc(var(--card-w, 105px) * 0.02); }
.my-area .hand-row.has-seal .hand { position: relative; z-index: 1; }
.my-area .hand-row .seal-token { z-index: 8; }
@media (max-height: 520px) {
  .my-area .hand-row .seal-token { --st: 40px; left: -38px; bottom: auto; top: 46px; }
  .my-area .hand-row.has-seal .fac-emblem, html.has-close-table .my-area .hand-row.has-seal .fac-emblem { left: auto; right: -6px; top: -10px; bottom: auto; }
}

/* ---------- 刻楷小卡（对白框同款：深红底、金边、四角饰角） ---------- */
.seal-tip { position: fixed; z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: 0.8em; align-items: center; width: max-content; max-width: min(26rem, 88vw);
  padding: 0.85em 1.2em 0.95em 0.95em; pointer-events: none;
  color: #f1e3c8; font: 400 calc(0.95rem * var(--kai-k, 1.08))/1.55 var(--rb-kai, var(--serif)); letter-spacing: 0.03em;
  background: linear-gradient(#1a0a10f2, #0d0508f5); border: 1px solid #c9a46a; box-shadow: 0 0 0 4px #0008, 0 0 0 5px #c9a46a55, 0 14px 36px #000c;
  animation: sp-in 160ms ease-out both; }
.seal-tip[hidden] { display: none; }
.seal-tip::before { content: ''; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(#e6c993, #e6c993) left top / 10px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left top / 2px 10px no-repeat,
    linear-gradient(#e6c993, #e6c993) right top / 10px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right top / 2px 10px no-repeat,
    linear-gradient(#e6c993, #e6c993) left bottom / 10px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left bottom / 2px 10px no-repeat,
    linear-gradient(#e6c993, #e6c993) right bottom / 10px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right bottom / 2px 10px no-repeat; }
.seal-tip .sp-img { width: 3.4em; height: 3.4em; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #c9a46a, 0 3px 8px #000c; }
.seal-tip .sp-body { display: grid; gap: 0.2em; min-width: 0; }
.seal-tip .sp-name { font-weight: 400; font-size: 1.08em; color: #f4d79b; letter-spacing: 0.08em; }
.seal-tip .sp-text { margin: 0; }
.seal-tip .sp-state { margin: 0; font-size: 0.86em; color: #c9b9a2; overflow-wrap: anywhere; } /* 长句（第 N 轮 · 谁把信物交给谁）折行，不冲出框（11-03） */
.seal-tip .sp-name, .seal-tip .sp-text { overflow-wrap: anywhere; }
.seal-tip[data-kind='own'] .sp-state { color: #b9d3e8; }
@keyframes sp-in { from { opacity: 0; translate: 0 4px; } }
@media (max-height: 520px) { .seal-tip { font-size: 0.82rem; max-width: min(21rem, 64vw); padding: 0.65em 0.9em 0.7em 0.7em; } }

/* ---------- 战况面板：已翻开的秘印 ---------- */
.rp-seals { list-style: none; margin: 0 0 0.6rem; padding: 0; display: grid; gap: 0.35rem; }
.rp-seals li { display: grid; grid-template-columns: 1.7rem auto 1fr; column-gap: 0.45rem; align-items: center; font-size: 0.85rem; }
.rp-seals li img { grid-row: span 2; width: 1.7rem; height: 1.7rem; border-radius: 50%; box-shadow: 0 0 0 1px #c9a35e; }
.rp-seals li small { grid-column: 2 / -1; color: var(--ivory-dim, #b8aaa0); font-size: 0.78rem; line-height: 1.35; }
.rp-seals li .rp-r { color: #e0b86a; white-space: nowrap; }
.rp-seals li.muted { display: block; }

/* 技能窗口由玩家点掉（skill-hold.js）：可点、右上角 ×、底部「点击继续」与「全部跳过」。
   动画层整体 pointer-events:none，只有这个框接收点击 */
.fx-caption.crystal.hold { pointer-events: auto; cursor: pointer; padding-right: 2.1rem; }
/* 等玩家点掉的技能窗口要压在发言气泡（corner-stage.css 的 .speech-layer z 33）之上，技能名不被挡 */
.fx:has(> .fx-caption.hold) { z-index: 34; }
.fx-caption.crystal.hold:focus { outline: none; }
.fx-caption.crystal.compact.hold small { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.3; }
/* 紧凑态要完整显示效果文字（折行），又要夹在两侧座位之间：宽 ≤ 42vw，内边距与页脚收紧（e2e/seal-popup 844×390） */
.fx-caption.crystal.compact.hold { max-width: min(22rem, 42vw); }
.fx-caption.crystal.compact.hold .sk-foot { margin-top: 0.1rem; }
.fx-caption.crystal.compact.hold { padding: 0.5rem 2.3rem 0.45rem 0.9rem; }
.fx-caption.crystal.compact.hold small { margin-top: 0.15rem; }
.fx-caption.crystal.compact.hold .sk-hint { font-size: 0.72em; }
.fx-caption.crystal .sk-x { position: absolute; top: 0.25rem; right: 0.3rem; width: 1.9rem; height: 1.9rem; padding: 0;
  border: 0; background: none; color: #e6c993; font: 1.25rem/1 var(--serif); cursor: pointer; opacity: 0.8; }
.fx-caption.crystal .sk-x:hover, .fx-caption.crystal .sk-x:focus-visible { opacity: 1; outline: 1px solid #c7a36a88; }
.fx-caption.crystal .sk-foot { display: flex; justify-content: center; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.55rem; }
.fx-caption.crystal .sk-hint { color: #e6c993; font-size: 0.78em; letter-spacing: 0.12em; animation: sk-blink 1.6s ease-in-out infinite; }
.fx-caption.crystal .sk-hint::after { content: ' ▼'; font-size: 0.8em; }
.fx-caption.crystal .sk-all { min-height: 2rem; padding: 0 0.7rem; border: 1px solid #c7a36a88; border-radius: 2px; background: #1a1116;
  color: var(--ivory, #efe4d0); font: 0.78em var(--serif); cursor: pointer; }
.fx-caption.crystal .sk-all:hover { border-color: #e6c993; }
@keyframes sk-blink { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .fx-caption.crystal .sk-hint { animation: none; } }
@media (max-height: 520px) {
  .fx-caption.crystal .sk-x { width: 2.5rem; height: 2.5rem; top: 0; right: 0; }
  .fx-caption.crystal .sk-all { min-height: 2.5rem; }
  .fx-caption.crystal .sk-foot { margin-top: 0.35rem; }
}

/* /styles/opening-v2.css */
/* =====================================================================
   开场仪式 v2（2026-11-01 视频 1 反馈）。最后加载，只覆盖开场层与「正式开始」→ 对局桌的入场。
   动效只用 transform / translate / scale / opacity；时长来自 shared/presentation.js（OPENING_TIMING）
   ===================================================================== */

/* ---------- P0-2 身份揭示：其余命运牌退场 → 选中牌移到主展示位 → 翻牌 + 法阵 → 停顿 → 右侧介绍 → 确认 ---------- */
.op[data-phase='CARD_REVEAL'] .op-fan .fate.dim {
  opacity: 0; translate: 0 calc(var(--card-h) * 0.32); scale: 0.92; pointer-events: none;
  transition: opacity var(--rv-exit, 380ms) ease, translate var(--rv-exit, 380ms) ease-in, scale var(--rv-exit, 380ms) ease-in;
  transition-delay: calc(var(--d, 0) * 30ms);
}
.op-fan .fate.lift { --lift: calc(var(--card-h) * -0.08); z-index: 5; }
.op-fan .fate.lift .opc-face { box-shadow: 0 0 0 2px #ffd98f, 0 0 26px 4px #ffb84daa, 0 18px 40px #000; }
/* 法阵在翻牌时才展开 */
.op.revealing .op-fan .fate.chosen::before { transition: opacity 0.8s ease, scale 0.9s cubic-bezier(.2,.8,.3,1); }
.op.revealing:not(.rv-ritual) .op-fan .fate.chosen::before { opacity: 0; scale: 0.55; }
/* 右侧底板与文字：翻牌停顿之后才出现，并逐行淡入 */
.op.revealing:not(.rv-info) .op-caption { opacity: 0; visibility: hidden; }
.op.revealing.rv-info .op-caption { animation: rv-plaque calc(var(--rv-info, 900ms) * 0.6) cubic-bezier(.25,.7,.3,1) both; }
.op.revealing.rv-info .op-caption .op-say { animation: none; }
.op.revealing.rv-info .op-say > :is(.op-youare, .op-role, small) { animation: rv-line calc(var(--rv-info, 900ms) * 0.45) ease both; }
.op.revealing.rv-info .op-say > .op-youare { animation-delay: calc(var(--rv-info, 900ms) * 0.25); }
.op.revealing.rv-info .op-say > .op-role { animation-delay: calc(var(--rv-info, 900ms) * 0.4); }
.op.revealing.rv-info .op-say > small { animation-delay: calc(var(--rv-info, 900ms) * 0.55); }
@keyframes rv-plaque { from { opacity: 0; translate: 2.5vw 0; } }
@keyframes rv-line { from { opacity: 0; translate: 0 8px; } }
.op.rm.revealing.rv-info .op-caption, .op.rm.revealing.rv-info .op-say > * { animation-name: op-fade; }

/* ---------- P1-4 发牌：落点就是最终布局位置，飞行由 Web Animations 叠加；落地瞬间不再有 CSS 过渡 ---------- */
.op-hand .slot.landing, .op-hand .slot.placed.landing { transition: none; }
.op-hand .slot { backface-visibility: hidden; }

/* ---------- P1-3 入夜旁白与逐座字幕：一次一句，放在座位环中间的桌心，不压任何座位 ----------
   座位环：桌面舞台 top 42vh、bottom 13vh（手机横屏 36vh / 14vh），文字中心放在环的正中 */
.op { --narr-y: calc(50% + 14.5vh); --narr-w: min(44vw, 38rem); }
@media (max-height: 520px) { .op { --narr-y: calc(50% + 11vh); --narr-w: min(46vw, 24rem); } }
.op[data-phase='NIGHT_TRANSITION'] .op-lines,
.op.dawn .op-lines {
  position: absolute; left: 50%; right: auto; top: var(--narr-y); bottom: auto; translate: -50% -50%;
  width: max-content; max-width: var(--narr-w); min-height: 0; padding: 0; margin: 0; z-index: 3;
  display: grid; justify-items: center; gap: 0.5rem; text-align: center;
}
.op-line.narr { position: relative; padding-bottom: 0.55rem; font: 600 clamp(1.15rem, 2.2vw, 1.75rem) var(--serif); letter-spacing: 0.12em; line-height: 1.45;
  color: #f3e9d6; text-shadow: 0 2px 4px #000, 0 0 16px #000, 0 0 30px #000c; animation: narr-in 1.2s cubic-bezier(.3,.6,.3,1) both; }
/* 每句下方细金线随这句的停留时长走满：画面始终有进度反馈 */
.op-line.narr::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; transform-origin: 50% 50%;
  background: linear-gradient(90deg, transparent, #e7c88a, transparent); animation: narr-bar var(--narr-line, 4400ms) linear both; }
.op-narr-dots { display: flex; gap: 0.5rem; justify-content: center; }
.op-narr-dots i { width: 6px; height: 6px; border-radius: 50%; background: #e7c88a; opacity: 0.25; transition: opacity 0.6s ease; }
.op-narr-dots i.done { opacity: 0.55; }
.op-narr-dots i.on { opacity: 1; box-shadow: 0 0 8px #ffd98f; }
@keyframes narr-in { from { opacity: 0; translate: 0 10px; } }
@keyframes narr-bar { from { transform: scaleX(0); } }
.op.rm .op-line.narr { animation: op-fade 0.4s ease both; }
.op.rm .op-line.narr::after, body.calm .op-line.narr::after { animation: none; }
@media (max-height: 520px) { .op-line.narr { font-size: 1.05rem; letter-spacing: 0.08em; padding-bottom: 0.35rem; } }

/* 8–10 人：左右两侧各有 3–4 个座位，环高不够时头像与名牌会互相压住；入夜时命运牌与手牌都已收起，把环拉高、头像略小 */
.op:is([data-seats='8'], [data-seats='9'], [data-seats='10']) .op-ring { top: 30vh; bottom: 5vh; }
.op:is([data-seats='8'], [data-seats='9'], [data-seats='10']) .op-medal { width: clamp(56px, 9.5vh, 112px); }
/* 手机横屏：座位环拉高到整个画面（7–10 人头像再略小）（入夜时命运牌与手牌都已收起），头像略小，座位之间、座位与桌心文字之间才放得下 */
@media (max-height: 520px) {
  .op[data-seats] .op-ring { top: 15vh; bottom: 5vh; }
  .op:is([data-seats='7'], [data-seats='8'], [data-seats='9'], [data-seats='10']) .op-medal { width: clamp(34px, 10vh, 42px); }
  .op:is([data-seats='7'], [data-seats='8'], [data-seats='9'], [data-seats='10']) .op-seat { gap: 0.1rem; }
}

/* 逐座字幕（「午夜密会」+ 一句）：同一位置，收窄到文字本身的宽度 */
.op[data-phase='NIGHT_RECOGNITION'] .op-caption {
  position: absolute; left: 50%; right: auto; top: var(--narr-y); bottom: auto; translate: -50% -50%;
  width: max-content; max-width: var(--narr-w); min-height: 0; margin: 0; z-index: 3;
}
.op[data-phase='NIGHT_RECOGNITION'] .op-say { font-size: clamp(1.05rem, 2vw, 1.6rem); color: #f3e9d6; text-shadow: 0 2px 4px #000, 0 0 16px #000, 0 0 30px #000c; }
.op[data-phase='NIGHT_RECOGNITION'] .op-caption::before { font-size: clamp(1.3rem, 2.6vw, 2.2rem); }
@media (max-height: 520px) {
  .op[data-phase='NIGHT_RECOGNITION'] .op-say { font-size: 0.95rem; }
  .op[data-phase='NIGHT_RECOGNITION'] .op-caption::before { font-size: 1.15rem; margin-bottom: 0.1rem; }
}

.op.narr-tight[data-phase='NIGHT_RECOGNITION'] .op-caption::before { display: none; }

/* 旁白期间背景轻微压暗（座位环之下、文字之下；两类视角相同） */
.op .op-stage::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
  background: radial-gradient(ellipse calc(var(--narr-w) * 0.75) 20vh at 50% var(--narr-y), #04020ad9, #04020a66 60%, transparent 100%), #04020a40; }
.op.narrating .op-stage::before, .op.dawn:has(.op-line.title) .op-stage::before { opacity: 1; }
.op.dawn .op-stage::before { transition-duration: 1.6s; }

/* 天亮台词与「血月夜宴 · 正式开始」：同在桌心，标题字号按座位之间的空带高度收小，不压座位；座位一直留到交给对局 */
.op.dawn .op-line:not(.title) { text-shadow: 0 2px 4px #000, 0 0 18px #000; }
.op.dawn .op-line.title { padding: 0.7rem 0; font-size: min(clamp(2rem, 4.4vw, 4rem), calc(var(--narr-h, 400px) / 3)); display: grid; justify-items: center; }
.op.dawn .op-line.title .tl-sub { font-size: 0.55em; }
@media (max-height: 520px) { .op.dawn .op-line.title { font-size: min(1.7rem, calc(var(--narr-h, 120px) / 3)); padding: 0.3rem 0; } }
/* 标题上下花饰与字之间至少 0.5em（11-02 用户反馈「字和上方修饰条碰在一起」）：留白 = 花饰高 + 0.5em，花饰高集中在 --fl-h。
   e2e/opening-v2.mjs 实测上花饰底边 < 主标题顶边、副行底边 < 下花饰顶边 */
.op.dawn .op-line.title { --fl-h: 14px; padding-block: calc(var(--fl-h) + 0.5em); }
html.has-hd-divider_flourish .op.dawn .op-line.title { --fl-h: 40px; }
.op.dawn .op-line.title::before, .op.dawn .op-line.title::after { height: var(--fl-h); }
@media (max-height: 520px) {
  .op.dawn .op-line.title { --fl-h: 12px; padding-block: calc(var(--fl-h) + 0.5em); }
  html.has-hd-divider_flourish .op.dawn .op-line.title { --fl-h: 24px; }
}

/* ---------- P1-5 「正式开始」→ 对局桌 ----------
   开场层淡出 → 空的宴会桌稳定显示 → 座位头像依次出现 → 右侧面板 → 底部手牌 → 当前行动者与操作提示。
   只改透明度（不动 transform / 布局），所以不影响对局 UI 的几何；未出现的部分不接收点击。
   隐藏是瞬间的（过渡只写在各步骤的 class 下），否则对局 UI 会在开场层淡出时先淡出一次 */
.op.op-exit { opacity: 0; pointer-events: none; transition: opacity var(--enter-table, 700ms) ease; }
.op.op-exit * { pointer-events: none !important; }
html.rb-enter.rb-enter-seats #main .seat { transition: opacity var(--enter-table, 700ms) ease; }
html.rb-enter.rb-enter-panel :is(#side, #main .headline) { transition: opacity var(--enter-panel, 450ms) ease; }
html.rb-enter.rb-enter-hand #main .my-area > :not(.choices-slot) { transition: opacity var(--enter-hand, 450ms) ease; }
html.rb-enter.rb-enter-live :is(#main .headline .prompt, #main .headline .ffwd, #main .choices-slot, #main .seat .actor-mark, #speech-layer, .pt-stage, .pt-figure) { transition: opacity var(--enter-live, 450ms) ease; }

html.rb-enter:not(.rb-enter-seats) #main .seat,
html.rb-enter:not(.rb-enter-panel) :is(#side, #main .headline),
html.rb-enter:not(.rb-enter-hand) #main .my-area > :not(.choices-slot),
html.rb-enter:not(.rb-enter-live) :is(#main .headline .prompt, #main .headline .ffwd, #main .choices-slot, #main .seat .actor-mark, #speech-layer, .pt-stage, .pt-figure) { opacity: 0; pointer-events: none; }
html.rb-enter:not(.rb-enter-live) #main .seat :is(button, [data-act]),
html.rb-enter:not(.rb-enter-live) #main .my-area :is(button, [data-act]),
html.rb-enter:not(.rb-enter-live) #main .seat[data-act] { pointer-events: none; }

/* =====================================================================
   开场各幕用对局的同一张桌子（11-01 用户：「入夜时桌子太大了，为何不用白天那个桌子大小」）
   html.rb-op-table（opening.js 在序幕之后开启）：开场层透明，底下是 app.js 已排好版的对局桌面（同一个布局函数）。
   对局 UI 的其余部分只设透明（不改布局），开场层只叠加夜色、烛光、台词和按对局座位实测摆放的头像
   ===================================================================== */
html.rb-op-table .op .op-bg, html.rb-op-table.has-hd-night_hall .op.night .op-bg, html.rb-op-table.has-official-table .op .op-bg { background: none; filter: none; }
html.rb-op-table .op :is(.op-table, .op-moon, .op-night-bg) { display: none; }
html.rb-op-table :is(.topbar > *, #main .headline, #main .verdict, #side, #main .my-area, #main .stage .seat, #main .unmask-row, #speech-layer, .pt-stage) { opacity: 0; pointer-events: none; }
/* 桌上道具自己的火苗交给开场烛光（对准同一位置），入夜时逐盏熄灭 */
html.rb-op-table #main .table .prop::before { opacity: 0; }
html.rb-op-table .op-candles .cn.off-table { display: none; }
/* 夜色：宴会厅换成夜景（在对局背景之上、桌子之下）；桌子与座位上再压一层蓝紫色调 */
html.has-hd-night_hall body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(#05040f40, #05040f8c), var(--hd-night_hall) 60% 40% / cover no-repeat, var(--lqip-night_hall) 60% 40% / cover no-repeat;
  transition: opacity var(--op-dawn-fade, 3s) ease; }
html.has-hd-night_hall.rb-op-night body::before { opacity: 1; transition-duration: var(--op-night-fade, 2.4s); }
html.rb-op-table .op .op-veil { opacity: 0; background: linear-gradient(#0a0c2a, #08061f); mix-blend-mode: multiply; }
html.rb-op-table .op.night .op-veil { opacity: 0.5; }
html.rb-op-table .op.night .op-bg { filter: none; }
/* 座位：中心与直径都取对局头像（opening.js 实测写入 --px / --py / --md） */
html.rb-op-table .op .op-ring { position: absolute; inset: 0; margin: 0; }
.op .op-ring .op-seat.placed { left: var(--px); top: calc(var(--py) - var(--md) / 2); transform: translateX(-50%); min-width: 0; gap: 0.15rem; }
.op .op-ring .op-seat.placed .op-medal { width: var(--md); }
.op .op-ring .op-seat.placed .op-nm { font-size: clamp(0.66rem, calc(var(--md) * 0.15), 1rem); padding: 0.05em 0.6em; }
.op .op-ring .op-seat.placed .op-state { font-size: clamp(0.62rem, calc(var(--md) * 0.14), 1rem); min-height: 0; }
.op .op-ring .op-seat.placed.spot::before { top: -100vh; height: calc(100vh + 100%); width: calc(var(--md) * 1.5); }

/* =====================================================================
   开场座位 = 对局的半身像节点（11-02 用户：「入夜的时候头像还是有个圆圈」「入夜完毕画面会重新 render 一下，应该还是那个桌子那些人」）
   html.rb-op-seats（入夜起）：对局座位直接显示（不再另画圆头像再交叉淡化），夜里压暗、偏冷；聚光 / 睁眼高亮由 opening.js
   写入的 <style data-op="seat-glow">（沿人像 alpha 轮廓的 drop-shadow）。座位上对局专用的小标记先藏起，交给对局时再淡入。
   开场环（.op-ring.game-seats）只剩看不见的定位框 + 睁眼标记 + 状态字
   ===================================================================== */
html.rb-op-table.rb-op-seats #main .stage .seat { opacity: 1; transition: opacity var(--op-night-fade, 2.4s) ease; }
html.rb-op-table.rb-op-seats #main .stage .seat :is(.actor-mark, .icons, .pick-tip, .medal > :not(.avatar):not(.self-bust)) { opacity: 0; }
html.rb-op-table.rb-op-seats #main .stage .seat .avatar .bust { filter: brightness(1); transition: filter var(--op-dawn-fade, 3s) ease; }
html.rb-op-table.rb-op-seats.rb-op-night #main .stage .seat .avatar .bust { filter: brightness(0.62) saturate(0.6); transition-duration: var(--op-night-fade, 2.4s); }
html.rb-op-table.rb-op-seats #main .stage .seat .nm { transition: filter var(--op-dawn-fade, 3s) ease; }
html.rb-op-table.rb-op-seats.rb-op-night #main .stage .seat .nm { filter: brightness(0.7) saturate(0.7); }
/* 交给对局：对局专用的小标记随开场层淡出同时淡入 */
html.rb-enter #main .stage .seat :is(.icons, .medal > :not(.avatar):not(.self-bust)) { transition: opacity var(--enter-table, 700ms) ease; }
.op .op-ring.game-seats .op-seat .op-medal { visibility: hidden; }
.op .op-ring.game-seats .op-seat .op-medal :is(.op-eye), .op .op-ring.game-seats .op-seat.masked .op-medal::after { visibility: visible; }
.op .op-ring.game-seats .op-seat .op-nm { visibility: hidden; }
.op .op-ring.game-seats .op-seat.spot::before { opacity: 0.55; }
/* 睁眼 / 闭眼 / 遮蔽标记：和对局座位的 .eye-mark 同一位置、同一大小（人像右侧、不压脸），天亮交接时原地换成对局的标记 */
.op .op-ring.game-seats .op-seat .op-medal :is(.op-eye) { right: auto; left: calc(var(--eye-r, 118%) - var(--eye-w, 26px)); top: var(--eye-t, 30%); width: var(--eye-w, 26px); border-width: 1.5px; }
.op .op-ring.game-seats .op-seat.masked .op-medal::after { inset: auto; left: calc(var(--eye-r, 118%) - var(--eye-w, 26px)); top: var(--eye-t, 30%); width: var(--eye-w, 26px); aspect-ratio: 1; }
/* 交接时开场层淡出的那 700ms 里（html.rb-op-table 已经撤掉）：开场层仍然是透明叠加层，不能露出开场自己的背景、大桌子、月亮，
   座位环也留在原位——否则就是用户说的「入夜完毕画面会重新 render 一下」（开场的大桌子闪出来再淡回对局桌） */
.op.op-exit .op-bg { background: none; filter: none; }
.op.op-exit :is(.op-table, .op-moon, .op-night-bg) { display: none; }
.op.op-exit .op-veil { opacity: 0; }
.op.op-exit .op-candles .cn.off-table { display: none; }
.op.op-exit .op-ring { position: absolute; inset: 0; margin: 0; }

/* =====================================================================
   抽秘印（发牌之后、入夜之前）：每个座位按座位号飞来一枚扣着的秘印，落在对局徽章的实测位置（--x/--y/--d）；
   自己那枚只在本机升到桌心、翻成正面、放大展示，再缩进手牌旁的秘印令牌。正面 / 背面都用 assets/bloodmoon/seals 的正式图
   ===================================================================== */
.op-seals { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.op-seal { position: absolute; left: var(--x); top: var(--y); width: var(--d, 28px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; opacity: 0;
  background: var(--asset-crystal-sealed, url('/assets/bloodmoon/seals/night_seal_back.webp')) center / cover no-repeat;
  box-shadow: 0 0 0 1.5px #8a7350, 0 2px 4px #000c; }
.op-seal.nowhere { display: none; }
.op-seal.in { opacity: 1; }
/* 自己的秘印令牌（复制，交给对局前留在手牌旁）：正面 + 金边，与对局的 .seal-token 同位置同大小 */
.op-seal.own { background: var(--seal-face) center / cover no-repeat, #120a0e; box-shadow: 0 0 0 1.5px #0b0608, 0 0 0 3px #e6c27a, 0 0 0 4.5px #0b0608, 0 0 16px #e6c27a66; transition: opacity 0.4s ease; }
.op:is([data-phase='NIGHT_TRANSITION'], [data-phase='NIGHT_RECOGNITION'], [data-phase='DAWN'], [data-phase='READY_SYNC']) .op-seal.own { opacity: 0; transition: opacity 0.6s ease; }
/* 入夜：座位上的秘印跟着人像一起压暗 */
.op .op-seal { transition: filter var(--op-night-fade, 2.4s) ease, opacity 0.4s ease; }
.op.night .op-seal:not(.own) { filter: brightness(0.6) saturate(0.6); }
.op.dawn .op-seal:not(.own) { filter: none; transition-duration: var(--op-dawn-fade, 3s); }

/* 旁白：与入夜旁白同一套样式，放在桌面上部 */
.op[data-phase='SEAL_DRAW'] .op-lines { position: absolute; left: 50%; right: auto; top: var(--narr-y); bottom: auto; translate: -50% -50%;
  width: max-content; max-width: var(--narr-w); min-height: 0; padding: 0; margin: 0; z-index: 5; display: grid; justify-items: center; text-align: center; }
.op-line.seal-narr::after { animation-duration: calc(var(--narr-line, 4400ms) * 0.6); }
.op-line.seal-narr.out { opacity: 0; transition: opacity 0.5s ease; }
.op[data-phase='SEAL_DRAW'] .op-stage::before { opacity: 1; }

/* 展示：桌心一枚大秘印（翻面）+ 右侧刻楷小卡；版式同身份揭示（大卡在左、文字在右） */
.op-seal-show { --oss: clamp(80px, min(14.2vh, 8.9vw), 128px); /* 秘印图 256×256：2 倍屏上不超过 128 CSS px 才清晰 */
  position: absolute; left: var(--seal-cx); top: var(--seal-cy); translate: -50% -50%; z-index: 6;
  display: grid; grid-template-columns: var(--oss) minmax(0, 22rem); gap: clamp(1rem, 2.4vw, 2.2rem); align-items: center; }
/* 翻转：透视在 .oss-coin，只有 .oss-flip 旋转（transform-origin 居中）；两面各一张 img，没有任何裁切 */
.op-seal-show .oss-coin { position: relative; width: var(--oss); aspect-ratio: 1; perspective: 1200px; margin-block: calc(var(--oss) * 0.12); }
.op-seal-show .oss-glow { position: absolute; left: 50%; top: 50%; width: 210%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: var(--asset-fx-ritual) center / contain no-repeat; opacity: 0; scale: 0.6; filter: drop-shadow(0 0 16px #ffb84d88);
  transition: opacity 0.7s ease, scale 0.8s cubic-bezier(.2,.8,.3,1); animation: op-ritual 14s linear infinite; }
.op-seal-show.flipped .oss-glow { opacity: 0.5; scale: 1; }
.op-seal-show.tuck .oss-glow { opacity: 0; transition-duration: 0.25s; }
.op-seal-show .oss-flip { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%; transform: rotateY(0deg);
  transition: transform var(--seal-flip, 0.7s) cubic-bezier(.4,.1,.2,1); }
.op-seal-show.flipped .oss-flip { transform: rotateY(180deg); }
.op-seal-show .oss-side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.op-seal-show .oss-side.oss-face { transform: rotateY(180deg); }
.op-seal-show .oss-side img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 10px 18px #000c); }
/* 金边圈与暗底：与图片同在一面里一起翻（只是一个带边框的空圈，不裁任何内容） */
.op-seal-show .oss-ring { position: absolute; inset: 1%; border-radius: 50%; background: radial-gradient(circle, #1e1013 60%, #0d0709 100%);
  border: 2px solid #e6c27a; box-shadow: 0 0 0 2px #0b0608, 0 0 26px #e6c27a77; }
.op-seal-show .oss-card { position: relative; display: grid; gap: 0.35em; padding: 1em 1.4em 1.1em; opacity: 0; translate: 1.5vw 0;
  color: #f1e3c8; font: 400 calc(clamp(0.95rem, 1.2vw, 1.15rem) * var(--kai-k, 1.08))/1.6 var(--rb-kai, var(--serif)); letter-spacing: 0.03em;
  background: linear-gradient(#1a0a10f0, #0d0508f5); border: 1px solid #c9a46a; box-shadow: 0 0 0 4px #0008, 0 0 0 5px #c9a46a55, 0 18px 44px #000c;
  transition: opacity 0.5s ease, translate 0.5s cubic-bezier(.25,.7,.3,1); }
.op-seal-show .oss-card::before { content: ''; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(#e6c993, #e6c993) left top / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left top / 2px 12px no-repeat,
    linear-gradient(#e6c993, #e6c993) right top / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right top / 2px 12px no-repeat,
    linear-gradient(#e6c993, #e6c993) left bottom / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left bottom / 2px 12px no-repeat,
    linear-gradient(#e6c993, #e6c993) right bottom / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right bottom / 2px 12px no-repeat; }
.op-seal-show.info .oss-card { opacity: 1; translate: 0 0; }
.op-seal-show.tuck .oss-card { opacity: 0; translate: 0 6px; transition-duration: 0.25s; }
.op-seal-show .oss-kicker { font-size: 0.82em; letter-spacing: 0.3em; color: #c9b9a2; }
.op-seal-show .oss-name { font-weight: 400; font-size: 1.7em; letter-spacing: 0.12em; background: var(--title-gold, linear-gradient(#fff3cf, #e6c27a)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #1a0a06); }
.op-seal-show .oss-text { margin: 0; }
.op-seal-show .oss-note { margin: 0.2em 0 0; font-size: 0.88em; color: #b9d3e8; }
.op.rm .op-seal-show .oss-flip { transition: none; }
@media (max-height: 520px) {
  .op-seal-show { --oss: 96px; grid-template-columns: var(--oss) minmax(0, 17rem); gap: 0.8rem; }
  .op-seal-show .oss-card { font-size: 0.8rem; padding: 0.55em 0.9em 0.65em; gap: 0.15em; }
  .op-seal-show .oss-name { font-size: 1.35em; }
}
/* 抽秘印时开场手牌收起（与入夜相同），展示在桌心不被挡；旁白按两行均衡折行 */
.op[data-phase='SEAL_DRAW'] .op-hand { opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.op[data-phase='SEAL_DRAW'] .op-line.seal-narr { text-wrap: balance; }

/* 身份揭示：阵营与阵营目标（11-03「快速揭示」也必须看到自己的身份） */
.op.revealing .op-say > .op-faction { font: 700 clamp(0.85rem, 1.3vw, 1.05rem) var(--serif); letter-spacing: 0.2em; padding: 0.15em 0.9em; border: 1px solid #e7c88a99; border-radius: 2px; color: #f4e4bf; background: #1a0b0dcc; }
.op.revealing .op-say > .op-faction[data-faction='thorn'] { border-color: #f06a7699; color: #ffd0d4; }
/* justify-self: stretch —— WebKit 会把居中的网格项按内容收窄，目标行被挤成三行；撑满金框内宽 */
.op.revealing .op-say > small.op-goal { color: #f4e4bf; font-weight: 600; justify-self: stretch; text-align: center; }
.op.revealing.rv-info .op-say > .op-faction { animation: rv-line calc(var(--rv-info, 900ms) * 0.45) ease both; animation-delay: calc(var(--rv-info, 900ms) * 0.48); }
.op.revealing.rv-info .op-say > small.op-goal { animation-delay: calc(var(--rv-info, 900ms) * 0.65); }
/* 快速揭示：只把揭示演出压短（移位、翻面、法阵） */
.op.rv-quick .op-fan .fate { transition-duration: 0.3s; }
.op.rv-quick .opc-inner { transition-duration: 0.38s; }
.op.rv-quick.revealing .op-fan .fate.chosen::before { transition-duration: 0.3s; }
/* 短横屏：金框内框放不下五行——收起风味台词，保留身份名、阵营、目标与「确认」（字号仍走 visual-b.css 的容器查询） */
@media (max-height: 520px) {
  .op.revealing .op-say > small:not(.op-goal) { display: none; }
  .op.revealing .op-say > .op-faction { font-size: 0.72rem; padding-block: 0.1em; }
  html.has-hd-plaque_velvet .op.revealing .op-say > small.op-goal { font-size: clamp(0.66rem, 8.4cqw, 0.8rem); line-height: 1.35; }
  html.has-hd-plaque_velvet .op.revealing .op-confirm.btn.primary { margin-top: 0; }
}

/* /styles/night-beam.css */
/* =====================================================================
   入夜「谁睁眼」逐座聚光（11-10 用户：「那个光线可以弄的再真实一些 现在感觉是一个全白的光 不太透」）
   原来：冷白色线性渐变 + 硬边梯形（clip-path），透明度 33% 一整块盖住人像和名牌，底边一刀切。
   现在（体积光）：
   - 光柱：从屏幕上方落下的锥形（conic 遮罩 → 边缘柔和衰减，中心亮），烛光暖色、边缘带一点血月红；
     上段淡入（光源在画面外）、下端在人像肩部以下渐隐，不再盖住名牌
   - 微尘：光柱里几层细小光点缓慢上飘（只在光柱遮罩内可见）
   - 照到人像 / 桌面：脚下一圈柔和暖光（呼吸），人像本身的暖色轮廓高光由 opening.js 的 seat-glow 画
   - 换席位：旧光柱淡出、新光柱淡入并轻轻摆到位，之后缓慢摇摆；时长取 OPENING_TIMING.beamFade / beamSway / beamDust
   光柱是对所有人一样的公开演出（每个席位依次照，不论睁眼与否）；睁眼高亮仍只在有夜间权限的人这里画。
   座位节点有 transform（独立层叠上下文），混合模式透不到下面的牌桌，所以只用低透明度暖色渐变叠加，不洗白下面的人像和名牌。
   ===================================================================== */
.op .op-seat::before,
.op .op-ring .op-seat.placed::before,
.op .op-ring.game-seats .op-seat::before,
.op .op-ring .op-seat.placed.spot::before,
.op .op-ring.game-seats .op-seat.placed.spot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -100vh;
  height: calc(100vh + var(--md, 120px) * 1.15);
  width: calc((100vh + var(--md, 120px) * 1.15) * 0.24);
  transform: translateX(-50%) rotate(0deg);
  transform-origin: 50% 0;
  pointer-events: none;
  z-index: -1;
  clip-path: none;
  opacity: 0;
  transition: opacity var(--beam-fade, 450ms) ease, filter 600ms ease;
  background:
    /* 微尘：三层不同大小、不同间距的光点（平铺），整体缓慢上飘 */
    radial-gradient(1.2px 1.2px at 23% 31%, #fff1d8d0 50%, #0000) 0 0 / 53px 97px,
    radial-gradient(1px 1px at 71% 63%, #ffe4c0b8 50%, #0000) 0 0 / 41px 131px,
    radial-gradient(1.8px 1.8px at 48% 12%, #ffdcb07a 50%, #0000) 0 0 / 89px 173px,
    /* 光的本体：中心偏暖白、外缘烛光橙黄 → 血月红 */
    conic-gradient(from 173deg at 50% 0, #0000 0deg, #b8403020 3deg, #f0a06438 5.5deg, #ffe0b45c 7deg, #f0a06438 8.5deg, #b8403020 11deg, #0000 14deg),
    linear-gradient(#ffd8a400 0%, #ffd8a40e 45%, #ffe2b82a 90%);
  /* 形状：锥形（边缘柔和衰减）× 纵向（光源在画面外淡入、下端在人像肩部以下渐隐） */
  -webkit-mask-image: conic-gradient(from 173deg at 50% 0, #0000 0deg, #0005 3deg, #000 6deg, #000 8deg, #0005 11deg, #0000 14deg),
    linear-gradient(#0000 0%, #0004 25%, #000c 60%, #000 78%, #000 88%, #0000 100%);
  -webkit-mask-composite: source-in;
  mask-image: conic-gradient(from 173deg at 50% 0, #0000 0deg, #0005 3deg, #000 6deg, #000 8deg, #0005 11deg, #0000 14deg),
    linear-gradient(#0000 0%, #0004 25%, #000c 60%, #000 78%, #000 88%, #0000 100%);
  mask-composite: intersect;
}
/* 照在人像和桌面上的一圈柔光（脚下光斑），随光柱一起淡入淡出 */
.op .op-seat::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(var(--md, 120px) * 0.42);
  width: calc(var(--md, 120px) * 2.1);
  height: calc(var(--md, 120px) * 0.9);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffdcae2e, #f0a0641a 52%, #b8403008 78%, #0000);
  opacity: 0;
  transition: opacity var(--beam-fade, 450ms) ease;
}
/* 原来的冷白描边光晕（整个座位节点的 drop-shadow 也会给光柱描一圈边）：去掉，状态字用柔和的文字光 */
.op .op-seat.spot { filter: none; text-shadow: 0 0 10px #ffcf9a66, 0 1px 2px #000c; }
.op .op-seat.spot::before {
  opacity: 1;
  animation:
    nb-land var(--beam-fade, 450ms) cubic-bezier(.2, .7, .3, 1) both,
    nb-sway var(--beam-sway, 5600ms) ease-in-out var(--beam-fade, 450ms) infinite alternate,
    nb-dust var(--beam-dust, 9000ms) linear infinite;
}
.op .op-seat.spot::after { opacity: 1; animation: nb-breathe calc(var(--beam-sway, 5600ms) / 2) ease-in-out infinite alternate; }
/* 揭示睁眼：光稍微更暖更亮；闭眼 / 遮蔽：光收暗一点（对所有人一样，只跟随公开的「揭示这一席」的时刻） */
.op .op-seat.spot:is(.open, .closed, .masked)::before { filter: brightness(0.92); }
.op .op-ring.game-seats .op-seat.spot::before, .op .op-ring .op-seat.placed.spot::before, .op .op-ring.game-seats .op-seat.placed.spot::before { opacity: 1; }
@keyframes nb-land {
  from { transform: translateX(-50%) rotate(-2.4deg) scaleX(0.9); }
  to { transform: translateX(-50%) rotate(-0.7deg) scaleX(1); }
}
@keyframes nb-sway {
  from { transform: translateX(-50%) rotate(-0.7deg) scaleX(1); }
  to { transform: translateX(-50%) rotate(0.7deg) scaleX(1.035); }
}
@keyframes nb-dust {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 18px -97px, -12px -131px, 9px -173px, 0 0, 0 0; }
}
@keyframes nb-breathe {
  from { opacity: 0.78; }
  to { opacity: 1; }
}
/* 减少动画 / 安静模式：光照照常，不摇摆、不飘尘、不呼吸 */
.op.rm .op-seat.spot::before, .op.rm .op-seat.spot::after,
body.calm .op .op-seat.spot::before, body.calm .op .op-seat.spot::after { animation: none; }
/* 夜间汇总 / 交接：不留光 */
.op .op-ring.summary .op-seat::before, .op .op-ring.summary .op-seat::after, .op .op-ring.summary.game-seats .op-seat.placed.spot::before, .op.op-exit .op-ring.game-seats .op-seat.placed.spot::before, .op.op-exit .op-seat::before, .op.op-exit .op-seat::after { opacity: 0; animation: none; }
/* 逐座揭示期间：人像的聚光高光（opening.js seat-glow）跟着光柱一起换，不用入夜压暗那 2.4 秒的慢过渡 */
html.rb-op-table.rb-op-seats.rb-op-night:has(.op[data-phase="NIGHT_RECOGNITION"]) #main .stage .seat .avatar .bust { transition-duration: calc(var(--beam-fade, 450ms) * 1.5); }

/* /styles/cutin-v2.css */
/* 特写演出 v2（public/cutin.js + public/cutin-config.js）。最后加载：覆盖 portrait.css 里 v4 特写的通用样式。
   L2 角色特写 .ci-layer.ci-v2：data-tone（rage / sly / resolve / grief）定配色，data-layout（left / right）定构图，
   data-exit 定退场；入场参数、光带位置、粒子位置都由 JS 写进 CSS 变量。
   L3 重大事件 .heir-card-fx.ev2：献祭（金色法阵、仪式光）/ 遇刺（深红裂痕、暗红粒子），和人物特写完全不同的一套。 */

/* ---------- 桌面降权：特写期间右栏、顶栏变暗，结束后平滑恢复 ---------- */
#side, .topbar { transition: opacity 280ms ease, filter 280ms ease; }
body.ci-dim #side, body.ci-dim .topbar { opacity: 0.34; filter: saturate(0.5) brightness(0.85); }
body.ci-dim[data-ci-level="3"] #side, body.ci-dim[data-ci-level="3"] .topbar { opacity: 0.24; }

/* ---------- L2 角色特写 ---------- */
.ci-layer.ci-v2 {
  --ink: #f6e8cd; --name: #f1d9a6; --accent: #ff9d8c; --rule: #c7a36a;
  position: fixed; z-index: 30; overflow: hidden; border-radius: 10px; pointer-events: none; isolation: isolate;
  --ci-bgimg: radial-gradient(ellipse 80% 95% at 76% 42%, #5c0f19 0%, #2a070c 55%, #0b0306 100%);
  background: none; animation: none;
}
.ci-v2[data-layout="right"] { --ci-bgimg: radial-gradient(ellipse 80% 95% at 24% 42%, #5c0f19 0%, #2a070c 55%, #0b0306 100%); }
.ci-v2[data-tone="sly"] { --ci-bgimg: radial-gradient(ellipse 80% 95% at 76% 42%, #4d1030 0%, #210816 55%, #0a0309 100%); --accent: #f7a7c0; }
.ci-v2[data-tone="sly"][data-layout="right"] { --ci-bgimg: radial-gradient(ellipse 80% 95% at 24% 42%, #4d1030 0%, #210816 55%, #0a0309 100%); }
.ci-v2[data-tone="resolve"] { --ci-bgimg: radial-gradient(ellipse 80% 95% at 76% 42%, #4a2c12 0%, #1d1008 55%, #090503 100%); --accent: #f3c98a; }
.ci-v2[data-tone="resolve"][data-layout="right"] { --ci-bgimg: radial-gradient(ellipse 80% 95% at 24% 42%, #4a2c12 0%, #1d1008 55%, #090503 100%); }
.ci-v2[data-tone="grief"] {
  --ink: #e4ebf4; --name: #b9c7dc; --accent: #a9bfdc; --rule: #7f93b3;
  --ci-bgimg: radial-gradient(ellipse 85% 100% at 76% 40%, #1d2a42 0%, #0c1220 58%, #05070d 100%);
}
.ci-v2[data-tone="grief"][data-layout="right"] { --ci-bgimg: radial-gradient(ellipse 85% 100% at 24% 40%, #1d2a42 0%, #0c1220 58%, #05070d 100%); }

/* 背景：月亮在台词一侧 */
.ci-v2 .ci-bg { position: absolute; inset: 0; overflow: hidden; background: var(--ci-bgimg); }
/* 静态 / 减少动态 / 快进：整层淡入（不刷入）；音效照常 */
.ci-v2.ci-instant { animation: ci2-layer-in var(--in-ms, 200ms) ease-out both; }
.ci-v2 .ci-moon { position: absolute; right: 5%; top: -14%; width: calc(var(--ci-h) * 0.6); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #c8323e 0%, #7d1420 48%, #3a0910 70%, #0000 72%); opacity: 0.55; filter: blur(1px); }
.ci-v2[data-layout="right"] .ci-moon { right: auto; left: 5%; }
.ci-v2[data-tone="grief"] .ci-moon { background: radial-gradient(circle at 45% 42%, #c9d6ea 0%, #6f84a6 45%, #1d283d 70%, #0000 72%); opacity: 0.28; filter: blur(3px); }
.ci-v2 .ci-candles { position: absolute; inset: 0; opacity: 0.55;
  background: radial-gradient(circle at 86% 78%, #ffb85a33 0, #0000 9%), radial-gradient(circle at 63% 88%, #ffb85a26 0, #0000 7%), radial-gradient(circle at 95% 40%, #ffb85a1f 0, #0000 6%); }
.ci-v2[data-layout="right"] .ci-candles { transform: scaleX(-1); }
.ci-v2[data-tone="grief"] .ci-candles { opacity: 0.18; filter: hue-rotate(180deg) saturate(0.4); }

/* 画框：left = 左侧 64%、右边斜切；right = 右侧 64%、左边斜切；哀伤版改成柔和羽化 */
.ci-v2 .ci-media { position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: 64%; overflow: hidden; animation: none;
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); }
.ci-v2[data-layout="right"] .ci-media { left: auto; right: 0; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.ci-v2[data-tone="grief"] .ci-media { clip-path: none; -webkit-mask-image: linear-gradient(90deg, #000 80%, #0000 100%); mask-image: linear-gradient(90deg, #000 80%, #0000 100%); }
.ci-v2[data-tone="grief"][data-layout="right"] .ci-media { -webkit-mask-image: linear-gradient(270deg, #000 80%, #0000 100%); mask-image: linear-gradient(270deg, #000 80%, #0000 100%); }
.ci-v2.ci-art .ci-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 入场（transform）+ 停顿与停留期间的轻微推近（scale，单独的属性，不和入场冲突） */
.ci-v2 .ci-media img { animation: ci2-enter var(--en-ms) var(--en-ease) both, ci2-hold var(--ci-ms) linear both; will-change: transform, opacity; }
.ci-v2[data-tone="grief"] .ci-media img { filter: saturate(0.82) brightness(0.94); }
.ci-v2[data-tone="grief"] .ci-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #1b2a4a38, #0a0f1a59); pointer-events: none; }
/* 放大立绘（没有专属图时） */
.ci-v2.ci-portrait .ci-media { display: grid; place-items: end start; background: radial-gradient(ellipse 50% 70% at 30% 60%, #5a121e 0%, #0000 70%); }
.ci-v2.ci-portrait[data-layout="right"] .ci-media { place-items: end end; background: radial-gradient(ellipse 50% 70% at 70% 60%, #5a121e 0%, #0000 70%); }
.ci-v2.ci-portrait .ci-media img { height: 124%; width: auto; max-width: 92%; margin: 0 8%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 30px #000d); }

/* 画框边上的金线（只有硬斜切才有） */
.ci-v2::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, #f3d48c, #b07a32 55%, #f3d48c); clip-path: polygon(63.4% 0, 64.2% 0, 49.1% 100%, 48.3% 100%); opacity: 0.85; }
.ci-v2[data-layout="right"]::after { clip-path: polygon(50.9% 0, 51.7% 0, 36.4% 100%, 35.6% 100%); }
.ci-v2[data-tone="grief"]::after { display: none; }
/* 金线跟着面板到位才亮（面板还在画面外时不提前出现） */
.ci-v2:not(.ci-instant)::after { animation: ci2-layer-in 90ms var(--arrive-at, 0ms) ease-out both; }

/* 入场闪光（愤怒：快速推近 / 冲击推近） */
.ci-v2 .ci2-flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(ellipse 16% 70% at var(--flash-x, 57%) 50%, #fff6e0 0%, #ffb35a 30%, #ff4a3a55 55%, #0000 75%);
  animation: ci2-flash 240ms var(--arrive-at, 0ms) ease-out forwards; }
.ci-v2[data-layout="right"] .ci2-flash { --flash-x: 43%; }
.ci-v2[data-tone="rage"] .ci2-flash { background: radial-gradient(ellipse 22% 80% at var(--flash-x, 57%) 50%, #fffaf0 0%, #ff8a4a 30%, #ff2a2a66 55%, #0000 78%); }
/* 台词条：从反方向刷进来的横幅（台词栏后面的深色斜条，上下各一道细金线） */
.ci-v2 .ci2-band { position: absolute; z-index: 1; top: 20%; bottom: 20%; left: calc(var(--col0) - 1%); width: calc(var(--colw) + 2%); pointer-events: none;
  transform-origin: 50% 50%; rotate: var(--tilt, 0deg);
  background: linear-gradient(180deg, #0000 0, var(--rule) 0 1px, #0000 1px 6px, #0b030680 18%, #0b030699 50%, #0b030680 82%, #0000 calc(100% - 6px), var(--rule) calc(100% - 1px) 100%);
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 12%, #000 88%, #0000); mask-image: linear-gradient(90deg, #0000, #000 12%, #000 88%, #0000); opacity: 0.9; }
.ci-v2[data-tone="grief"] .ci2-band { background: linear-gradient(180deg, #0000 0, #7f93b366 0 1px, #0000 1px 6px, #05081066 18%, #05081088 50%, #05081066 82%, #0000 calc(100% - 6px), #7f93b366 calc(100% - 1px) 100%); }
/* 速度线：刷入途中掠过（JS 用 Web Animations 驱动，高度避开人脸框） */
.ci-v2 .ci2-speed { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.ci-v2 .ci2-speed i { position: absolute; opacity: 0; border-radius: 2px; background: linear-gradient(90deg, #0000, var(--c1) 40%, var(--c0) 80%, #0000); }
.ci-v2[data-from="right"] .ci2-speed i { background: linear-gradient(270deg, #0000, var(--c1) 40%, var(--c0) 80%, #0000); }
.ci-v2 .ci2-face { position: absolute; visibility: hidden; pointer-events: none; }

/* 光带：位置 / 角度 / 粗细全部由 JS 写入（按人脸框避让）；台词区挖洞 */
.ci-v2 .ci2-fx { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--ci-tx0, 200%) - 2%), #0000 var(--ci-tx0, 200%), #0000 var(--ci-tx1, 200%), #000 calc(var(--ci-tx1, 200%) + 2%)),
    linear-gradient(180deg, #000 calc(var(--ci-ty0, 200%) - 3%), #0000 var(--ci-ty0, 200%), #0000 var(--ci-ty1, 200%), #000 calc(var(--ci-ty1, 200%) + 3%));
  mask-image: linear-gradient(90deg, #000 calc(var(--ci-tx0, 200%) - 2%), #0000 var(--ci-tx0, 200%), #0000 var(--ci-tx1, 200%), #000 calc(var(--ci-tx1, 200%) + 2%)),
    linear-gradient(180deg, #000 calc(var(--ci-ty0, 200%) - 3%), #0000 var(--ci-ty0, 200%), #0000 var(--ci-ty1, 200%), #000 calc(var(--ci-ty1, 200%) + 3%)); }
.ci-v2 .ci2-streak { position: absolute; left: -20%; width: 140%; transform-origin: 50% 50%; transform: rotate(var(--a));
  background: linear-gradient(180deg, #0000 0%, color-mix(in srgb, var(--c2) 30%, #0000) 16%, var(--c2) 34%, var(--c1) 45%, var(--c0) 50%, var(--c1) 55%, var(--c2) 66%, color-mix(in srgb, var(--c2) 30%, #0000) 84%, #0000 100%);
  -webkit-mask-image: linear-gradient(90deg, #0000 4%, #000 22%, #000 74%, #0000 98%); mask-image: linear-gradient(90deg, #0000 4%, #000 22%, #000 74%, #0000 98%);
  clip-path: polygon(0 50%, 16% 8%, 100% 0, 100% 100%, 16% 92%); }
.ci-v2:not(.ci-still) .ci2-streak { animation: ci2-sweep var(--sw) var(--d) cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* 粒子：位置由 JS 选好（不压脸、不压字），这里只管样子和漂移 */
.ci-v2 .ci2-particles { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.ci-v2 .ci2-particles i { position: absolute; border-radius: 50%; background: radial-gradient(circle, #ffe7a8 0%, #ff9a3a 45%, #0000 72%); }
.ci-v2 .ci2-particles[data-type="sparks"] i { background: radial-gradient(circle, #fff 0%, #ffcf6a 40%, #0000 70%); }
.ci-v2 .ci2-particles[data-type="motes"] i { background: radial-gradient(circle, #fff1c7cc 0%, #e2b56a66 50%, #0000 72%); }
.ci-v2 .ci2-particles[data-type="ash"] i { border-radius: 30% 60%; background: radial-gradient(circle, #e6edf7d9 0%, #9fb2cf80 50%, #0000 75%); }
.ci-v2:not(.ci-still) .ci2-particles i { animation: ci2-drift var(--pl) var(--pd) ease-out both; }
.ci-v2.ci-still .ci2-particles i { opacity: 0.55; }

/* 哀伤版：冷色薄雾缓慢漂移（不用斜线） */
.ci-v2 .ci2-mist { position: absolute; left: -20%; width: 140%; height: 34%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, #a9bcd826 0%, #0000 70%); filter: blur(6px); }
.ci-v2 .ci2-mist.a { top: 52%; }
.ci-v2 .ci2-mist.b { top: 8%; opacity: 0.7; }
.ci-v2:not(.ci-still) .ci2-mist { animation: ci2-mist var(--ci-ms) linear both; }
.ci-v2:not(.ci-still) .ci2-mist.b { animation-direction: reverse; }

/* 台词：名字（小、字距宽）→ 称呼对象（中、强调色）→ 对白（大字）；字号由 JS 按句长算好 */
.ci-v2 .ci-text { position: absolute; z-index: 6; left: var(--col0); width: var(--colw); right: auto; top: 48%; bottom: auto;
  transform: translateY(-50%) rotate(var(--tilt, 0deg)); padding: 0; background: none; text-align: center; color: var(--ink); }
.ci-v2[data-tone="grief"] .ci-text { top: 52%; }
.ci-v2 .ci-name { display: flex; align-items: center; justify-content: center; gap: 0.5em; white-space: nowrap; margin-bottom: calc(var(--ci-h) * 0.026);
  font: 600 max(11px, min(calc(var(--ci-h) * 0.042), calc(var(--ci-w) * 0.028))) / 1.2 var(--serif, serif); letter-spacing: 0.2em; color: var(--name); text-shadow: 0 2px 10px #000; }
.ci-v2 .ci-name::before, .ci-v2 .ci-name::after { content: '✦'; font-size: 0.6em; color: var(--rule); padding: 0 0.2em; }
.ci-v2 .ci-name::before { background: linear-gradient(270deg, var(--rule), #0000) left center / 1.8em 1px no-repeat; padding-left: 2.1em; }
.ci-v2 .ci-name::after { background: linear-gradient(90deg, var(--rule), #0000) right center / 1.8em 1px no-repeat; padding-right: 2.1em; }
.ci-v2 .ci-call { font: 700 max(12px, calc(var(--ci-fs, 40px) * 0.56)) / 1.3 var(--serif, serif); color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0.1em;
  text-shadow: 0 2px 12px #000, 0 0 18px #0009; }
.ci-v2 .ci-line { font: 800 var(--ci-fs, 40px) / 1.3 var(--serif, serif); letter-spacing: 0.03em; color: var(--ink); text-shadow: none;
  filter: drop-shadow(0 3px 2px #000) drop-shadow(0 0 16px #000b); }
.ci-v2[data-size="long"] .ci-line { line-height: 1.36; letter-spacing: 0.02em; }
.ci-v2 .ci-line > div { white-space: nowrap; width: fit-content; max-width: 100%; margin: 0 auto; }
/* 句末全角标点自带半个字的空白：收紧，右引号贴住句子 */
.ci-v2 .ci2-tp { margin-right: -0.45em; }
/* 名字与台词在「滑入 + 停顿」之后才出现（--line-at），语音同时开始 */
.ci-v2:not(.ci-still) .ci-text { animation: ci2-text-in 300ms var(--line-at, 0ms) ease-out both; }
.ci-v2[data-tone="rage"]:not(.ci-still) .ci-text { animation-duration: 170ms; }
.ci-v2[data-tone="grief"]:not(.ci-still) .ci-text { animation-duration: 640ms; }

/* 被指向的宾客：在台词下方（top 由 JS 写入），箭头指向说话的人 */
.ci-v2 .ci-target { position: absolute; z-index: 6; right: 4%; left: auto; bottom: auto; display: flex; align-items: center; gap: 0.6em; padding: 0.3em 1em 0.3em 0.3em;
  border: 1px solid #ff5a5e88; border-radius: 999px; background: linear-gradient(90deg, #2a070ccc, #12040799); color: #ffd7cf;
  font: 600 max(11px, calc(var(--ci-h) * 0.038)) / 1 var(--serif, serif); letter-spacing: 0.12em; box-shadow: 0 0 18px #ff3a3e55; }
.ci-v2[data-layout="right"] .ci-target { right: auto; left: 4%; }
.ci-v2 .ci-target img { width: calc(var(--ci-h) * 0.1); aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid #ff5a5e; }
.ci-v2 .ci-target::before { content: '⟵'; color: #ff8a8a; order: 3; margin-right: -0.2em; }
.ci-v2[data-layout="right"] .ci-target::before { content: '⟶'; }
.ci-v2:not(.ci-still) .ci-target { animation: ci2-target-in 420ms calc(var(--line-at, 0ms) + 120ms) ease-out both; }

/* 量尺寸时冻结动画 */
.ci-v2.ci2-measure, .ci-v2.ci2-measure * { animation: none !important; }

/* 退场 */
/* 退场：面板、台词条顺着进场方向滑出（JS）；光带、粒子先收掉，不会在滑出时扫过脸；整层在最后淡掉 */
.ci-v2.out { animation: ci2-out-late var(--out-ms) linear forwards; }
.ci-v2.ci-instant.out { animation-name: ci2-out-fade; }
.ci-v2.out .ci2-fx, .ci-v2.out .ci2-particles, .ci-v2.out .ci2-speed, .ci-v2.out .ci2-flash { opacity: 0 !important; transition: opacity 50ms linear; }


@keyframes ci2-layer-in { from { opacity: 0; } }
@keyframes ci2-hold { from { scale: 1; } to { scale: 1.03; } }
@keyframes ci2-enter { from { transform: scale(var(--en-s)); } }
@keyframes ci2-flash { from { opacity: 0.9; } to { opacity: 0; } }
@keyframes ci2-sweep { from { transform: rotate(var(--a)) translateX(-38%) scaleX(0.2); opacity: 0; } 30% { opacity: 1; } to { transform: rotate(var(--a)); } }
@keyframes ci2-drift { from { transform: translate(0, 0); opacity: 0; } 18% { opacity: 1; } 70% { opacity: 0.8; } to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes ci2-mist { from { translate: -4% 0; } to { translate: 4% 0; } }
@keyframes ci2-text-in { from { opacity: 0; translate: var(--tx-in, 9%) 0; } }
@keyframes ci2-target-in { from { opacity: 0; scale: 0.85; } 60% { box-shadow: 0 0 34px #ff3a3ecc; } }
@keyframes ci2-out-fade { to { opacity: 0; } }
@keyframes ci2-out-late { 55% { opacity: 1; } to { opacity: 0; } }

/* 静态版（柔和特效、系统减少动态、「动画」关闭时的 0.8 秒短版）：不推进、不扫光、不闪 */
.ci-v2.ci-still .ci-media img, .ci-v2.ci-still .ci-text, .ci-v2.ci-still .ci-target { animation: none; }
.ci-v2.ci-brief { animation-duration: 120ms; }
@media (prefers-reduced-motion: reduce) {
  .ci-v2 .ci-media img, .ci-v2 .ci2-streak, .ci-v2 .ci2-particles i, .ci-v2 .ci2-mist, .ci-v2 .ci-text, .ci-v2 .ci-target { animation: none !important; }
  .ci-v2 .ci2-flash { display: none; }
}
body.calm .ci-v2 .ci-media img, body.calm .ci-v2 .ci2-streak, body.calm .ci-v2 .ci2-particles i, body.calm .ci-v2 .ci-text, body.calm .ci-v2 .ci-target { animation: none !important; }
body.calm .ci-v2 .ci2-flash { display: none; }

/* ---------- L3 重大事件：继承人献祭 / 遇刺 ---------- */
.heir-card-fx.ev2 { display: block; padding: 0; overflow: hidden; border-radius: 10px; background: #000; animation: ev2-in var(--ev-in) ease-out both; }
/* 刷入时：底色透明（事件画面从画面外滑进来），压暗随画面到位 */
.heir-card-fx.ev2.has-art:not(.ev2-instant) { background: none; animation: ev2-in 120ms ease-out both; }
.heir-card-fx.ev2.has-art:not(.ev2-instant) .ev2-tint { animation: ev2-in 200ms var(--ev-at, 0ms) ease-out both; }
.heir-card-fx.ev2.has-art.slain:not(.ev2-instant) .ev2-tint { animation: ev2-in 200ms var(--ev-at, 0ms) ease-out both, ev2-pulse calc(var(--hc-ms) * 0.5) var(--ev-at, 0ms) ease-in-out both; }
.heir-card-fx.ev2:not(.has-art) { background: radial-gradient(ellipse at 50% 46%, #2a1a08 0%, #050304 75%); }
.heir-card-fx.ev2.slain:not(.has-art) { background: radial-gradient(ellipse at 50% 46%, #2a0408 0%, #030102 75%); }
.ev2 .hc-art { position: absolute; inset: 0; }
.ev2 .hc-art { overflow: hidden; }
.ev2 .hc-art::before { content: ''; position: absolute; inset: -8%; background: var(--hc-bg) center / cover no-repeat; filter: blur(22px) brightness(0.42) saturate(0.9); }
/* 事件画完整可见（王冠、头顶不被裁）：contain；空出来的边由上面的模糊底图填 */
.heir-card-fx.ev2.has-art .hc-art img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; scale: 0.92; } /* 留边：推镜 scale 1.09 时王冠也不出框 */
.ev2.safe .hc-art { animation: ev2-safe-push var(--hc-ms) cubic-bezier(0.3, 0, 0.2, 1) both; }
.ev2.slain .hc-art { animation: ev2-slain-push var(--hc-ms) cubic-bezier(0.1, 0.9, 0.2, 1) both; }
.ev2 .hc-card { position: absolute; left: 50%; top: 44%; translate: -50% -50%; width: min(26%, calc(var(--ev-h) * 0.3)); }
.ev2.slain .hc-card { filter: saturate(0.4) brightness(0.75); }
.ev2 .ev2-tint { position: absolute; inset: 0; pointer-events: none; }
.ev2.safe .ev2-tint { background: radial-gradient(ellipse 46% 52% at 50% 46%, #ffd98a33 0%, #0000 60%), radial-gradient(ellipse at 50% 50%, #0000 45%, #120a02cc 100%); }
.ev2.slain .ev2-tint { background: radial-gradient(ellipse at 50% 46%, #0000 25%, #3a0006aa 70%, #0b0002f0 100%); animation: ev2-pulse calc(var(--hc-ms) * 0.5) ease-in-out both; }

/* 献祭：仪式光柱 + 金色法阵（缓慢展开、缓慢旋转） */
.ev2 .ev2-rays { position: absolute; inset: 0; pointer-events: none; transform-origin: 50% 0;
  background: linear-gradient(90deg, #0000 26%, #ffd98a1c 34%, #0000 40%, #ffe9b52e 47%, #fff3d238 50%, #ffe9b52e 53%, #0000 60%, #ffd98a1c 66%, #0000 74%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000a 55%, #0000 90%); mask-image: linear-gradient(180deg, #000 0%, #000a 55%, #0000 90%);
  animation: ev2-rays var(--ev-fx) var(--ev-at, 0ms) ease-out both; }
/* 法阵平铺在祭坛所在的地面上（压扁成椭圆），不盖住牌面 */
.ev2 .ev2-circle { position: absolute; left: 50%; top: 66%; width: min(calc(var(--ev-w) * 0.9), calc(var(--ev-h) * 1.25)); aspect-ratio: 1; translate: -50% -50%; transform: scaleY(0.3); overflow: visible;
  fill: none; stroke: #f0cf86; stroke-width: 1.1; filter: drop-shadow(0 0 5px #f0cf86aa) drop-shadow(0 0 16px #e0a84066);
  animation: ev2-circle-in var(--ev-fx) var(--ev-at, 0ms) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ev2 .ev2-circle .ticks { stroke-dasharray: 1.2 5; stroke-width: 3; }
.ev2 .ev2-circle .core { fill: #ffe2a01f; }
.ev2 .ev2-circle .ring { transform-box: fill-box; transform-origin: 50% 50%; }
.ev2 .ev2-circle .ring.a { animation: ev2-spin 16s linear infinite; }
.ev2 .ev2-circle .ring.b { animation: ev2-spin 22s linear infinite reverse; }

/* 遇刺：闪红 + 深红裂痕（急速蔓延）+ 画面震动 */
.heir-card-fx.ev2.slain { animation: ev2-in var(--ev-in) ease-out both, ev2-shake 380ms calc(var(--ev-at, 0ms) + 20ms) linear both; }
.heir-card-fx.ev2.slain.has-art:not(.ev2-instant) { animation: ev2-in 120ms ease-out both, ev2-shake 380ms calc(var(--ev-at, 0ms) + 20ms) linear both; }
.ev2 .ev2-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, #fff0f0 0%, #ff2236 35%, #5a0010 80%); mix-blend-mode: screen; opacity: 0; animation: ev2-flash 300ms var(--ev-at, 0ms) ease-out forwards; }
.ev2 .ev2-cracks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  filter: drop-shadow(0 0 3px #ff2a3a) drop-shadow(0 0 10px #a0001688); }
.ev2 .ev2-cracks polyline { fill: none; stroke: #b0101c; stroke-linejoin: miter; opacity: 0.9;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ev2-crack var(--ev-fx) calc(var(--ev-at, 0ms) + 30ms + var(--k) * 22ms) cubic-bezier(0.1, 0.8, 0.2, 1) forwards; }

/* 粒子 */
.ev2 .ev2-particles { position: absolute; inset: 0; pointer-events: none; }
.ev2 .ev2-particles i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; }
.ev2.safe .ev2-particles i { background: radial-gradient(circle, #fff3cf 0%, #f0c46a 45%, #0000 72%); animation: ev2-p var(--pl) var(--pd) cubic-bezier(0.3, 0, 0.4, 1) both; }
.ev2.slain .ev2-particles i { border-radius: 20% 60%; background: radial-gradient(circle, #ff5a62 0%, #7a0610 55%, #0000 75%); animation: ev2-p var(--pl) var(--pd) cubic-bezier(0.1, 0.7, 0.4, 1) both; }

/* 专属标题：小标（仪式名）→ 大标题 → 说明 */
.ev2 .ev2-title > small, .ev2 .ev2-title > .hc-caption { animation: ev2-in 360ms calc(var(--ev-title-at, 0ms) + 120ms) ease-out both; }
.ev2 .ev2-title { position: absolute; left: 0; right: 0; bottom: 8%; display: grid; justify-items: center; gap: calc(var(--ev-h) * 0.012); text-align: center; pointer-events: none; }
.ev2 .ev2-kicker { font: 600 max(11px, calc(var(--ev-h) * 0.028)) / 1 var(--serif, serif); letter-spacing: 0.55em; padding-left: 0.55em; color: #ecd39a; text-shadow: 0 2px 8px #000; }
.ev2 .ev2-head { font: 800 max(26px, calc(var(--ev-h) * 0.1)) / 1.05 var(--serif, serif); letter-spacing: 0.24em; padding-left: 0.24em; }
.ev2.safe .ev2-head { color: #f4d58e; text-shadow: 0 3px 2px #000, 0 0 22px #e7b85a88, 0 0 2px #5a3a0a; animation: ev2-title-rise 900ms var(--ev-title-at, 320ms) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ev2.slain .ev2-kicker { color: #ff9a9a; }
.ev2.slain .ev2-head { color: #ff3446; transform: skewX(-6deg); text-shadow: 0 3px 2px #000, 0 0 24px #ff1a2c99, 0 0 2px #2a0004;
  animation: ev2-title-slam 200ms var(--ev-title-at, 110ms) cubic-bezier(0.1, 0.9, 0.2, 1) both; }
.ev2 .hc-caption { position: static; padding: 0.3em 1.4em; font: 600 max(12px, calc(var(--ev-h) * 0.034)) / 1.3 var(--serif, serif); letter-spacing: 0.14em; color: #f3e6cf;
  background: linear-gradient(90deg, #0000, #0b0609d9 20%, #0b0609d9 80%, #0000); text-shadow: 0 2px 10px #000; }
.ev2.slain .hc-caption { color: #ffb0b6; }
.heir-card-fx.ev2.out { animation: ev2-out var(--ev-out) ease-in forwards; }

@keyframes ev2-in { from { opacity: 0; } }
@keyframes ev2-out { to { opacity: 0; } }
@keyframes ev2-safe-push { from { transform: scale(1.09); filter: brightness(0.55) saturate(0.8); } 45% { filter: brightness(1.05); } to { transform: scale(1); filter: brightness(1); } }
@keyframes ev2-slain-push { from { transform: scale(1.16); filter: brightness(1.6) saturate(1.4); } 12% { filter: brightness(0.7); } to { transform: scale(1.02); filter: brightness(0.82) saturate(0.85); } }
@keyframes ev2-rays { from { opacity: 0; transform: scaleY(0.5); } to { opacity: 1; transform: none; } }
@keyframes ev2-circle-in { from { opacity: 0; scale: 0.4; } 60% { opacity: 1; } to { opacity: 0.7; scale: 1; } }
@keyframes ev2-spin { to { transform: rotate(360deg); } }
@keyframes ev2-flash { from { opacity: 0.9; } to { opacity: 0; } }
@keyframes ev2-crack { to { stroke-dashoffset: 0; } }
@keyframes ev2-shake { 0%, 100% { transform: none; } 15% { transform: translate(-7px, 3px); } 30% { transform: translate(6px, -4px); } 45% { transform: translate(-4px, -2px); } 60% { transform: translate(3px, 2px); } 80% { transform: translate(-1px, 1px); } }
@keyframes ev2-pulse { from { opacity: 0; } 20% { opacity: 1; } to { opacity: 0.9; } }
@keyframes ev2-p { from { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes ev2-title-rise { from { opacity: 0; translate: 0 18px; letter-spacing: 0.4em; } }
@keyframes ev2-title-slam { from { opacity: 0; scale: 1.35; } }

@media (prefers-reduced-motion: reduce) {
  .heir-card-fx.ev2, .ev2 .hc-art, .ev2 .ev2-circle, .ev2 .ev2-circle .ring, .ev2 .ev2-rays, .ev2 .ev2-particles i, .ev2 .ev2-head, .ev2 .ev2-tint { animation: none !important; }
  .ev2 .ev2-flash, .ev2 .ev2-particles { display: none; }
  .ev2 .ev2-cracks polyline { animation: none !important; stroke-dashoffset: 0; }
}
body.calm .heir-card-fx.ev2, body.calm .ev2 .hc-art, body.calm .ev2 .ev2-circle .ring, body.calm .ev2 .ev2-head { animation: none !important; }
body.calm .ev2 .ev2-flash, body.calm .ev2 .ev2-particles { display: none; }
body.calm .ev2 .ev2-cracks polyline { animation: none !important; stroke-dashoffset: 0; }

/* 减少动态：全局规则关掉了所有动画（style.css）。特写不刷入、不推进，但保留整层淡入淡出（只是透明度，没有位移），音效照常 */
@media (prefers-reduced-motion: reduce) {
  .ci-v2.ci-instant { animation: ci2-layer-in var(--in-ms, 200ms) ease-out both !important; }
  .ci-v2.ci-instant.out { animation: ci2-out-fade var(--out-ms, 200ms) ease-in forwards !important; }
  .heir-card-fx.ev2.ev2-instant { animation: ev2-in 300ms ease-out both !important; }
  .heir-card-fx.ev2.ev2-instant.out { animation: ev2-out var(--ev-out) ease-in forwards !important; }
}

/* 特写播放时，四角立绘舞台（.cs-host，z 31）与座位气泡层（z 33）暂时隐去：特写在 #fx（z 20）里，层级低于它们，
   不隐去就会盖在特写的人脸和台词上（合并对局分支 16ddc82 后出现，e2e/cutin-gallery 检出） */
body:has(#fx .ci-v2, #fx .ci-layer, #fx .heir-card-fx) :is(.cs-host, .speech-layer) { visibility: hidden; }
/* 右上角战况迷你面板（z 30）同理：特写 / 重大事件画面期间隐去，不盖在画上（11-07 献祭画面右上角被遮） */
body:has(#fx .ci-v2, #fx .ci-layer, #fx .heir-card-fx) .side-mini { visibility: hidden; }

/* /styles/mobile-v5.css */
/* =====================================================================
   手机横屏（≤520px 高，例如 844×390）：和桌面版同一构图（00:40 巡检）
   - 舞台占满主区；手牌在底部居中、半露（不轮到自己时下沉，轮到自己升起；长按看单张）
   - 自己的名牌与阵营纹章在手牌左侧，「保持沉默」在手牌右侧；选目标的按钮在手牌上方
   - 密语手札只在右栏抽屉「密语手札」标签里（主区不再有右侧栏）
   - 右栏默认收起（抽屉），顶栏计分小条常驻
   本文件最后加载，只在短横屏生效；数字以主区（.game-body 容器）为单位。
   ===================================================================== */
@media (max-height: 520px) {
  html.has-close-table .game-body {
    display: block; position: relative; container-type: size;
    overflow: clip; /* 半露手牌下沉出主区底边：裁掉，不让整页变得可滚动 */
    height: calc(100dvh - var(--top-h) - 36px - 0.8rem); /* 0.8rem = .layout 上下内边距（各 0.4rem）；少算 3px 时整页可滚，点牌聚焦会把页面上推 3px */
    --card-w: clamp(48px, min(7.6cqw, 21cqh), 72px);
    --hand-w: calc(var(--card-w) * 3 + 0.6rem);
  }
  html.has-close-table .verdict ~ .game-body { height: calc(100dvh - var(--top-h) - 36px - 0.8rem - 3.3rem); }
  /* 终局横幅压成一行（约 44px）：胜方 + 原因，手机上收起结局台词与等待提示 */
  #main .verdict { flex-wrap: nowrap; padding: 0.15rem 0.6rem; margin-bottom: 0.2rem; min-height: 0; height: 3rem; box-sizing: border-box; overflow: hidden; }
  #main .verdict .reason { font-size: 0.72rem; line-height: 1.25; flex: 1 1 auto; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  #main .verdict .reason .ending, #main .verdict .verdict-actions .muted { display: none; }
  #main .verdict .banner { white-space: nowrap; font-size: 0.95rem; letter-spacing: 0.08em; }
  html.has-close-table .game-body .stage { position: absolute; inset: 0; height: auto; }
  html.has-close-table .verdict ~ .game-body .my-area { height: auto; }
  /* 终局：手机上收起剩余手牌（已无操作），揭面板用整张桌子的高度，不压手牌 */
  html.has-close-table .verdict ~ .game-body .my-area .hand-row { display: none; }
  /* 手牌收起后名牌回到底部正中（自己的座位位置）：桌子变小时留在原处会和左下方的座位相撞 */
  html.has-close-table .verdict ~ .game-body .stage .seat.me.me { right: auto; left: 50%; transform: translateX(-50%); }

  html.has-close-table .my-area {
    position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 6; display: block; padding: 0; max-height: none; overflow: visible; pointer-events: none;
  }
  html.has-close-table .my-area > * { pointer-events: auto; }
  html.has-close-table .my-area .hand-row {
    position: absolute; left: 50%; bottom: 0; width: var(--hand-w); transform: translateX(-50%);
    display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 0.4rem;
    --sink: calc(var(--card-w) * 1.5 * 0.42);
  }
  html.has-close-table .my-area .hand { gap: 0; flex: 1; justify-content: center; transition: transform 0.35s cubic-bezier(.2,.8,.3,1); }
  html.has-close-table.has-plate-cards .my-area .hand .card { width: var(--card-w); }
  html.has-close-table .my-area .hand-row.sunk .hand { transform: translateY(var(--sink)); }
  html.has-close-table .my-area .hand-row.sunk .card { filter: brightness(0.85) saturate(0.92); }
  html.has-close-table.has-plate-cards .my-area .hand-row.sunk .hand .card.peek { --lift: calc(var(--sink) * -1); --fan: 0deg; --rx: 4deg; z-index: 3; filter: none; }
  html.has-close-table .my-area .hand-row.rise .hand { animation: hand-rise 0.35s cubic-bezier(.2,.8,.3,1) var(--rise-at, 0ms) both; }
  /* 「保持沉默」：手牌右侧，竖直对齐手牌中线 */
  html.has-close-table .my-area .hand-row .pass { position: absolute; left: calc(100% + 0.6rem); bottom: calc(var(--card-w) * 0.55); width: max-content; align-self: auto; }
  html.has-close-table .my-area .hand-row .pass .btn { width: auto; min-height: 40px; padding: 0.2em 0.9em; font-size: 0.78rem; } /* 触屏目标 ≥ 40px */
  html.has-close-table .my-area .hand-row .pass .must { font-size: 0.62rem; }
  /* 阵营纹章：手牌托盘左端 */
  html.has-close-table .my-area .hand-row .fac-emblem { position: absolute; left: auto; right: calc(100% + 0.3rem); top: auto; bottom: calc(var(--card-w) * 0.15); width: 26px; }
  /* 选目标 / 提示：手牌上方居中 */
  html.has-close-table .my-area .choices-slot { position: absolute; left: 50%; bottom: calc(var(--card-w) * 1.5 + 0.6rem); transform: translateX(-50%); width: min(30rem, 64cqw); min-height: 0; justify-content: center; }
  html.has-close-table .my-area .choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
  /* 身份块：手札只在抽屉里；主区只留（不可见的）占位，不占地方 */
  html.has-close-table .my-area .my-id { position: absolute; left: auto; right: calc(50% + var(--hand-w) / 2 + 2.2rem); bottom: calc(var(--card-w) * 0.5 + 1.6rem); width: auto; justify-items: end; }
  html.has-close-table .my-area .my-id .notes { display: none; }
  /* 自己的名牌：手牌左侧（和桌面版一样不画大勋章） */
  html.has-close-table .stage .seat.me.me {
    left: auto; right: calc(50% + var(--hand-w) / 2 + 2.2rem); top: auto; bottom: calc(var(--card-w) * 0.2);
    transform: none; width: auto; min-width: 0; z-index: 7; display: flex; flex-direction: column; align-items: flex-end; gap: 0.15rem;
  }
  html.has-close-table .stage .seat.me.me .avatar, html.has-close-table .stage .seat.me.me::before { display: none; }
  html.has-close-table .stage .seat.me .nm { margin: 0; font-size: 0.72rem; }
}
@media (max-height: 520px) {
  /* 桌子按主区高度缩：近端桌沿落在半露手牌的上半部后方，远端座位（坐在桌后）留出完整勋章 + 名牌的高度 */
  html.has-full-table .game-body .stage {
    --rim-anchor: calc(100cqh - var(--card-w) * 1.5 * 0.58 * 0.4);
    --top-room: calc(var(--medal) * 1.45);
    --cam-table-w: min(calc(var(--cam-table-frac) * 100cqw),
                       calc((var(--rim-anchor) - var(--top-room)) / ((var(--rim-out-bottom) - var(--rim-out-top)) * var(--table-hw))));
    /* 派生量在 html 上定义时用的是 html 的桌宽：在这里按缩过的桌宽重算 */
    --cam-table-h: calc(var(--cam-table-w) * var(--table-hw));
    --felt-box-w: calc(var(--felt-rx) * 2 * var(--cam-table-w));
  }
  html.has-full-table .game-body .table { top: calc(var(--rim-anchor) - var(--rim-out-bottom) * var(--cam-table-h)); }
  html.has-full-table .game-body .stage .seat.me.me { bottom: calc(var(--card-w) * 0.2); right: calc(50% + var(--hand-w) / 2 + 2.4rem); left: auto; }
}

/* 发言气泡（11-01 验收第 3 项）：同一时刻只有一个完整气泡，其余收成一行标题（app.js collapseBubble）。
   原来这里按 3 行截断（line-clamp），长句被截成「…」（11-04 用户）；现在加宽 + 放不下才分页，见 match-v2.css 末尾 */

/* /styles/match-v2.css */
/* 对局桌面演出 v2（video2 意见 P0 / P1；public/match-fx.js）。最后加载。
   节奏与尺寸在 shared/presentation.js 的 MATCH_FX，这里通过 CSS 变量读取（--mfx-*）。 */

/* ---------- P0-2 / 牌尺寸：桌上的牌统一尺寸 = 手牌宽 × 0.72（8–10 人 0.70），近大远小、压扁由桌面平面的透视给出 ---------- */
html.has-close-table .stage .plane .front-back { width: calc(var(--card-w, 112px) * var(--mfx-table-k, 0.72)); }
html.has-close-table .stage.dense .plane .front-back { width: calc(var(--card-w, 112px) * var(--mfx-table-k-dense, 0.7)); }

/* ---------- P0-1 行动者高亮：金色外圈（不过曝），其他头像略暗，切换 200–350ms ---------- */
.stage.mfx-has-focus .seat:not(.me) .medal { transition: filter var(--mfx-fade, 280ms) ease; }
.stage.mfx-has-focus .seat:not(.me):not(.mfx-focus) .medal { filter: brightness(0.66) saturate(0.78); }
.stage.mfx-has-focus .seat:not(.me):not(.mfx-focus) .nm { opacity: 0.78; transition: opacity var(--mfx-fade, 280ms) ease; }
/* 整块重绘后 transition 不会生效：切换的 280ms 内用动画接着播（负的 animation-delay = 已过去的时间） */
.stage.mfx-switching .seat.mfx-focus:not(.me) .medal { animation: mfx-undim var(--mfx-fade) ease both; animation-delay: var(--mfx-t, 0ms); }
.stage.mfx-switching .seat.mfx-prev:not(.me) .medal { animation: mfx-dim var(--mfx-fade) ease both; animation-delay: var(--mfx-t, 0ms); }
@keyframes mfx-undim { from { filter: brightness(0.66) saturate(0.78); } to { filter: none; } }
@keyframes mfx-dim { from { filter: none; } to { filter: brightness(0.66) saturate(0.78); } }
/* 旧版高亮的光晕太亮（6px + 14px 两层金光）：换成细金圈 + 小范围暖光 */
html.has-close-table.has-seat-frame .stage.mfx-has-focus .seat.actor .avatar::after { filter: drop-shadow(0 3px 4px #000c); }
html.has-close-table.has-seat-frame .stage.mfx-has-focus .seat.mfx-focus .avatar::after { filter: drop-shadow(0 0 1.5px #f3d79a) drop-shadow(0 0 6px #d9a24f88) drop-shadow(0 3px 4px #000a); }
html.has-close-table .stage.mfx-has-focus .seat.mfx-focus:not(.me) .medal::after {
  content: ''; position: absolute; inset: -9%; border-radius: 50%; pointer-events: none; z-index: 2;
  box-shadow: 0 0 0 1.5px #e9c77fd9, 0 0 10px 1px #d9a24f55, inset 0 0 8px #d9a24f33;
}
.stage.mfx-switching .seat.mfx-focus:not(.me) .medal::after { animation: mfx-ring var(--mfx-fade) ease both; animation-delay: var(--mfx-t, 0ms); }
@keyframes mfx-ring { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
/* 发言等外部调用临时指定的座位：同样的金圈，不挂行动者标记 */
.stage.mfx-has-focus[data-focus-kind='speech'] .seat.mfx-focus:not(.actor) .actor-mark { opacity: 0; }
body.calm .stage .seat .medal, body.calm .stage .seat .medal::after { animation: none !important; }

/* 顶部状态：阶段 + 等待 / 操作 / 思考 / 演出（行动者名字在提示句里）；固定宽度，不改变标题行高度 */
.headline .mfx-status { display: inline-flex; align-items: center; gap: 0.45em; flex: none; padding: 0.12em 0.6em 0.12em 0.5em; border-radius: 2px;
  background: #0b080acc; box-shadow: 0 0 0 1px #c9a35e44; font: 0.82rem var(--serif); line-height: 1.5; white-space: nowrap; }
.headline .mfx-status .mfx-ph { color: var(--gold, #d8b26a); font-weight: 600; letter-spacing: 0.08em; min-width: 3.2em; text-align: center; }
.headline .mfx-status .mfx-st { font-style: normal; color: #b9aab0; display: inline-flex; align-items: center; gap: 0.35em; }
.headline .mfx-status .mfx-st::before { content: ''; width: 0.5em; height: 0.5em; border-radius: 50%; background: #6d6372; }
.headline .mfx-status[data-state='mine'] .mfx-st { color: #ffe2a0; }
.headline .mfx-status[data-state='mine'] .mfx-st::before { background: #ffd98f; box-shadow: 0 0 6px #ffb84d; animation: mfx-blink 1.6s ease-in-out infinite; }
.headline .mfx-status[data-state='cpu'] .mfx-st::before { background: #91abc0; }
.headline .mfx-status[data-state='speech'] .mfx-st::before { background: #c9a35e; }
.headline .mfx-status[data-state='show'] .mfx-st::before { background: #b23e4c; }
@keyframes mfx-blink { 50% { opacity: 0.45; } }
body.calm .headline .mfx-status .mfx-st::before { animation: none; }
html.rb-enter:not(.rb-enter-live) #main .headline .mfx-status { opacity: 0; }
html.rb-enter.rb-enter-live #main .headline .mfx-status { transition: opacity var(--enter-live, 450ms) ease; }
@media (max-height: 520px) {
  .headline .mfx-status { font-size: 0.68rem; padding: 0 0.45em; gap: 0.3em; }
  .headline .mfx-status .mfx-ph { min-width: 0; }
}

/* ---------- P0-2 出牌：飞行中抬起（投影远、略暖），落桌时接触阴影收紧；新牌带一圈淡金边，旧牌更暗 ---------- */
html.has-close-table .fx-back.mfx-fly.flying { box-shadow: 0 0 0 1px #000a, 0 12px 18px -4px #000c, 0 22px 30px -12px #000a, 0 0 10px #e0a24f33; filter: brightness(0.98); }
html.has-close-table .fx-back.mfx-fly.flying.landed { box-shadow: 0 0 0 1px #000c, 0 4px 5px #000d, 0 10px 16px -4px #000c; filter: brightness(0.92) saturate(0.92); transition: box-shadow 160ms ease, filter 160ms ease; }
html.has-close-table .plane .front-back.mfx-new {
  animation: mfx-land var(--mfx-land, 260ms) cubic-bezier(.2,.8,.3,1) both, mfx-new var(--mfx-new, 2600ms) ease-in both;
  animation-delay: var(--mfx-new-t, 0ms), var(--mfx-new-t, 0ms);
}
@keyframes mfx-land {
  from { scale: 1.035; box-shadow: 0 0 0 1px #000c, 0 6px 6px #000c, 0 16px 22px -4px #000b, 0 0 0 1.5px #ecd08fcc; }
  to { scale: 1; box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 9px 14px -2px #000c, 0 0 0 1.5px #ecd08fcc; }
}
@keyframes mfx-new {
  0%, 40% { filter: brightness(1) saturate(0.95); box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 9px 14px -2px #000c, 0 0 0 1.5px #ecd08fcc, 0 0 10px #e0a24f55; }
  100% { filter: brightness(0.8) saturate(0.88); box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 9px 14px -2px #000c, 0 0 0 1.5px #ecd08f00, 0 0 10px #e0a24f00; }
}
html.has-full-table .plane .front-back:not(.mfx-new) { filter: brightness(0.8) saturate(0.88); }
body.calm .plane .front-back.mfx-new { animation: none; box-shadow: 0 0 0 1px #000c, 0 3px 3px #000d, 0 9px 14px -2px #000c, 0 0 0 1.5px #ecd08fcc; }

/* ---------- P0-3 揭示：桌心保持亮，四周背景和非关键 UI 轻微压暗 ---------- */
.mfx-veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity var(--dim-fade, 500ms) ease;
  background: radial-gradient(ellipse 30% 24% at var(--cx, 50%) var(--cy, 50%), #05020300 0%, #05020300 45%, #05020352 75%, #05020385 100%); }
.mfx-veil.on { opacity: 1; }
/* 重要的牌（继承人、刃牌）翻开时放大停顿 */
html.has-close-table .fx-card.lifted.current.mfx-key .f { box-shadow: 0 0 0 2px #ffd98f, 0 0 30px #ffb84daa, 0 14px 22px -4px #000d; }
html.has-close-table .fx-card.lifted.current.mfx-key .f[data-faction='thorn'] { box-shadow: 0 0 0 2px #ff6b78, 0 0 30px #b2302ecc, 0 14px 22px -4px #000d; }

/* ---------- P0-4 桌心结果：处决深红 / 献祭金色 / 只有幻影灰 ---------- */
.mfx-result { position: fixed; z-index: 40; transform: translate(-50%, -50%); pointer-events: none; text-align: center; white-space: nowrap;
  padding: 0.35em 3.2em 0.45em; min-width: min(30rem, 56vw);
  display: flex; flex-direction: column; align-items: center; gap: 0.1em;
  animation: mfx-result var(--ms, 1300ms) ease both; }
.mfx-result b { font: 700 clamp(1.7rem, 3.2vw, 3.1rem) var(--serif); letter-spacing: 0.32em; text-indent: 0.32em; line-height: 1.15; }
.mfx-result small { font: 0.9rem var(--serif); letter-spacing: 0.08em; color: #eadccb; opacity: 0.9; }
.mfx-result.killed { background: linear-gradient(90deg, #4a060e00, #4a060ee6 18%, #5c0a14ee 50%, #4a060ee6 82%, #4a060e00); box-shadow: 0 1px 0 #b2302e66 inset, 0 -1px 0 #b2302e66 inset; }
.mfx-result.killed b { color: #ff5a64; text-shadow: 0 0 14px #b2122a, 0 2px 2px #000; }
.mfx-result.sacrificed { background: linear-gradient(90deg, #2a1c0800, #2a1c08e6 18%, #3a2810ee 50%, #2a1c08e6 82%, #2a1c0800); box-shadow: 0 1px 0 #e0b86a66 inset, 0 -1px 0 #e0b86a66 inset; }
.mfx-result.sacrificed b { color: #ffd98f; text-shadow: 0 0 14px #e0a24f, 0 2px 2px #000; }
.mfx-result.none { background: linear-gradient(90deg, #1a161c00, #1a161ce6 18%, #1a161ce6 82%, #1a161c00); }
.mfx-result.none b { color: #c9bfd3; }
@keyframes mfx-result { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.86); } 14% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); } 22%, 82% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
body.calm .mfx-result { animation-name: mfx-result-calm; }
@keyframes mfx-result-calm { 0% { opacity: 0; } 12%, 85% { opacity: 1; } 100% { opacity: 0; } }
@media (max-height: 520px) { .mfx-result { padding: 0.2em 2em 0.25em; } .mfx-result b { font-size: 1.4rem; } .mfx-result small { font-size: 0.7rem; } }

/* 相关头像同步：本轮出牌者（公开信息，不对应具体哪张牌）头像一次深红 / 金色脉冲 */
.stage .seat.mfx-fate .medal { animation: mfx-fate var(--mfx-fate-ms, 1600ms) ease-out both; animation-delay: var(--mfx-fate-t, 0ms); }
.stage .seat.mfx-fate[data-mfx-fate='killed'] { --fate-c: #c0182e; }
.stage .seat.mfx-fate[data-mfx-fate='sacrificed'] { --fate-c: #f0c060; }
@keyframes mfx-fate { 0% { filter: none; } 20%, 55% { filter: drop-shadow(0 0 4px var(--fate-c)) drop-shadow(0 0 10px var(--fate-c)); } 100% { filter: none; } }
body.calm .stage .seat.mfx-fate .medal { animation: none; filter: drop-shadow(0 0 4px var(--fate-c)); }

/* ---------- 计数：紧凑框 / 计分条的数字轻微放大、按颜色闪一下，同时逐个数上去 ---------- */
.sm-cell.mfx-count b, .scorebar b.mfx-count { display: inline-block; animation: mfx-count var(--mfx-count-ms, 700ms) ease-out both; animation-delay: var(--mfx-count-t, 0ms); }
.sm-cell.mfx-count { --cc: #ffd98f; }
.sm-cell.abyss.mfx-count, .scorebar .sb-k b.mfx-count { --cc: #ff6b78; }
.sm-cell.altar.mfx-count, .scorebar .sb-s b.mfx-count { --cc: #ffd98f; }
@keyframes mfx-count { 0% { transform: scale(1); } 30% { transform: scale(1.28); text-shadow: 0 0 10px var(--cc, #ffd98f); } 100% { transform: scale(1); } }
body.calm .sm-cell.mfx-count b, body.calm .scorebar b.mfx-count { animation: none; text-shadow: 0 0 6px var(--cc, #ffd98f); }

/* ---------- P1-6 战况：当前轮突出、旧记录降权 ---------- */
.rp-rows li { transition: opacity 0.3s; }
.rp-rows li:not(:last-child) { opacity: 0.6; }
.rp-rows li:last-child { box-shadow: inset 2px 0 0 #d8b26a; background: #d8b26a14; }
#log-list li.mfx-old { opacity: 0.55; }
#log-list li.mfx-cur { box-shadow: inset 2px 0 0 #d8b26a99; }

/* ---------- 阶段切换横幅（video5 第 3 条）：桌心上方金边横幅约 1 秒，不挡操作 ---------- */
.mfx-phase-banner { position: fixed; z-index: 25; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; text-align: center;
  display: flex; align-items: baseline; gap: 0.8em; padding: 0.3em 2.6em 0.35em;
  background: linear-gradient(90deg, #120b0d00, #120b0de6 16%, #1c1214f0 50%, #120b0de6 84%, #120b0d00);
  box-shadow: 0 1px 0 #d8b26a99 inset, 0 -1px 0 #d8b26a99 inset;
  animation: mfx-phase-banner var(--ms, 1100ms) ease both; }
.mfx-phase-banner b { font: 700 clamp(1.15rem, 1.9vw, 1.9rem) var(--serif); color: #ffd98f; letter-spacing: 0.24em; text-indent: 0.24em; text-shadow: 0 0 10px #e0a24f88, 0 2px 2px #000; }
.mfx-phase-banner small { font: 0.9rem var(--serif); color: #eadccb; letter-spacing: 0.06em; }
@keyframes mfx-phase-banner { 0% { opacity: 0; transform: translate(-50%, -50%) scaleX(0.82); } 18% { opacity: 1; transform: translate(-50%, -50%) scaleX(1); } 78% { opacity: 1; } 100% { opacity: 0; } }
body.calm .mfx-phase-banner { animation-name: mfx-result-calm; }
@media (max-height: 520px) { .mfx-phase-banner { padding: 0.15em 1.6em 0.2em; } .mfx-phase-banner b { font-size: 1rem; } .mfx-phase-banner small { font-size: 0.7rem; } }
.stage .seat.mfx-cue:not(.me) .medal::after { animation: mfx-cue var(--mfx-cue-ms, 1100ms) ease-out both; animation-delay: var(--mfx-cue-t, 0ms); }
@keyframes mfx-cue { 0% { box-shadow: 0 0 0 1.5px #e9c77fd9, 0 0 0 0 #ffd98f99; } 40% { box-shadow: 0 0 0 1.5px #e9c77fd9, 0 0 0 8px #ffd98f00; } 100% { box-shadow: 0 0 0 1.5px #e9c77fd9, 0 0 10px 1px #d9a24f55, inset 0 0 8px #d9a24f33; } }
body.calm .stage .seat.mfx-cue .medal::after { animation: none; }

/* ---------- 名牌不被头像框压住（11-01 用户：「名字…被头像压住了」） ----------
   原来名牌上提 0.55em 挂在框的下沿上，框的下沿压进文字 5–8px；手机横屏还把头像层级放在名牌之上。
   现在：名牌上沿只和框的下沿重叠 2px（文字整行露在框外），名牌层级永远在头像（含框）之上。 */
html.has-close-table.has-seat-frame .stage .seat:not(.me) .nm.nm {
  margin-top: calc(var(--medal) * ((1 - var(--frame-hy)) * var(--frame-aspect, 1) / var(--frame-hole) - 0.5) - 1px);
  position: relative; z-index: 3;
}
html.has-close-table .stage .seat .avatar { z-index: auto; }

/* ---------- 自己的头像（11-01 用户：「我自己为什么没有头像（看不见）」） ----------
   和其他座位同一套头像框、同样大小；放在手牌左侧、桌子近端桌沿下方：[头像][名牌]，徽章照常挂在头像边缘。
   手机横屏缩小到其他座位的大小。位置由 window.__rbTableLayout().selfSeat 导出，入夜 / 天亮复用。 */
html.has-full-table.has-close-table .stage .seat.me.me { flex-direction: row; align-items: center; gap: 0.45rem; }
html.has-full-table.has-close-table .stage .seat.me.me .medal {
  position: relative; left: auto; top: auto; translate: none; display: block; flex: none;
  width: var(--medal); height: var(--medal); order: 0;
}
html.has-full-table.has-close-table .stage .seat.me.me .nm { order: 1; }
html.has-full-table.has-close-table .stage .seat.me.me .avatar { display: block; width: 100%; height: 100%; }
html.has-full-table.has-close-table .stage .seat.me.me .badge { position: absolute; width: calc(var(--medal) * 0.3); }
html.has-full-table.has-close-table .stage .seat.me.me .badge.coin { right: -6%; bottom: 14%; }
html.has-full-table.has-close-table .stage .seat.me.me .badge.seal { left: -6%; bottom: 14%; }
html.has-full-table.has-close-table .stage .seat.me.me .badge.veil { left: -4%; top: -2%; }
html.has-full-table.has-close-table .stage .seat.me.me .medal .eye-mark { position: absolute; right: -4%; top: -3%; width: calc(var(--medal) * 0.3); }
html.has-full-table.has-close-table .stage .seat.me.me .actor-mark { left: calc(var(--medal) * 0.5); right: auto; top: calc(var(--medal) * -0.28); transform: translateX(-50%); }
html.has-full-table.has-close-table .stage .seat.me.me.mfx-focus .medal::after {
  content: ''; position: absolute; inset: -9%; border-radius: 50%; pointer-events: none; z-index: 2;
  box-shadow: 0 0 0 1.5px #e9c77fd9, 0 0 10px 1px #d9a24f55, inset 0 0 8px #d9a24f33;
}

/* ---------- 收起的抽屉（窄屏 / 手机横屏：平移到视口外）不可见、不可聚焦：Tab 键不会把焦点移到视口外看不到的标签上 ---------- */
@media (max-width: 1100px), (max-height: 520px) {
  .side:not(.open) { visibility: hidden; transition: transform 0.2s ease, visibility 0s linear 0.2s; }
  .side.open { visibility: visible; transition: transform 0.2s ease, visibility 0s; }
}

/* ---------- 宽屏右上角有战况紧凑框：桌子按高度缩时，远端座位要在框的下沿以下（1280×640 十人局右上座位曾压住框） ----------
   紧凑框下沿 ≈ 主区顶部 + 75px；远端座位头像顶部 ≈ 桌沿上沿 − 1.12 × 头像（见 camera-v3 座位 transform） */
@media (min-width: 1101px) and (min-height: 521px) {
  html.has-full-table .layout.side-float .stage { --top-room: max(calc(var(--medal) * 1.3), calc(var(--medal) * 1.12 + 88px)); }
}

/* ---------- 揭示镜头（11-02 用户：「镜头直接放大 focus 到牌上……结束以后镜头再切回来，注意不能切的太快」） ----------
   推近期间：座位、手牌、四角立绘淡到约 0.25；牌（.fx-card.cam）不跟着舞台缩放位图，宽度直接设成放大后的值，用大图牌面 */
html.has-close-table .stage .seat, html.has-close-table .my-area, .cs-host { transition: opacity 700ms ease; }
html.has-close-table .stage.cam-in .seat, html.has-close-table .stage.cam-in .tc-layer { opacity: 0.25; }
html.has-close-table body:has(.stage.cam-in) :is(.my-area, .cs-host, #speech-layer) { opacity: 0.25; }
.fx-card.cam { perspective: calc(var(--cam-w, 120px) * 7); }
.fx-card.cam .b { background-image: var(--asset-card-back-lg, var(--asset-card-back)); }
.fx-card.cam .f span { font-size: clamp(0.62rem, calc(var(--cam-w, 120px) * 0.075), 1.15rem); }
.fx-card.cam :is(.b, .f) { transition: transform var(--cam-flip, 500ms) cubic-bezier(.3,.6,.3,1); }
/* 翻面时一点牌面光（不表现结果）：刃牌闪一下红光、幻影冒一点雾、继承人一圈金光 */
.fx-card.open.hint-blade .f { animation: hint-blade 900ms ease-out both; }
@keyframes hint-blade { 0%, 35% { box-shadow: 0 0 0 1px #0008; } 55% { box-shadow: 0 0 0 2px #ff6b78, 0 0 28px 6px #c2303ecc; } 100% { box-shadow: 0 0 0 1px #ff6b7899, 0 0 10px #b2302e66, 0 12px 24px -8px #000; } }
.fx-card.open.hint-heir .f { animation: hint-heir 900ms ease-out both; }
@keyframes hint-heir { 0%, 35% { box-shadow: 0 0 0 1px #0008; } 55% { box-shadow: 0 0 0 2px #ffe1a8, 0 0 28px 6px #ffd98fcc; } 100% { box-shadow: 0 0 0 1px #ffd98f99, 0 0 10px #ffb84d55, 0 12px 24px -8px #000; } }
.fx-card.open.hint-decoy::after { content: ''; position: absolute; inset: -12% -18%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, #b9b2c466, #b9b2c400); filter: blur(4px); animation: hint-mist 1400ms ease-out both; animation-delay: calc(var(--cam-flip, 500ms) * 0.5); }
@keyframes hint-mist { from { opacity: 0; transform: translateY(6%) scale(0.8); } 40% { opacity: 0.9; } to { opacity: 0.25; transform: translateY(-8%) scale(1.1); } }
body.calm .fx-card.open:is(.hint-blade, .hint-heir) .f, body.calm .fx-card.open.hint-decoy::after { animation-duration: 1ms; }

/* ---------- 座位发言气泡：长句先加宽折行，放不下才分页（11-04 用户：长句被截成三行「…」、靠右座位的气泡被挤窄） ----------
   position:fixed + left 定位时，自动宽度只算到视口右缘：越靠右越窄。宽度改成按内容（max-content）再封顶 */
.speech-bubble:not(.short) { width: max-content; max-width: min(26rem, 36vw); }
.speech-bubble .sb-t { display: block; overflow-wrap: anywhere; }
.speech-bubble.paged { padding-bottom: 1.25em; }
.speech-bubble.paged .sb-more { display: block; bottom: 0.25em; font-size: 0.62em; letter-spacing: 0.05em; opacity: 0.55; }
.speech-bubble.paged .sb-more::before { content: attr(data-pg) '  '; font-size: 0.95em; }
.speech-bubble.paged.sb-done:not(.sb-last) .sb-more { opacity: 1; animation: cs-blink 1.1s ease-in-out infinite; }
@media (max-height: 520px) {
  .speech-bubble:not(.short) { max-width: min(23rem, 46vw); line-height: 1.38; }
  /* 一行标题：别的座位正在说完整句时收成一行，点一下展开（全文也在右栏聊天里） */
  .speech-bubble.sb-mini { max-width: min(10rem, 26vw); padding-right: 1.5em; }
  .speech-bubble.sb-mini .sb-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .speech-bubble.sb-mini .sb-open { position: absolute; right: 0.45em; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 0.7em; color: #e6c993; }
}
@media (prefers-reduced-motion: reduce) { .speech-bubble.paged.sb-done .sb-more { animation: none; } }

/* =====================================================================
   房间设置（public/room-settings.js；11-06 用户：标准设置面板，不用横幅小签 + 弹层）
   大厅缎带上齿轮「房间设置」→ #room-dlg（与「设置」同一外观）；游戏内「设置」里 #room-set 同一份。
   每项一行：左边名称 + 一句说明，右边控件（对话显示时间 = 1–8 秒分段 + 读数；保留历史对话 = 开关）。非房主置灰并标「房主设定」
   ===================================================================== */
.gb-ribbon .rs-open { display: inline-flex; align-items: center; gap: 0.4em; }
.rs-gear { width: 1.1em; height: 1.1em; flex: none; }
.room-dlg { width: min(36rem, 96vw); max-width: 96vw; }
.room-dlg .settings-close { min-height: 40px; }
.rs-list { display: grid; gap: 0.7rem; }
.rs-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1rem; }
.rs-lbl { flex: 1 1 9em; display: grid; gap: 0.15rem; min-width: 0; }
.rs-k { font-size: 0.98rem; color: #f1e3c8; display: inline-flex; align-items: center; gap: 0.5em; flex-wrap: wrap; }
.rs-d { font-size: 0.8rem; color: #c9b38c; line-height: 1.35; }
.rs-tag { font-size: 0.72rem; padding: 0.05em 0.5em; border: 1px solid #c9a35e88; border-radius: 999px; color: #e6c993; letter-spacing: 0.08em; white-space: nowrap; }
.rs-ctl { display: inline-flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.rs-seg button { flex: none; min-width: 40px; min-height: 40px; padding: 0; font-variant-numeric: tabular-nums; }
.rs-v { min-width: 3em; text-align: right; font-variant-numeric: tabular-nums; color: #f4dfae; }
.rs-sw { display: inline-flex; align-items: center; gap: 0.55em; min-height: 40px; min-width: 88px; padding: 0 0.3em; cursor: pointer; background: none; border: 0; color: #f1e3c8; font: 0.92rem var(--sans, sans-serif); }
.rs-knob { position: relative; width: 48px; height: 26px; border-radius: 13px; background: #2a1414; border: 1px solid #c9a35e99; transition: background 0.2s ease; flex: none; }
.rs-knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #c9b38c; transition: transform 0.2s ease, background 0.2s ease; }
.rs-sw[aria-checked='true'] .rs-knob { background: linear-gradient(#d9b46a, #a77d38); border-color: #e6c993; }
.rs-sw[aria-checked='true'] .rs-knob::after { transform: translateX(22px); background: #2a0d14; }
.rs-sw-t { min-width: 1.2em; }
.rs-sw:focus-visible { outline: 2px solid #e6c993; outline-offset: 2px; }
.rs-list.ro .rs-seg, .rs-list.ro .rs-sw { opacity: 0.5; filter: saturate(0.6); }
.rs-list.ro button:disabled { cursor: not-allowed; }
.rs-note { margin: 0; font-size: 0.76rem; color: #c9b38c; }
@media (prefers-reduced-motion: reduce) { .rs-knob, .rs-knob::after { transition: none; } }
@media (max-height: 520px) {
  .room-dlg .settings-card { grid-template-columns: 1fr; }
  .room-dlg .settings-card fieldset:first-of-type { grid-row: auto; }
  .settings-card #room-set { grid-column: 1 / -1; }
  .rs-list { gap: 0.35rem; }
  .rs-k { font-size: 0.86rem; }
  .rs-d { font-size: 0.72rem; }
  .rs-note { display: none; }
}

/* =====================================================================
   保留历史对话（public/talk-trace.js）：说完的座位气泡调暗成一行留在座位旁，点一下展开整句
   ===================================================================== */
.talk-trace {
  position: fixed; z-index: 1; translate: -50% 0; pointer-events: auto; cursor: pointer;
  width: max-content; max-width: min(15rem, 26vw); padding: 0.18em 0.6em; /* max-content：fixed 元素贴右时不按「left 到右缘」的剩余宽度挤成窄条 */ border-radius: 2px;
  font: 400 calc(0.78rem * var(--kai-k, 1)) / 1.4 var(--rb-kai, serif); color: #e9dcc4c8; text-shadow: 0 1px 1px #000;
  background: #12080bb8; border: 1px solid #c9a46a55; border-left: 2px solid var(--guest-c, #c9a46a88);
  opacity: 0.72; transition: opacity 0.25s ease; -webkit-tap-highlight-color: transparent; /* 不过渡 max-width：展开时 place() 要量到最终宽度，靠右座位才会向内展开、不出视口 */
  animation: tt-in 0.35s ease-out both;
}
/* 11-07 用户：留下来的话被截成半句「…」——整句换行显示，不截断（太挤就由 place() 整条让开，不显示半句） */
.talk-trace .tt-t { display: block; white-space: normal; overflow-wrap: anywhere; }
.talk-trace:hover { opacity: 0.9; }
.talk-trace.open { z-index: 3; max-width: min(17rem, 42vw); opacity: 0.96; background: #1a0a10ee; }
.talk-trace.open .tt-t { white-space: normal; }
.talk-trace[hidden] { display: none; }
@keyframes tt-in { from { opacity: 0; } to { opacity: 0.72; } }
body.picking .talk-trace, body:has(.stage.picking) .talk-trace { pointer-events: none; }
@media (max-height: 520px) { .talk-trace { max-width: min(11rem, 24vw); font-size: 0.68rem; line-height: 1.3; } }
@media (prefers-reduced-motion: reduce) { .talk-trace { animation: none; transition: none; } }

/* 翻牌语气词记录（reveal.gaspSaid）：记录面板一行、纪事里揭晓行下的小字 */
#chat-list li.gasp .act-tag { background: rgba(196, 150, 60, 0.22); }
#log-list .log-gasp { display: block; margin-top: 2px; font-size: 0.86em; opacity: 0.75; }

/* 11-07 头像闪烁：整块重绘时头像节点被搬回新 DOM，无限呼吸动画会从头起播（跳一下）→ 用页面时钟的相位接着播 */
html.has-close-table .stage .seat.targetable .avatar .bust img.on { animation-delay: var(--pick-d, 0ms); }

/* 出牌顺序提示（play-order.js）：名牌左端「先手 / 末位」小字签，名牌末尾一枚小蜡印（在名牌框内，冒泡避让名牌即可）（空心 = 未表态，实心暗红 = 已表态） */
.stage .seat .nm .po-tag {
  flex: none; display: inline-block; overflow: visible; margin-right: 0.4em; padding: 0 0.32em;
  font-size: 0.78em; line-height: 1.35; letter-spacing: 0.04em; border-radius: 2px; vertical-align: 0.08em;
  color: #1c0d08; background: linear-gradient(#f3d79a, #c99a4e); box-shadow: 0 0 0 1px #6b4a1f;
}
.stage .seat .nm .po-tag.po-last { color: #f1dcc0; background: linear-gradient(#6a2a26, #3c1513); box-shadow: 0 0 0 1px #b88c55; }
.stage .seat .nm .po-mark {
  flex: none; display: inline-block; vertical-align: -0.05em; margin-left: 0.4em; position: relative; z-index: 2;
  width: max(9px, 0.7em); aspect-ratio: 1; border-radius: 50%; overflow: visible;
  border: 1.5px solid #d9b77a; background: #1a0d0bcc; box-shadow: 0 1px 3px #000b; pointer-events: auto;
}
.stage .seat .nm .po-mark.done {
  border-color: #e7c27f;
  background: radial-gradient(circle at 38% 34%, #d2524a 0 18%, #8f1c1c 45%, #4e0b0d 100%);
  box-shadow: 0 0 0 1px #3a0a0a, 0 1px 3px #000c;
}
@media (max-height: 500px) {
  .stage .seat .nm .po-tag { font-size: 0.86em; padding: 0 0.25em; margin-right: 0.3em; }
}

/* ---------- 本局角色配置（public/role-config.js）：战况抽屉 / 右上紧凑框 / 入夜卡 ---------- */
.rc { margin: 0.6rem 0 0; padding: 0.4rem 0.5rem 0.45rem; background: #0b080a99; box-shadow: inset 0 0 0 1px #c9a35e2e; font-family: var(--serif); }
.rc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.25rem; color: #e9c983; font-weight: 600; letter-spacing: 0.1em; font-size: 0.82rem; }
.rc-h small { color: var(--ivory-dim, #bfb2a2); font-weight: 400; letter-spacing: 0.04em; }
.rc-sec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.4rem; align-items: baseline; }
.rc-sec + .rc-sec { margin-top: 0.25rem; padding-top: 0.25rem; border-top: 1px solid #c9a35e1f; }
.rc-l { grid-row: span 2; font-size: 0.72rem; color: var(--ivory-dim, #bfb2a2); white-space: nowrap; }
.rc-l b, .rc-fname b { margin-left: 0.2em; font-size: 0.95em; color: #f1dfb8; }
.rc-fac { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.45rem; font-size: 0.76rem; line-height: 1.35; }
.rc-fname { font-weight: 600; white-space: nowrap; }
.rc-fac.t-light .rc-fname { color: var(--gold, #e9c983); }
.rc-fac.t-thorn .rc-fname { color: #ff8a95; }
.rc-chip { white-space: nowrap; color: #e6dccd; }
.rc-chip.t-light { color: #f0dcb0; }
.rc-chip.t-thorn { color: #ffb3ba; }
.rc-chip.t-none { color: #b9b0c6; }
.rc-chip b { margin-left: 0.1em; font-weight: 600; color: inherit; opacity: 0.85; }
/* 紧凑框：占满两列，字更小 */
.sm-grid .rc-mini { grid-column: 1 / -1; margin: 0.1rem 0 0; padding: 0.25rem 0.35rem 0.3rem; }
.rc-mini .rc-h { font-size: 0.72rem; margin-bottom: 0.12rem; }
.rc-mini .rc-fac { font-size: 0.68rem; gap: 0 0.35rem; line-height: 1.3; }
.rc-mini .rc-l { font-size: 0.66rem; }
.rc-mini .rc-sec + .rc-sec { margin-top: 0.15rem; padding-top: 0.15rem; }
@media (min-width: 1101px) and (min-height: 521px) { .side-mini { max-height: min(56vh, 420px); overflow-y: auto; scrollbar-width: thin; } }
/* 入夜卡：placeIntro() 找一块不压头像/名牌/按钮的空位（多在顶部月亮下方），不接收点击，短暂突出后淡出 */
.role-intro { position: fixed; left: 0; top: 0; z-index: 60; width: max-content; max-width: min(620px, 92vw); pointer-events: none;
  transform-origin: 0 0; transform: scale(calc(var(--k, 1) * 0.96)); opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 0 0 1px #0b0608, 0 0 0 2px #c9a35e99, 0 0 0 3px #0b0608, 0 14px 36px #000d, 0 0 26px #e0a24f44; background: linear-gradient(180deg, #170e13f2, #0c0709f2); }
.role-intro.on { opacity: 1; transform: scale(var(--k, 1)); }
.role-intro .rc { margin: 0; background: none; box-shadow: none; padding: 0.45rem 0.7rem 0.5rem; }
.role-intro .rc-h { font-size: 0.9rem; }
.role-intro .rc-sec { grid-template-columns: minmax(0, 1fr); }
.role-intro .rc-l { display: none; }
.role-intro .rc-fac { font-size: 0.8rem; flex-wrap: nowrap; }
@media (max-height: 520px) {
  .role-intro { max-width: 70vw; }
  .role-intro .rc { padding: 0.25rem 0.45rem 0.3rem; }
  .role-intro .rc-h { font-size: 0.72rem; margin-bottom: 0.05rem; }
  .role-intro .rc-fac { font-size: 0.64rem; line-height: 1.25; gap: 0 0.3rem; }
}
body.calm .role-intro, .rm .role-intro { transition: none; }

/* 真人座位代号签（app.js playerTag）：名牌下方的 0 高锚点里绝对定位，不改座位布局；长代号省略号截断 */
/* flex: 0 0 0 + stretch：竖排时占满宽、横排时 0 宽，都不挤名牌 */
.stage .seat .pl-anchor { position: relative; display: block; flex: 0 0 0; align-self: stretch; min-width: 0; height: 0; overflow: visible; z-index: 2; pointer-events: none; }
.stage .seat .pl-tag {
  position: absolute; left: 50%; top: 1px; transform: translateX(-50%);
  max-width: min(9em, 160%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0 0.45em; font: normal 400 clamp(0.58rem, 0.75cqw, 0.78rem) / 1.35 var(--rb-kai);
  color: #f3e3c4; background: linear-gradient(#2c4a3a, #16271f); border-radius: 2px;
  box-shadow: 0 0 0 1px #9fc3a6aa, 0 2px 4px #000c; letter-spacing: 0.02em; pointer-events: auto;
}
.stage .seat .pl-tag.away { opacity: 0.55; }
@media (max-height: 500px) {
  .stage .seat .pl-tag { font-size: 0.55rem; max-width: 6.5em; padding: 0 0.3em; }
}

/* /styles/corner-stage.css */
/* 四角立绘 + 对话框 + 座位气泡（public/corner-stage.js；11-01 用户定稿）。在 match-v2.css 之后加载。
   节奏 / 尺寸常量在 shared/presentation.js 的 CORNER_FX，这里只放外观。 */

/* ---------- 字体：名牌、气泡、对话框、名字条统一用一款中文衬线体（自托管 Noto Serif SC 子集，见 docs/reports/match-v2.md） ---------- */
:root {
  --rb-serif: 'RB Noto Serif SC', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  /* 程荣光刻楷（11-02 用户选定）：对话框、气泡、名牌、名字条、宾客簿名字、标题、特写台词条。只有一个字重；缺字回退到 Noto Serif SC。
     刻楷字面偏小：同字号放大约 8%（--kai-k） */
  --rb-kai: 'RB Kai', 'RB Noto Serif SC', 'Noto Serif SC', 'Kaiti SC', 'STKaiti', serif;
  --kai-k: 1.08;
}

/* ---------- 立绘 ---------- */
.cs-host { position: fixed; inset: 0; pointer-events: none; z-index: 31; } /* 立绘盖住右上战况框（30，用户同意），抽屉（40）仍在最上 */
/* 座位气泡浮在立绘之上（被压住的座位正好在说话时也看得见） */
.speech-layer { z-index: 33; }
.cs-fig { position: fixed; pointer-events: none; }
.cs-fig.cs-hidden { visibility: hidden; }
.cs-move, .cs-pose, .cs-breath, .cs-layer { position: absolute; inset: 0; }
.cs-pose { transition: filter 200ms ease, transform 200ms ease; } /* CORNER_FX.switchMs */
/* 上方两角：下半身渐隐（头顶贴顶栏下沿） */
.cs-fig.cs-top .cs-move { -webkit-mask: linear-gradient(#000 62%, #0000 96%); mask: linear-gradient(#000 62%, #0000 96%); }
/* 下方两角：朝内侧的一缘轻微渐隐，和桌面融在一起 */
.cs-fig.cs-bottom.cs-left .cs-move { -webkit-mask: linear-gradient(to right, #000 78%, #0000 100%); mask: linear-gradient(to right, #000 78%, #0000 100%); }
.cs-fig.cs-bottom.cs-right .cs-move { -webkit-mask: linear-gradient(to left, #000 78%, #0000 100%); mask: linear-gradient(to left, #000 78%, #0000 100%); }
.cs-layer { opacity: 0; transition: opacity 260ms ease; }
.cs-layer.on { opacity: 1; }
.cs-layer.cs-instant { transition: none; }
.cs-layer > i { position: absolute; inset: 0; }
/* 左侧两角镜像：人物朝向桌心 */
.cs-fig.cs-left .cs-layer { transform: scaleX(-1); }
.cs-img {
  background: var(--src) center / contain no-repeat;
  /* 柔和落影：人物在桌子前方、离镜头更近 */
  filter: brightness(0.95) saturate(0.94) drop-shadow(0 0 22px #000b) drop-shadow(0 16px 34px #000a);
}
/* 外缘红月逆光：同一张图做遮罩，只亮外侧（图里朝外的一边：未镜像的右侧角是右边，镜像后的左侧角也是图的右边） */
.cs-rim {
  background: linear-gradient(to right, #ff3b3b00 58%, #ff4a4acc 100%);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  mix-blend-mode: screen; opacity: 0.55; filter: blur(1.5px);
}
/* 朝桌子一侧（图的左边）暖色烛光，外侧压暗 */
.cs-tint {
  background: linear-gradient(to right, #ffb46655, #ffb46600 45%), linear-gradient(to left, #050208a0, #05020800 40%);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  mix-blend-mode: multiply;
}
/* 在场但没在说话：亮度 55%、缩到 95%（以所在角为原点） */
.cs-fig :is(.cs-pose, .cs-breath) { transform-origin: 100% 0; }
.cs-fig.cs-left :is(.cs-pose, .cs-breath) { transform-origin: 0 0; }
.cs-fig.cs-bottom :is(.cs-pose, .cs-breath) { transform-origin: 100% 100%; }
.cs-fig.cs-bottom.cs-left :is(.cs-pose, .cs-breath) { transform-origin: 0 100%; }
.cs-fig.cs-dim .cs-pose { filter: brightness(0.55) saturate(0.7); transform: scale(0.95); }
/* ---------- ① 正在说话：放大 1.06（以所在角为原点）+ 外沿暖光 + 呼吸（1.06 ↔ 1.075，一周 3.6 秒）。只动 transform / filter ---------- */
.cs-fig.cs-speak .cs-pose { transform: scale(1.06); } /* CORNER_FX.speakScale */
.cs-fig.cs-speak .cs-breath { animation: cs-breathe 3.6s ease-in-out infinite; } /* breathScale / speakScale = 1.075 / 1.06 */
@keyframes cs-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.01415; } }
.cs-img { transition: filter 200ms ease; }
.cs-fig.cs-speak .cs-img { filter: brightness(1.02) saturate(0.98) drop-shadow(0 0 10px #ffb45a73) drop-shadow(0 0 26px #ff9a3a40) drop-shadow(0 16px 34px #000a); }
/* ---------- ② 被点名：沿 alpha 轮廓闪红边 + 左右抖 3 下（≤ 6px，约 0.3 秒）；减少动态只闪边 ---------- */
.cs-fig.cs-hit .cs-img { animation: cs-hit-flash 700ms ease-out; }
@keyframes cs-hit-flash {
  0%, 35% { filter: brightness(1.04) drop-shadow(0 0 2px #ff2b2b) drop-shadow(0 0 9px #ff2020e6) drop-shadow(0 0 22px #c80c0c99); }
}
.cs-fig.cs-hit .cs-breath { animation: cs-shake 320ms ease-in-out; }
.cs-fig.cs-dim.cs-hit .cs-pose { filter: brightness(0.85) saturate(0.85); } /* 被点名的人在暗处也看得见红边 */
.cs-fig.cs-speak.cs-hit .cs-breath { animation: cs-breathe 3.6s ease-in-out infinite, cs-shake 320ms ease-in-out; }
@keyframes cs-shake { 0%, 100% { translate: 0 0; } 15% { translate: -6px 0; } 35% { translate: 5px 0; } 55% { translate: -4px 0; } 75% { translate: 3px 0; } 90% { translate: -1px 0; } }
.cs-host.cs-still .cs-breath, .cs-fig.cs-hit-still .cs-breath { animation: none; }
@media (prefers-reduced-motion: reduce) { .cs-breath { animation: none !important; } }
/* 有人在场：背后的桌面（桌子图 + 桌面平面）轻微压暗、模糊约 0.6px；座位、手牌不受影响 */
html.cs-on .stage .table::before, html.cs-on .stage .plane { filter: brightness(0.86) blur(0.6px); transition: filter 300ms ease; }
.stage .table::before, .stage .plane { transition: filter 300ms ease; }

/* ---------- 对话框 ---------- */
.cs-box {
  position: fixed; z-index: 14; pointer-events: auto; cursor: pointer;
  padding: 0.85em 1.35em 1em; min-height: 3.6em;
  color: #f1e3c8; font: 400 calc(clamp(0.92rem, 1.1vw, 1.05rem) * var(--kai-k))/1.6 var(--rb-kai); letter-spacing: 0.03em;
  background: linear-gradient(#1a0a10ee, #0d0508f2);
  border: 1px solid #c9a46a;
  box-shadow: 0 0 0 4px #0008, 0 0 0 5px #c9a46a55, 0 18px 44px #000c;
  transition: opacity 260ms ease, filter 260ms ease;
}
.cs-box[hidden] { display: none; }
.cs-box::before { /* 四角小饰角 */
  content: ''; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(#e6c993, #e6c993) left top / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left top / 2px 12px no-repeat,
    linear-gradient(#e6c993, #e6c993) right top / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right top / 2px 12px no-repeat,
    linear-gradient(#e6c993, #e6c993) left bottom / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left bottom / 2px 12px no-repeat,
    linear-gradient(#e6c993, #e6c993) right bottom / 12px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right bottom / 2px 12px no-repeat;
}
.cs-box::after { content: '▼'; position: absolute; right: 0.9em; bottom: 0.35em; font-size: 0.6em; color: #e6c993; opacity: 0; }
.cs-box.cs-done::after { opacity: 1; animation: cs-blink 1.1s ease-in-out infinite; }
@keyframes cs-blink { 50% { opacity: 0.25; transform: translateY(2px); } }
/* 名字条：朝向说话人（左侧角在左上、右侧角在右上） */
.cs-name {
  position: absolute; top: 0; transform: translateY(-60%); white-space: nowrap;
  padding: 0.1em 1em 0.12em; font: 400 calc(0.84rem * var(--kai-k))/1.4 var(--rb-kai); letter-spacing: 0.14em; color: #f4d79b;
  background: linear-gradient(90deg, #3a0d16, #2a0910); border: 1px solid #c9a46a; box-shadow: 0 4px 12px #000c;
}
/* ⑥ 宾客专属底色 + 小纹章（shared/guest-style.js 写进 --guest-c / --guest-ink），金边不变 */
.cs-box.g-look .cs-name { background: linear-gradient(90deg, var(--guest-c), color-mix(in srgb, var(--guest-c) 78%, #000)); color: var(--guest-ink); }
.g-crest { width: 0.95em; height: 0.95em; flex: none; color: #d9b77a; vertical-align: -0.12em; filter: drop-shadow(0 1px 1px #000c); }
.cs-name .cs-crest { margin-right: 0.45em; }
.cs-box.cs-left .cs-name { left: 1em; }
.cs-box.cs-right .cs-name { right: 1em; }
.cs-text { white-space: pre-wrap; word-break: break-word; min-height: 1.6em; }
.cs-text .ty-off { visibility: hidden; }
.cs-box.cs-compact { min-height: 0; padding: 0.55em 1.1em 0.5em; white-space: nowrap; }
.cs-box.cs-compact .cs-text { min-height: 0; white-space: nowrap; }
.cs-box.cs-compact::after { display: none; }
.cs-box.cs-emote { min-height: 0; padding: 0.6em 1.2em 0.5em; }
.cs-box.cs-emote .cs-text { display: none; }
.cs-box.cs-dim { opacity: 0.5; filter: saturate(0.7); }
.cs-box.cs-out { opacity: 0; transition: opacity 200ms ease; }
@media (max-height: 520px) { .cs-host, .cs-box { display: none; } }

/* ---------- 座位气泡、语气词气泡、群体接话气泡：和对话框同一套视觉（深酒红半透明底、金细边、四角饰角、金边尾巴、象牙色字） ---------- */
.speech-bubble, .fx-bubble {
  background: linear-gradient(#1a0a10ee, #0d0508f2); color: #f1e3c8;
  border: 1px solid #c9a46a; border-radius: 2px;
  box-shadow: 0 0 0 3px #0007, 0 10px 26px #000b;
  font-family: var(--rb-kai); font-weight: 400; text-shadow: 0 1px 1px #000;
}
.speech-bubble::before {
  content: ''; position: absolute; inset: -4px; pointer-events: none; background:
    linear-gradient(#e6c993, #e6c993) left top / 9px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left top / 2px 9px no-repeat,
    linear-gradient(#e6c993, #e6c993) right top / 9px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right top / 2px 9px no-repeat,
    linear-gradient(#e6c993, #e6c993) left bottom / 9px 2px no-repeat, linear-gradient(#e6c993, #e6c993) left bottom / 2px 9px no-repeat,
    linear-gradient(#e6c993, #e6c993) right bottom / 9px 2px no-repeat, linear-gradient(#e6c993, #e6c993) right bottom / 2px 9px no-repeat;
}
/* 尾巴：金边小菱形，底色同气泡下沿 */
.speech-bubble::after { background: #0e0609; border-color: #c9a46a; }
/* 沉默「……」/足音未明气泡：同一款尾巴（原来漏改，是一颗亮米白实心菱形压在头像上，11-03 用户） */
.fx-bubble::after { width: 10px; height: 10px; bottom: -6px; border-radius: 0; background: #0e0609; border: solid #c9a46a; border-width: 0 1px 1px 0; }
.fx-bubble.veil::after { background: #0e0b12; border-color: #91abc0; }
.speech-bubble.crowd.surprised, .speech-bubble.crowd.surprised::after { border-color: #e6c993; }
.fx-bubble.veil { background: linear-gradient(#1a1622ee, #0e0b12f2); color: #d8cfe4; border: 1px dashed #91abc0; }

/* ---------- 名牌、对话框名字条：同一款衬线体 ---------- */
.stage .seat .nm, .stage .seat .nm *, .pt-name, .pt-dialog, .cs-name { font-family: var(--rb-kai); font-weight: 400; }
/* 气泡、名牌：刻楷放大 8% */
.speech-bubble { font-size: calc(0.92rem * var(--kai-k)); }
@media (max-height: 520px) { .speech-bubble { font-size: calc(0.78rem * var(--kai-k)); } }
html.has-full-table .stage:not(.dense) .seat:not(.me) .nm.nm { font-size: calc(clamp(0.64rem, 0.88cqw, 0.98rem) * var(--kai-k)); }
/* 宾客簿的名字、标题「血月夜宴」、特写台词条 */
.gb-name .who, .gb-head h2, .brand-zh, .vb-title .logo, .ci-v2 .ci-line { font-family: var(--rb-kai); font-weight: 400; }
html.has-hd-guest_book .gb-name .who { font-size: calc(max(18px, calc(var(--pw) * 0.07)) * var(--kai-k)); }
@media (max-height: 520px) { html.has-hd-guest_book .gb-name .who { font-size: 15px; } }

/* =====================================================================
   座位半身像（11-02 用户：「改用立绘抠出来的透明半身像：去掉圆框和黑底，人像直接坐在桌沿上，带接触阴影」）
   素材 public/assets/bloodmoon/seat-busts（scripts/prepare-seat-busts.py：头部大小按两眼距离统一，下沿和两侧渐隐）。
   .avatar 仍是原来的 --medal 方块（徽章、睁眼、表情层、e2e 都按它定位），人像比方块高一截：从方块底边往上长，
   胸口压在桌沿 / 名牌后面。视觉面积和原来的圆头像相当（宽 ≈ 1.15 个头像）。
   ===================================================================== */
html.has-close-table .stage .seat .avatar.bust-on {
  background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; position: relative; isolation: isolate;
}
html.has-close-table.has-seat-frame .stage .seat .avatar.bust-on::after, html.has-full-table.has-seat-frame .stage .seat .avatar.bust-on::after { display: none; } /* 金边圆框 */
html.has-full-table .stage .seat:not(.me) .medal:has(.bust-on)::before, html.has-full-table .stage .seat .medal:has(.bust-on)::before { display: none; content: none; } /* 远端座位背后的暗晕：人像自己有落影 */
.seat .avatar.bust-on > b { display: none; }
.seat .avatar .bust {
  /* 图高 = 1.22 × 图宽（头顶留余量，11-02「头顶被切平了」）：底边和宽度不变，头部位置、大小和原来一致，多出来的只往上 */
  position: absolute; left: 50%; bottom: -6%; width: 128%; aspect-ratio: 1 / 1.22; translate: -50% 0; pointer-events: none;
}
.seat .avatar .bust img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 320ms ease;
  /* 光照和四角立绘一致：外侧红色逆光（一圈很窄的红光）+ 柔和落影 */
  filter: drop-shadow(0 0 1px #ff4a4a88) drop-shadow(0 6px 8px #000c);
}
.seat .avatar .bust img.on { opacity: 1; }
/* 接触阴影：比人像宽、贴在桌沿上（在人像之后、名牌之前） */
.seat .avatar.bust-on::before {
  content: ''; position: absolute; left: 50%; bottom: -10%; width: 165%; height: 34%; translate: -50% 0; z-index: -1; pointer-events: none;
  border-radius: 50%; background: radial-gradient(closest-side, #000d 0%, #000a 45%, #0000 100%);
}
/* 朝桌心一侧的暖光：烛台在桌面上，从下方受光——用第二层 drop-shadow 不行（不分方向），改为给 img 加暖色调的 sepia 微调 */
.seat .avatar .bust img { filter: sepia(0.08) saturate(1.05) drop-shadow(0 0 1px #ff4a4a88) drop-shadow(0 6px 8px #000c); }
/* 名牌压在人像胸口下沿（人像的下沿渐隐埋进名牌后面） */
html.has-close-table .stage .seat .avatar.bust-on ~ .nm, html.has-close-table .stage .seat:has(.bust-on) .nm { position: relative; z-index: 3; }
/* 其他人不说话 / 不可选时压暗：沿 alpha 边缘，不是方框 */
.stage .seat.mfx-has-focus .avatar.bust-on .bust img { transition: opacity 320ms ease, filter 280ms ease; }
/* 正在行动 / 被高亮：沿人像轮廓的细金光 */
html.has-close-table .stage .seat.actor .avatar.bust-on .bust img, html.has-close-table .stage .seat.mfx-focus .avatar.bust-on .bust img {
  filter: drop-shadow(0 0 1px #f3d79a) drop-shadow(0 0 5px #d9a24faa) drop-shadow(0 6px 8px #000c);
}
html.has-close-table .stage.mfx-has-focus .seat.mfx-focus:not(.me) .medal:has(.bust-on)::after { display: none; } /* 圆形金圈 */
/* 座位上的圆形表情层：有半身像时不用（表情直接换在人像上） */
html.seat-busts .seat-emo { display: none; }
/* 小徽章：从头像四角挪到肩膀两侧（人像比方块高，原位置会压到脸） */
html.has-full-table .stage .seat .medal:has(.bust-on) .badge.coin { right: -18%; bottom: -2%; }
html.has-full-table .stage .seat .medal:has(.bust-on) .badge.seal { left: -18%; bottom: -2%; }
html.has-full-table .stage .seat .medal:has(.bust-on) .badge.veil { left: -18%; top: 30%; }
html.has-full-table .stage .seat .medal:has(.bust-on) .eye-mark { right: -18%; top: 30%; }
html.has-full-table .stage .seat .medal:has(.bust-on) .badge.off { top: auto; bottom: 4%; }

/* ---------- 点选人像（交信物 / 秘印指定一名宾客）：可选的人像金色描边光 + 呼吸，不可选的压暗 ---------- */
html.has-close-table .stage.picking .seat:not(.me):not(.targetable) .avatar .bust img { filter: brightness(0.5) saturate(0.6) drop-shadow(0 6px 8px #000c); }
html.has-close-table .stage.picking .seat:not(.me):not(.targetable) { pointer-events: none; }
html.has-close-table .stage .seat.targetable { cursor: pointer; }
html.has-close-table .stage .seat.targetable .avatar .bust img.on { animation: pick-breathe 1.6s ease-in-out infinite; }
@keyframes pick-breathe {
  0%, 100% { filter: drop-shadow(0 0 1.5px #ffe1a8) drop-shadow(0 0 6px #e0a24faa) drop-shadow(0 6px 8px #000c); }
  50% { filter: drop-shadow(0 0 2px #ffe1a8) drop-shadow(0 0 12px #f0b860dd) drop-shadow(0 6px 8px #000c); }
}
html.has-close-table .stage .seat.targetable:is(:hover, :focus-visible) .avatar .bust img.on { animation: none; filter: drop-shadow(0 0 2px #fff0c8) drop-shadow(0 0 14px #ffd98f) drop-shadow(0 6px 8px #000c); }
html.has-close-table .stage .seat.targetable:focus-visible { outline: none; }
body.calm .stage .seat.targetable .avatar .bust img.on { animation: none; filter: drop-shadow(0 0 2px #ffe1a8) drop-shadow(0 0 8px #e0a24fcc); }
/* 悬停提示「交给 米蕾尔」 */
.stage .seat.targetable .pick-tip {
  position: absolute; left: 50%; bottom: calc(100% + 4px); translate: -50% 0; z-index: 8; white-space: nowrap; pointer-events: none;
  padding: 0.1em 0.7em; font: 400 calc(0.9rem * var(--kai-k)) var(--rb-kai); color: #f4d79b;
  background: linear-gradient(#1a0a10ee, #0d0508f2); border: 1px solid #c9a46a; opacity: 0; transition: opacity 160ms ease;
}
.stage .seat.targetable:is(:hover, :focus-visible) .pick-tip { opacity: 1; }
/* 确认小气泡「交给 米蕾尔？ ✓ ✕」 */
.pick-confirm {
  position: fixed; z-index: 45; display: flex; align-items: center; gap: 0.4rem; translate: -50% calc(-100% - 8px);
  padding: 0.3rem 0.4rem 0.3rem 0.8rem; font: 400 calc(1rem * var(--kai-k)) var(--rb-kai); color: #f1e3c8;
  background: linear-gradient(#1a0a10f2, #0d0508f5); border: 1px solid #c9a46a; box-shadow: 0 0 0 3px #0007, 0 10px 26px #000b;
}
.pick-confirm button { min-width: 40px; min-height: 40px; font: 700 1.1rem var(--rb-serif); color: #f4d79b; background: #2a0910; border: 1px solid #c9a46a88; border-radius: 2px; cursor: pointer; }
.pick-confirm button.yes { color: #ffe1a8; border-color: #e6c993; }
.pick-confirm button:hover, .pick-confirm button:focus-visible { background: #4a1219; outline: 1px solid #ffe1a8; }
@media (max-height: 520px) {
  .seat .avatar .bust { width: 135%; }
  .pick-confirm { font-size: 0.9rem; }
}

/* ---------- 自己的名牌：去掉外面那层金色细线矩形框（11-02 用户：「这个名字外面那个框其实不需要了」），焦点时才显示 ---------- */
html.has-close-table .stage .seat.me .nm, html.has-close-table .stage .seat.me.actor .nm { box-shadow: none; outline: none; }
html.has-close-table .stage .seat.me:focus-visible .nm { outline: 1px solid #ffe1a8; outline-offset: 2px; }

/* 自己的座位：同样是半身像（无金圈、无暗底），徽章挂在肩膀两侧 */
html.has-close-table .stage .seat.me .avatar.bust-on, html.has-close-table.has-seat-frame .stage .seat.me .avatar.bust-on { box-shadow: none; background: none; }
html.has-full-table.has-close-table .stage .seat.me.me.mfx-focus .medal:has(.bust-on)::after { display: none; }
html.has-full-table.has-close-table .stage .seat.me.me .medal:has(.bust-on) .badge.coin { right: -18%; bottom: -2%; }
html.has-full-table.has-close-table .stage .seat.me.me .medal:has(.bust-on) .badge.seal { left: -18%; bottom: -2%; }
html.has-full-table.has-close-table .stage .seat.me.me .medal:has(.bust-on) .eye-mark { right: -18%; top: 30%; }

/* 点选热区：盖住人像（≥ 40px），点到它等于点座位按钮 */
.stage .seat.targetable .pick-hit { position: absolute; left: 50%; top: calc(var(--medal) * -0.15); translate: -50% 0; width: max(46px, var(--medal) * 1.2); height: max(46px, var(--medal) * 1.1); z-index: 2; } /* 46：远端座位按透视缩到 ≈0.92 后仍 ≥ 40px */
/* 自己的人像外面套的 button（data-testid="self-bust"，点击交给发言会话）：撑满头像位、不画按钮外观 */
.stage .seat .self-bust { all: unset; display: block; position: absolute; inset: 0; cursor: pointer; }
.stage .seat .self-bust > .avatar { width: 100%; height: 100%; }
.stage .seat .self-bust:focus-visible { outline: 2px solid #ffe1a8; outline-offset: 2px; border-radius: 4px; }

/* 被立绘盖住的座位名牌：浮在立绘之上（立绘层 31、气泡层 33），和座位名牌同一外观 */
.cs-nm-layer { position: fixed; inset: 0; z-index: 32; pointer-events: none; }
.cs-nm-float {
  position: fixed; display: flex; align-items: center; justify-content: center; white-space: nowrap; box-sizing: border-box;
  padding: 0 0.45em; font-family: var(--rb-kai); color: #f4e9d5; text-shadow: 0 1px 2px #000;
  background: linear-gradient(#1d151cf5, #120c11f5); border: 1px solid #be9a63aa; border-radius: 3px; box-shadow: 0 4px 10px #000b;
}
@media (max-height: 520px) { .cs-nm-layer { display: none; } }
/* 被下方两角立绘压住的座位：淡到 0.15（corner-stage.js 按座位号写 opacity），淡入淡出 200ms */
.stage .seat :is(.medal, .nm, .icons) { transition: opacity 200ms ease; }

/* ---------- 座位类元素的焦点（11-02 用户：「使用技能的时候会出个蓝色的框」）：不用矩形 outline / box-shadow；
   只在键盘操作（:focus-visible）时沿人像轮廓发金光，名牌描金 ---------- */
.stage .seat.targetable, .stage .seat.targetable:hover { box-shadow: none; border-color: transparent; outline: none; }
html.has-close-table .stage .seat.targetable .avatar:not(.bust-on) { box-shadow: 0 0 0 2px #0b0809, 0 0 0 4px #e0a24f, 0 0 18px #ffd98f99; }
.stage .seat:focus, .stage .seat .self-bust:focus { outline: none; }
.stage .seat:focus-visible .avatar.bust-on .bust, .stage .seat .self-bust:focus-visible .avatar.bust-on .bust { filter: drop-shadow(0 0 2px #fff0c8) drop-shadow(0 0 10px #ffd98f); }
.stage .seat:focus-visible .nm, .stage .seat .self-bust:focus-visible ~ .nm, .stage .seat:has(.self-bust:focus-visible) .nm { box-shadow: 0 0 0 1.5px #ffe1a8, 0 0 10px #ffd98f88; }

/* =====================================================================
   11-02 对白演出增强 ⑥：宾客专属底色 + 小纹章（shared/guest-style.js；只跟宾客皮肤，与身份、阵营无关）
   座位名牌、浮在立绘上的名牌、座位气泡左侧小边条。金边不变；名字文字对底色 ≥ 4.5:1（test/guest-style.test.js）
   ===================================================================== */
html.has-close-table .stage .seat.g-look .nm.nm.nm, .cs-nm-float.g-look {
  border-image: none;
  background: linear-gradient(var(--guest-c), color-mix(in srgb, var(--guest-c) 72%, #000));
  color: var(--guest-ink, #f6ecd8);
}
html.has-close-table.has-name-ribbon .stage .seat.g-look .nm.nm.nm { border: 1px solid #c9a46acc; border-radius: 3px; padding: 0.12em 0.7em 0.08em; }
html.has-close-table .stage .seat.g-look:not(.me) .nm.nm.nm { border-color: #c9a46acc; border-bottom: 0; border-radius: 5px 5px 0 0; }
html.has-close-table .stage .seat.actor.g-look:not(.me) .nm.nm.nm { border-color: #f0cf8f; }
.stage .seat .nm .nm-crest { margin-right: 0.35em; }
.cs-nm-float .g-crest { margin-right: 0.35em; }
.speech-bubble.g-look { box-shadow: inset 4px 0 0 var(--guest-a), 0 0 0 3px #0007, 0 10px 26px #000b; }

/* ---------- ② 被点名、不在四角：座位半身像同样沿轮廓闪红边 + 抖（重绘时用负的 --hit-d 接着播） ---------- */
html.has-close-table .stage .seat.cs-hit .avatar .bust img.on { animation: seat-hit-flash 700ms ease-out var(--hit-d, 0ms) both; }
@keyframes seat-hit-flash {
  0%, 35% { filter: brightness(1.08) drop-shadow(0 0 1.5px #ff2b2b) drop-shadow(0 0 6px #ff2020e6) drop-shadow(0 0 12px #c80c0c99); }
  100% { filter: sepia(0.08) saturate(1.05) drop-shadow(0 0 1px #ff4a4a88) drop-shadow(0 6px 8px #000c); }
}
.stage .seat.cs-hit .avatar .bust { animation: seat-shake 320ms ease-in-out var(--hit-d, 0ms); }
@keyframes seat-shake { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-5px); } 35% { transform: translateX(4px); } 55% { transform: translateX(-3px); } 75% { transform: translateX(2px); } }
.stage .seat.cs-hit-still .avatar .bust { animation: none; }
@media (prefers-reduced-motion: reduce) { .stage .seat.cs-hit .avatar .bust { animation: none; } }

/* ---------- 秘印相关界面统一刻楷（11-02 用户反馈「秘印弹窗还是宋体」）：
   指定目标的提示条与确认气泡、座位上的「选择 X」、秘印揭晓弹窗、已无秘印横幅、私密结果（夜宴笔记）、纪事里的秘印行。
   app.js 给这些节点加 .seal-ui；类名写两次是为了压过 style.css 里 .prompt / .fx-banner 的 font 简写 ---------- */
.seal-ui.seal-ui, .seal-ui.seal-ui * { font-family: var(--rb-kai); font-weight: 400; }
/* 确认条（pick-confirm）出现时，座位上的悬停提示「选择 X / 交给 X」收起，不和确认条叠两行 */
body.picking .stage .seat .pick-tip { opacity: 0 !important; }

/* ---------- 出牌锁（app.js 的 canActNow / actLock；11-02 用户反馈）----------
   锁定：手牌压低、变暗去饱和、无悬停上浮、光标 not-allowed（点击在 app.js 里无反应、不弹提示）；长按看牌（.peek）照常 */
.my-area .hand-row.locked .hand .card:not(.peek) { filter: brightness(0.55) saturate(0.6) !important; cursor: not-allowed; }
.my-area .hand-row.locked .pass .btn { cursor: not-allowed; }
/* 讨论进行中：手牌上方一条细的半透明横带（刻楷，不显示数字） */
.hand-row { position: relative; }
.talk-band { position: absolute; left: 50%; top: -0.2rem; transform: translate(-50%, -100%); z-index: 5; pointer-events: none;
  width: max-content; white-space: nowrap; display: flex; align-items: center; gap: 0.6em;
  padding: 0 1.6em; font: 400 calc(0.82rem * var(--kai-k)) / 1.6 var(--rb-kai); letter-spacing: 0.25em; text-indent: 0.25em; color: #f1e3c8cc;
  background: linear-gradient(90deg, #0000, #1a0a10b3 18%, #1a0a10b3 82%, #0000); border-block: 1px solid #c9a46a40; }
/* 两侧短花线装饰 */
.talk-band::before, .talk-band::after { content: ''; width: 1.6em; height: 1px; background: linear-gradient(90deg, #0000, #c9a46a99); }
.talk-band::after { transform: scaleX(-1); }
/* 状态条：「众人议论中……」带呼吸的小烛火；「议论平息」 */
.talk-cue { font-family: var(--rb-kai); font-weight: 400; display: inline-flex; align-items: center; gap: 0.45em; }
.talk-candle { width: 0.42em; height: 0.62em; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; background: radial-gradient(circle at 50% 70%, #fff3c4, #f0b860 55%, #c0562a);
  box-shadow: 0 0 6px #f0b860cc; animation: talk-breathe 1.6s ease-in-out infinite; }
@keyframes talk-breathe { 0%, 100% { opacity: 0.55; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.08); } }
/* 解锁：逐张升起（每张错开 40ms），一圈金色轮廓光。用独立的 translate 属性，不覆盖卡牌组合好的 transform */
.my-area .hand-row.rise .hand .card { animation: card-rise 0.35s cubic-bezier(.2,.8,.3,1) calc(var(--rise-at, 0ms) + var(--i, 0) * 40ms) both,
  card-glow 1.1s ease-out calc(var(--rise-at, 0ms) + var(--i, 0) * 40ms) backwards; }
@keyframes card-rise { from { translate: 0 28px; } to { translate: 0 0; } }
@keyframes card-glow { 0% { filter: drop-shadow(0 0 0 #ffd98f00); } 30% { filter: drop-shadow(0 0 3px #ffd98f) drop-shadow(0 0 10px #f0b860cc); } 100% { filter: drop-shadow(0 0 0 #ffd98f00); } }
@media (prefers-reduced-motion: reduce) { .talk-candle, .my-area .hand-row.rise .hand .card { animation: none; } }
body.calm .talk-candle, body.calm .my-area .hand-row.rise .hand .card { animation: none; }

/* ---------- 点对白框推进（app.js clickAdvance）：完整的座位气泡可以点（选人时让开）；打完后右下角「▼」呼吸闪烁，和对白框一样 ---------- */
.speech-bubble:not(.short) { pointer-events: auto; cursor: pointer; }
body.picking .speech-bubble, body:has(.stage.picking) .speech-bubble { pointer-events: none; } /* 选人时气泡不挡座位 */
.speech-bubble .sb-more { display: none; position: absolute; right: 0.45em; bottom: 0.15em; font-style: normal; font-size: 0.55em; color: #e6c993; }
.speech-bubble.sb-done:not(.short) .sb-more { display: block; animation: cs-blink 1.1s ease-in-out infinite; }
.cs-box { -webkit-tap-highlight-color: transparent; }
.speech-bubble { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { .cs-box.cs-done::after, .speech-bubble.sb-done .sb-more { animation: none; } }
/* 多人局点了跳过、在等其他真人：「▼」换成一行淡出的小字 */
.cs-box.cs-skipped.cs-done::after { content: '已跳过，等待他人…'; font-size: 0.62em; letter-spacing: 0.08em; bottom: 0.45em; animation: cs-skip-fade 2.4s ease-out forwards; }
.speech-bubble.cs-skipped .sb-more { display: block; right: 0; bottom: auto; top: calc(100% + 0.5em); font-size: 0; animation: none; white-space: nowrap; }
.speech-bubble.below.cs-skipped .sb-more { top: auto; bottom: calc(100% + 0.5em); }
.speech-bubble.cs-skipped .sb-more::after { content: '已跳过，等待他人…'; font-size: calc(0.62rem * var(--kai-k)); letter-spacing: 0.08em; color: #e6c993; text-shadow: 0 1px 2px #000; animation: cs-skip-fade 2.4s ease-out forwards; }
@keyframes cs-skip-fade { 0% { opacity: 0.95; } 100% { opacity: 0.35; } }
/* ---------- 按住快进（hold-ff.js）：右下角的小标签「▶▶ 快进中」，刻楷、金色，不挡操作 ---------- */
.ff-tag {
  position: fixed; right: 14px; bottom: 12px; z-index: 60; pointer-events: none;
  padding: 0.1em 0.65em 0.12em; font: 400 calc(0.78rem * var(--kai-k)) / 1.35 var(--rb-kai); letter-spacing: 0.12em; color: #f0cf8f;
  background: #120a0dd9; border: 1px solid #c9a46a99; border-radius: 2px; box-shadow: 0 4px 10px #000a; text-shadow: 0 1px 1px #000;
}
.ff-tag[hidden] { display: none; }
.ff-tag.paused { color: #c9b8a0; border-color: #8a7a6a88; } /* 立绘演出期间：快进暂停，按正常速度播完 */
.ff-tag span { font-size: 0.8em; letter-spacing: -0.1em; margin-right: 0.35em; }
@media (max-height: 520px) { .ff-tag { font-size: 0.7rem; right: 8px; bottom: 6px; } }

/* ---------- 发言面板点定一句后收起（app.js sayAfterCollapse；SAY_FX.collapseMs = 250ms）：向右上角（宽屏，缩向紧凑框）/ 右下角（窄屏、手机）缩回 ---------- */
.side.say-collapse { animation: say-collapse 250ms ease-in forwards !important; transform-origin: 100% 0; pointer-events: none; }
@media (max-width: 1100px), (max-height: 520px) { .side.say-collapse { transform-origin: 100% 100%; } }
@keyframes say-collapse { to { transform: translateX(8%) scale(0.12); opacity: 0; } }
/* 收起后的小图标（窄屏、手机横屏；宽屏用紧凑框的「聊天」按钮） */
.say-fab {
  position: fixed; right: 12px; bottom: 12px; z-index: 41; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  font: 400 calc(1rem * var(--kai-k)) / 1 var(--rb-kai); color: #f4d79b; background: radial-gradient(circle at 40% 35%, #3a1620, #14080c);
  border: 1px solid #c9a46a; box-shadow: 0 0 0 2px #0009, 0 6px 14px #000b;
}
.say-fab[hidden] { display: none; }
.say-fab:hover, .say-fab:focus-visible { border-color: #ffe1a8; color: #fff3d6; outline: none; }
@media (max-height: 520px) { .say-fab { width: 34px; height: 34px; right: 8px; bottom: 8px; font-size: 0.85rem; } }
/* 下次有新的可说的话：小按钮闪一下（不自动弹开） */
.say-ping { animation: say-ping 1.2s ease-out 2; }
@keyframes say-ping { 0% { box-shadow: 0 0 0 0 #ffd98fcc, 0 6px 14px #000b; } 70% { box-shadow: 0 0 0 10px #ffd98f00, 0 6px 14px #000b; } 100% { box-shadow: 0 0 0 0 #ffd98f00, 0 6px 14px #000b; } }
.sm-head button.say-ping { border-color: #ffe1a8; color: #fff3d6; }
@media (prefers-reduced-motion: reduce) { .side.say-collapse { animation-duration: 1ms !important; } .say-ping { animation: none; outline: 1px solid #ffe1a8; } }

/* /styles/reply3.css */
/* 真人被点名时的「三选一回话」（public/reply3.js；11-02 用户定稿：居中对峙版，其他玩家看到磨砂版 C）。
   视觉和四角对白框一致：深酒红半透明底、金细边、四角饰角、程荣光刻楷；名牌用宾客专属底色（--guest-c，来自 shared/guest-style.js，没有时用酒红底）。
   galgame 的做法：两侧立绘对峙，选项是画面正中竖排的三条宽横条；倒计时是标题旁一圈细进度条（--r3-p：剩余比例），最后 3 秒变红。 */
.r3-scrim { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(ellipse 46% 52% at 50% 56%, #0000 0%, #0000 40%, #05020888 100%); animation: r3-fade 240ms ease both; }
.r3-card {
  --r3-gold: #c9a46a; --r3-gold-hi: #e6c993; --r3-ink: #f1e3c8; --r3-red: #e2434f;
  position: fixed; z-index: 36; width: min(42rem, calc(100vw - 2rem)); pointer-events: auto; color: var(--r3-ink);
  font: 400 calc(1rem * var(--kai-k, 1.08))/1.5 var(--rb-kai, serif); letter-spacing: 0.02em;
  animation: r3-rise 260ms cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes r3-fade { from { opacity: 0; } }
@keyframes r3-rise { from { opacity: 0; translate: 0 12px; } }
body.calm .r3-card, body.calm .r3-scrim { animation: none; }

/* 标题行：[质问者名牌] 在质问你 (倒计时圈)；观战：[质问者] 在质问 [被点名者]。一条两端渐隐的暗底，压在座位人像上也读得清 */
.r3-head { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 2.6rem; margin-bottom: 0.7rem; padding: 0.15rem 2.5rem; background: linear-gradient(90deg, #0d050800, #0d0508f0 18%, #0d0508f0 82%, #0d050800); }
.r3-plate {
  display: inline-flex; align-items: center; gap: 0.35em; padding: 0.12em 0.85em 0.14em; white-space: nowrap;
  font-size: 0.92em; letter-spacing: 0.12em; color: var(--guest-ink, #f4d79b);
  background: var(--guest-c, linear-gradient(90deg, #3a0d16, #2a0910)); border: 1px solid var(--r3-gold); box-shadow: 0 4px 12px #000c;
}
.r3-plate .g-crest { width: 0.95em; height: 0.95em; color: #d9b77a; flex: none; }
.r3-title { font-size: 1.12em; letter-spacing: 0.16em; color: #f4d79b; text-shadow: 0 1px 2px #000, 0 0 12px #000; }
.r3-timer { position: relative; width: 2.5rem; height: 2.5rem; flex: none; margin-left: 0.2rem; }
.r3-timer svg { position: absolute; inset: 0; rotate: -90deg; }
.r3-timer circle { fill: none; stroke-width: 2; }
.r3-timer .r3-track { stroke: #c9a46a33; }
.r3-timer .r3-arc { stroke: var(--r3-gold-hi); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - 100 * var(--r3-p, 1)); filter: drop-shadow(0 0 2px #e6c99388); transition: stroke-dashoffset 100ms linear; }
.r3-sec { position: absolute; inset: 0; display: grid; place-items: center; font: 400 1.05rem/1 var(--rb-serif, serif); color: var(--r3-gold-hi); font-variant-numeric: tabular-nums; }

/* 质问原话：四角对白框隐藏时（手机横屏）才显示 */
.r3-quote {
  text-align: center; margin: 0 auto 0.6rem; padding: 0.35rem 1rem; max-width: 92%; font-size: 0.94em; color: #d9c7a6;
  background: linear-gradient(90deg, #0d050800, #0d0508cc 15%, #0d0508cc 85%, #0d050800);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.r3-card.r3-has-box .r3-quote { display: none; }

/* 三条整句选项 + 右侧重抽骰子：每条都是一个小对白框（四角饰角） */
.r3-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.r3-opts li { display: flex; align-items: stretch; gap: 0.4rem; }
.r3-opt {
  position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.7rem; text-align: left; cursor: pointer;
  min-height: 3.4rem; padding: 0.7rem 1.1rem; color: var(--r3-ink); font: inherit; letter-spacing: inherit;
  background: linear-gradient(#1a0a10f0, #0d0508f5); border: 1px solid var(--r3-gold); border-radius: 2px;
  box-shadow: 0 0 0 3px #0008, 0 0 0 4px #c9a46a44, 0 12px 30px #000c;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}
.r3-opt::before {
  content: ''; position: absolute; inset: -4px; pointer-events: none; --c: #e6c993;
  background:
    linear-gradient(var(--c), var(--c)) left top / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 10px no-repeat;
}
button.r3-opt:is(:hover, :focus-visible) { outline: none; background: linear-gradient(#4a1420f2, #2a0c14f5); box-shadow: 0 0 0 3px #0008, 0 0 0 4px #e6c99388, 0 0 18px #e0a24f44, 0 12px 30px #000c; }
.r3-kind { flex: none; min-width: 2.6em; text-align: center; font-size: 0.8em; letter-spacing: 0.1em; color: #e6c993; padding: 0.05em 0.2em; border: 1px solid #c9a46a77; background: #0d0508aa; }
.r3-line { flex: 1; min-width: 0; }
.r3-bluff { /* 「诈」：这一句是虚张声势（只有自己看得到） */
  flex: none; display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%;
  font-size: 0.78em; color: #ffd7d2; background: radial-gradient(#9b1c28, #5e0c16); border: 1px solid var(--r3-red); box-shadow: 0 0 6px #e2434f66;
}
.r3-key { flex: none; font: 400 0.72rem/1 var(--rb-serif, serif); color: #c9a46a99; }
.r3-dice {
  flex: none; width: 3rem; display: grid; place-items: center; cursor: pointer; color: #c9a46acc;
  background: linear-gradient(#1a0a10e6, #0d0508f0); border: 1px solid #c9a46a88; border-radius: 2px; box-shadow: 0 0 0 3px #0008;
  transition: color 140ms ease, border-color 140ms ease;
}
.r3-dice svg { width: 1.2rem; height: 1.2rem; }
.r3-dice:is(:hover, :focus-visible):not(:disabled) { outline: none; color: var(--r3-gold-hi); border-color: var(--r3-gold-hi); }
.r3-dice:disabled { opacity: 0.35; cursor: default; }
.r3-card.r3-sent .r3-opts { opacity: 0.6; pointer-events: none; }

/* 底栏：提示 + 「不回应」 */
.r3-foot { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 0.7rem; font-size: 0.8em; color: #b39c7c; text-shadow: 0 1px 2px #000, 0 0 8px #000; }
.r3-skip { cursor: pointer; padding: 0.15em 0.6em; font: inherit; color: #c9b08a; background: none; border: 0; border-bottom: 1px dashed #c9a46a66; }
.r3-skip:is(:hover, :focus-visible) { outline: none; color: #f4d79b; border-bottom-color: #e6c993; }

/* 最后 3 秒：圈、数字、选项边框变红 */
.r3-card.r3-hurry .r3-arc { stroke: var(--r3-red); filter: drop-shadow(0 0 3px #e2434faa); }
.r3-card.r3-hurry .r3-sec { color: #ff8a8f; animation: r3-tick 1s ease-in-out infinite; }
.r3-card.r3-hurry .r3-foot > span { color: #ff9ea2; }
.r3-card.r3-hurry .r3-opt { border-color: #b8323c; box-shadow: 0 0 0 3px #0008, 0 0 0 4px #e2434f44, 0 12px 30px #000c; }
.r3-card.r3-hurry .r3-opt::before { --c: #f07a80; }
@keyframes r3-tick { 0% { scale: 1.18; } 30%, 100% { scale: 1; } }
body.calm .r3-card.r3-hurry .r3-sec { animation: none; }

/* 其他玩家（观战）：同样的画面和倒计时，选项是模糊的占位字（不是真内容：真内容根本不发给他们），不能点 */
.r3-card.r3-watch .r3-opt { cursor: default; justify-content: flex-start; }
.r3-card.r3-watch .r3-frost { flex: 1; text-align: left; color: #e8d7b8; filter: blur(4.5px); opacity: 0.75; user-select: none; }

/* 对峙：被点名者的立绘先上场但不出对白框（选完才说）；立绘下挂名牌（自己看到「你」） */
.cs-box.r3-quiet { display: none !important; }
.r3-self-tag {
  position: fixed; z-index: 32; pointer-events: none; white-space: nowrap; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.1em 0.9em 0.12em;
  font: 400 calc(0.84rem * var(--kai-k, 1.08))/1.4 var(--rb-kai, serif); letter-spacing: 0.14em; color: var(--guest-ink, #f4d79b);
  background: var(--guest-c, linear-gradient(90deg, #3a0d16, #2a0910)); border: 1px solid #c9a46a; box-shadow: 0 4px 12px #000c;
}
.r3-self-tag b { font-weight: 400; color: #1a0a10; background: #e6c993; padding: 0 0.4em; letter-spacing: 0.1em; }

/* 矮屏（横屏手机）：四角立绘在这个尺寸整体关闭，对峙时单独放两个半身立绘在左右两侧 */
.r3-fig { position: fixed; bottom: 0; z-index: 31; pointer-events: none; width: 31vw; height: calc(100vh - 2.6rem); }
.r3-fig > i { position: absolute; inset: 0; background: var(--src) center top / cover no-repeat; filter: brightness(0.95) drop-shadow(0 0 16px #000b); }
.r3-fig.r3-foe { left: 0; } .r3-fig.r3-foe > i { transform: scaleX(-1); }
.r3-fig.r3-self { right: 0; }
.r3-fig.r3-foe { -webkit-mask: linear-gradient(to right, #000 70%, #0000), linear-gradient(#000 60%, #0000 98%); -webkit-mask-composite: source-in; mask: linear-gradient(to right, #000 70%, #0000), linear-gradient(#000 60%, #0000 98%); mask-composite: intersect; }
.r3-fig.r3-self { -webkit-mask: linear-gradient(to left, #000 70%, #0000), linear-gradient(#000 60%, #0000 98%); -webkit-mask-composite: source-in; mask: linear-gradient(to left, #000 70%, #0000), linear-gradient(#000 60%, #0000 98%); mask-composite: intersect; }
.r3-fig.r3-in.r3-foe { animation: r3-in-l 300ms cubic-bezier(.2, .8, .3, 1) both; }
.r3-fig.r3-in.r3-self { animation: r3-in-r 300ms cubic-bezier(.2, .8, .3, 1) both; }
@keyframes r3-in-l { from { opacity: 0; translate: -8vw 0; } }
@keyframes r3-in-r { from { opacity: 0; translate: 8vw 0; } }

@media (max-height: 520px) {
  .r3-card { width: min(30rem, calc(100vw - 60vh)); font-size: calc(0.82rem * var(--kai-k, 1.08)); }
  .r3-head { margin-bottom: 0.3rem; min-height: 1.9rem; gap: 0.45rem; padding: 0.1rem 1.5rem; }
  .r3-timer { width: 1.9rem; height: 1.9rem; }
  .r3-sec { font-size: 0.85rem; }
  .r3-quote { margin-bottom: 0.4rem; padding: 0.2rem 0.8rem; }
  .r3-opts { gap: 0.4rem; }
  .r3-opt { min-height: 2.4rem; padding: 0.35rem 0.7rem; gap: 0.5rem; }
  .r3-dice { width: 2.4rem; }
  .r3-key { display: none; }
  .r3-foot { margin-top: 0.35rem; }
  .r3-self-tag { font-size: calc(0.72rem * var(--kai-k, 1.08)); }
}
/* 选定后：卡片锁住，选中的那一项保持高亮（其余变暗），提示改为「已选择」 */
.r3-card.r3-chosen .r3-opts { opacity: 1; }
.r3-card.r3-chosen .r3-opt:not(.r3-picked) { opacity: 0.45; }
.r3-card.r3-chosen .r3-opt.r3-picked { box-shadow: 0 0 0 2px #ffd98f, 0 0 14px #f0b86099; }
/* 选定一句：卡片先收起（250ms，和发言面板同一节奏），停一拍再说出来（reply3.js act） */
.r3-card.r3-collapse { animation: r3-collapse 250ms ease-in forwards; pointer-events: none; }
@keyframes r3-collapse { to { scale: 0.85; translate: 0 12px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .r3-card.r3-collapse { animation-duration: 1ms; } }

/* /styles/endgame-v2.css */
/* =====================================================================
   终局 v2（public/endgame.js）：揭面具收束 → 胜利宣告层 → 结算页「今夜的真面目」
   - 胜利宣告：独立演出层，压暗牌桌；阵营名是第一焦点；赤冠 = 金色法阵 + 圣杯，破晓 = 深红荆棘 + 剑光
   - 结算页：占满舞台，胜方/败方分组，名字、角色、阵营都用文字写明；夜宴纪事可展开
   - html.eg-over = 已终局；html.eg-open = 结算页展开（牌桌让位，座位隐藏；「查看牌桌」收起后原样）
   本文件最后加载。旧的顶部横幅 .verdict 已去掉，原先挂在 `.verdict ~ .game-body` 上的规则改挂在 html.eg-over 上。
   ===================================================================== */

/* ---------- 揭面具：收束后淡出，交给宣告层 ---------- */
.fx-unmask.out { opacity: 0; transition: opacity 0.6s ease; }
.fx-unmask.summary .um-row { transform: scale(0.96); transition: transform 0.5s ease; }

/* ---------- 胜利宣告 ---------- */
.fx-verdict { position: fixed; z-index: 31; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem;
  container-type: size; text-align: center; opacity: 0; transition: opacity 0.45s ease;
  background: radial-gradient(ellipse 70% 60% at 50% 46%, #14080dcc 0%, #070406f0 70%, #050304f7 100%); }
/* 旧的 .fx-end 是一个 240px 的圆形光晕（style.css）：宣告层保留 fx-end 类名（e2e 时间线用），这里把旧样式全部覆盖 */
.fx-end.fx-verdict, .fx-end.fx-verdict.light, .fx-end.fx-verdict.thorn { transform: none; border-radius: 0; animation: none;
  background: radial-gradient(ellipse 70% 60% at 50% 46%, #14080dcc 0%, #070406f0 70%, #050304f7 100%); }
.fx-end.fx-verdict.light { background: radial-gradient(ellipse 60% 50% at 50% 42%, #3a2a12d9 0%, #0d0806f0 62%, #050304f7 100%); }
.fx-end.fx-verdict.thorn { background: radial-gradient(ellipse 60% 50% at 50% 42%, #3a0c16d9 0%, #0d0508f0 62%, #050304f7 100%); }
.fx-verdict.in { opacity: 1; }
.fv-sigil { position: relative; width: clamp(96px, 26cqh, 210px); aspect-ratio: 1; margin-bottom: 0.2rem; }
.fv-sigil i { position: absolute; inset: 0; background: center / contain no-repeat; }
.fv-circle { inset: -38% !important; opacity: 0; transform: scale(0.7) rotate(-20deg); filter: drop-shadow(0 0 22px #ffd58a88);
  transition: opacity 0.7s ease 0.1s, transform 1.6s cubic-bezier(.2,.8,.3,1) 0.1s; }
.fv-emblem { opacity: 0; transform: scale(0.82); transition: opacity 0.5s ease 0.35s, transform 0.8s cubic-bezier(.2,.9,.3,1.2) 0.35s; }
.fx-verdict.light .fv-emblem { filter: drop-shadow(0 0 16px #ffd58aaa) drop-shadow(0 0 2px #fff3d0); }
.fx-verdict.thorn .fv-emblem { filter: drop-shadow(0 0 16px #e0384eaa) drop-shadow(0 0 2px #ffb3bd); }
.fx-verdict.in .fv-circle { opacity: 0.9; transform: scale(1) rotate(0deg); }
.fx-verdict.in .fv-emblem { opacity: 1; transform: none; }
.fv-slash { inset: -30% !important; opacity: 0; clip-path: inset(0 100% 0 0); transform: rotate(-8deg); }
.fx-verdict.in .fv-slash { animation: fv-slash 0.55s cubic-bezier(.5,0,.2,1) 0.75s forwards; }
@keyframes fv-slash { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 70% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 0.55; clip-path: inset(0 0 0 0); } }
.fv-title { margin: 0; font: 700 clamp(2rem, min(7.4cqw, 13cqh), 4.6rem)/1.1 var(--serif); letter-spacing: 0.14em; display: flex; flex-direction: column; align-items: center; gap: 0.15em;
  opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease 0.55s, transform 0.8s cubic-bezier(.2,.8,.3,1) 0.55s; }
.fv-title span { font-size: 0.42em; letter-spacing: 0.9em; margin-right: -0.9em; }
.fx-verdict.light .fv-title { color: #ffe2a3; background: linear-gradient(#fff4d6, #f0c97a 55%, #b8873e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #3a2410) drop-shadow(0 0 18px #ffcf7a66); }
.fx-verdict.thorn .fv-title { color: #ff9aa6; background: linear-gradient(#ffd0d6, #f0566a 55%, #9b1c2e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #2a0810) drop-shadow(0 0 18px #ff405a55); }
.fv-rule { display: block; width: min(56cqw, 520px); aspect-ratio: 1000 / 161; background: var(--hd-divider_flourish, none) center / contain no-repeat; opacity: 0; transition: opacity 0.6s ease 0.85s; }
.fv-reason { margin: 0; font: 600 clamp(0.95rem, min(2.1cqw, 4.4cqh), 1.35rem)/1.4 var(--serif); color: var(--ivory, #efe3cc); letter-spacing: 0.08em; text-shadow: 0 2px 8px #000;
  opacity: 0; transition: opacity 0.6s ease 1s; }
.fv-me { margin: 0.2rem 0 0; padding: 0.15em 1em; font: 500 clamp(0.78rem, min(1.4cqw, 3.4cqh), 0.95rem) var(--serif); letter-spacing: 0.1em; border: 1px solid; border-radius: 99px;
  opacity: 0; transition: opacity 0.6s ease 1.25s; }
.fv-me.won { color: #f3d79c; border-color: #be9a6388; background: #2a1f1288; }
.fv-me.lost { color: #c9b8c2; border-color: #6a5a6488; background: #18101488; }
.fx-verdict.in .fv-title { opacity: 1; transform: none; }
.fx-verdict.in .fv-rule, .fx-verdict.in .fv-reason, .fx-verdict.in .fv-me { opacity: 1; }
body.calm .fv-circle, body.calm .fv-emblem, body.calm .fv-title { transform: none !important; transition-duration: 0.3s; }
body.calm .fv-slash { display: none; }

/* ---------- 终局时的页面状态 ---------- */
/* 右栏降权：不和结算页抢注意力，悬停/聚焦时恢复 */
html.eg-over #side { opacity: 0.5; filter: saturate(0.6); transition: opacity 0.4s ease, filter 0.4s ease; }
html.eg-over #side:hover, html.eg-over #side:focus-within { opacity: 1; filter: none; }
/* 结算页展开：牌桌压暗让位，其他座位隐藏（他们的名字、角色、阵营都写在结算页上）；自己的名牌留在底部 */
html.eg-open .stage .table { opacity: 0.16; filter: blur(1.5px) saturate(0.5); }
html.eg-open .stage .table .seat { display: none; }
/* 终局已无操作：收起剩余手牌，只留阵营纹章（桌面）；手机整行收起，纹章在名牌上
   （原 mobile-v5 的 `.verdict ~ .game-body` 规则，改挂 html.eg-over） */
html.eg-over .my-area .hand-row .hand { display: none; }
html.eg-over .my-area .hand-row [data-testid="pass-button"] { display: none; }
@media (max-height: 520px) {
  html.has-close-table.eg-over .game-body .my-area { height: auto; }
  html.has-close-table.eg-over .game-body .my-area .hand-row { display: none; }
  html.has-close-table.eg-over .game-body .stage .seat.me.me { right: auto; left: 50%; transform: translateX(-50%); }
}

/* ---------- 结算页 ---------- */
.eg-result { position: absolute; left: 1.2%; right: 1.2%; top: 6px; transform: none; z-index: 7; width: auto; box-sizing: border-box;
  display: flex; flex-direction: column; gap: clamp(0.4rem, 1.4cqh, 0.9rem); padding: clamp(0.6rem, 2cqh, 1.2rem) clamp(0.8rem, 2.4cqw, 1.8rem);
  container-type: size; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, #2a1a1aee, #0e0a0cf2 70%), #0b080a;
  box-shadow: 0 0 0 1px #be9a6366, inset 0 0 0 1px #00000088, 0 18px 50px #000d; }
.eg-result[data-winner='light'] { background: radial-gradient(ellipse 80% 55% at 50% 0%, #3b2a14ee, #0e0a0cf2 70%), #0b080a; }
.eg-result[data-winner='thorn'] { background: radial-gradient(ellipse 80% 55% at 50% 0%, #3a0f18ee, #0e0a0cf2 70%), #0b080a; box-shadow: 0 0 0 1px #c94a5a66, inset 0 0 0 1px #00000088, 0 18px 50px #000d; }
/* 旧揭面板的定位与缩放规则（bloodmoon-theme.css）不再适用 */
.eg-result.placed:not(.folded) { transform: none; }
.eg-result:not(.placed):not(.folded) { visibility: hidden; }

.eg-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 clamp(0.6rem, 1.6cqw, 1.2rem); padding-bottom: clamp(0.3rem, 1cqh, 0.6rem);
  border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, #be9a6388 20%, #be9a6388 80%, transparent) 1; }
.eg-emblem { width: clamp(44px, min(8cqw, 14cqh), 92px); aspect-ratio: 1; background: center / contain no-repeat; }
.eg-emblem.light { background-image: var(--hd-emblem_chalice, url('/assets/factions/light.svg')); filter: drop-shadow(0 0 10px #ffd58a66); }
.eg-emblem.thorn { background-image: var(--hd-emblem_thorns, url('/assets/factions/thorn.svg')); filter: drop-shadow(0 0 10px #e0384e66); }
.eg-title { min-width: 0; }
.eg-title h2 { margin: 0; font: 700 clamp(1.3rem, min(3.6cqw, 7.5cqh), 2.6rem)/1.3 var(--serif); letter-spacing: 0.12em; display: flex; align-items: baseline; gap: 0.5em; flex-wrap: wrap; }
.eg-title h2 span { font-size: 0.62em; letter-spacing: 0.5em; }
.eg-result[data-winner='light'] .eg-title h2 { color: #ffd98f; text-shadow: 0 0 18px #c7a36a88, 0 2px 0 #2a1a08; }
.eg-result[data-winner='thorn'] .eg-title h2 { color: #ff8a95; text-shadow: 0 0 18px #b23e4c88, 0 2px 0 #20060c; }
.eg-reason { margin: 0.15rem 0 0; font: 600 clamp(0.85rem, min(1.5cqw, 3.4cqh), 1.1rem)/1.35 var(--serif); color: var(--ivory, #efe3cc); letter-spacing: 0.04em; }
.eg-ending { margin: 0.1rem 0 0; font: 400 clamp(0.74rem, min(1.2cqw, 2.8cqh), 0.92rem)/1.4 var(--serif); color: #cdbfb8; opacity: 0.9; }
.eg-facts { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; text-align: right; }
.eg-mine { margin: 0; padding: 0.12em 0.9em; font: 600 clamp(0.74rem, min(1.2cqw, 2.8cqh), 0.92rem) var(--serif); letter-spacing: 0.08em; border: 1px solid; border-radius: 99px; white-space: nowrap; }
.eg-mine.won { color: #f3d79c; border-color: #be9a6388; background: #2a1f1299; }
.eg-mine.lost { color: #cbbdc6; border-color: #6a5a6488; background: #1a121699; }
.eg-tally { margin: 0; display: flex; gap: 0.9em; font-size: clamp(0.7rem, min(1.05cqw, 2.6cqh), 0.85rem); color: #b9aab3; white-space: nowrap; }
.eg-tally b { color: var(--ivory, #efe3cc); font-weight: 700; }
.eg-tally .cnt-over { font-style: normal; font-size: 0.62em; color: #ffb37a; margin-left: 0.4em; vertical-align: 0.15em; white-space: nowrap; }

/* 胜方 / 败方：两组并排，宽度按人数分；卡宽由舞台尺寸决定 */
.eg-groups { flex: 1 1 auto; min-height: 0; display: flex; gap: clamp(0.8rem, 2.4cqw, 2rem); align-items: center; justify-content: center;
  --cw: clamp(52px, min(9.2cqw, 17cqh), 124px); }
.eg-group { flex: 0 1 auto; min-width: 0; max-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 0.45rem; padding: clamp(0.35rem, 1.2cqh, 0.7rem) clamp(0.4rem, 1cqw, 0.8rem); border-radius: 8px; }
.eg-group.win { background: linear-gradient(#ffffff0a, #ffffff03); box-shadow: inset 0 0 0 1px #be9a6355; }
.eg-result[data-winner='thorn'] .eg-group.win { box-shadow: inset 0 0 0 1px #c94a5a66; }
.eg-group.lose { background: #00000033; box-shadow: inset 0 0 0 1px #ffffff14; }
.eg-group h3 { margin: 0; display: flex; align-items: baseline; gap: 0.6em; font: 600 clamp(0.8rem, min(1.3cqw, 3cqh), 1rem) var(--serif); color: var(--ivory, #efe3cc); letter-spacing: 0.08em; white-space: nowrap; }
.eg-group h3 > span { padding: 0.05em 0.6em; border-radius: 3px; font-size: 0.86em; letter-spacing: 0.2em; }
.eg-group.win h3 > span { background: #be9a63; color: #1a1006; }
.eg-result[data-winner='thorn'] .eg-group.win h3 > span { background: #c94a5a; color: #fff1f2; }
.eg-group.lose h3 > span { background: #3a3036; color: #d6c8cf; }
.eg-group h3 small { margin-left: auto; font: 400 0.8em var(--sans, sans-serif); color: #a99aa3; letter-spacing: 0; }
.eg-result .uf-row { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(var(--cols, 99), var(--cw)); gap: clamp(0.4rem, 1.4cqh, 0.9rem) clamp(0.5rem, 1.2cqw, 1.1rem); align-content: center; justify-content: center; padding-top: calc(var(--cw) * 0.1 + 0.2rem); }
.eg-card { width: var(--cw); display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; text-align: center; }
.eg-card .uf-art { position: relative; width: 100%; aspect-ratio: 2 / 3; border-radius: 5px; background: #1b1216 center / cover no-repeat; }
.eg-card[data-faction='light'] .uf-art { box-shadow: 0 0 0 2px #d9b371, 0 6px 16px #000a; }
.eg-card[data-faction='thorn'] .uf-art { box-shadow: 0 0 0 2px #c94a5a, 0 6px 16px #000a; }
.eg-group.lose .eg-card .uf-art { filter: saturate(0.55) brightness(0.82); }
/* 宾客头像（公开身份）叠在角色牌左上角：一眼对上「谁 = 什么牌」 */
.eg-av { position: absolute; left: -9%; top: -7%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--avatar-img) center 20% / cover no-repeat, #2a1a22;
  box-shadow: 0 0 0 2px #0b080a, 0 0 0 3px #be9a63aa, 0 3px 8px #000c; }
.eg-you { position: absolute; right: 5%; top: 4%; padding: 0.05em 0.45em; font: 700 clamp(0.6rem, min(1cqw, 2.2cqh), 0.8rem) var(--serif); color: #1a1006; background: #f0d08f; border-radius: 3px; box-shadow: 0 2px 6px #000a; }
.eg-card .uf-nm { margin-top: 0.4em; max-width: 100%; font: 700 min(calc(var(--cw) / 4.9), 1.06rem)/1.25 var(--serif); text-shadow: 0 1px 0 #000; color: var(--ivory, #efe3cc); white-space: normal; word-break: keep-all; overflow: hidden; }
.eg-card.me .uf-nm { color: #ffe2a3; }
.eg-card .uf-role { max-width: 100%; font: 700 min(calc(var(--cw) / 5.6), 0.96rem)/1.25 var(--serif); white-space: nowrap; overflow: hidden; }
.eg-card[data-faction='light'] .uf-role { color: #e8c98a; }
.eg-card[data-faction='thorn'] .uf-role { color: #ff8a95; }
.eg-card .uf-name { justify-content: center; gap: 0.25em; max-width: 100%; font-size: clamp(0.58rem, calc(var(--cw) * 0.1), 0.82rem); color: #b9aab3; white-space: nowrap; overflow: visible; }
.eg-card .uf-name img { width: 1.1em; height: 1.1em; }

/* 夜宴纪事：展开时盖在分组区上（结算页内部滚动），收起时只占底栏一个按钮 */
.eg-chron { position: absolute; left: clamp(0.8rem, 2.4cqw, 1.8rem); right: clamp(0.8rem, 2.4cqw, 1.8rem); top: var(--chron-top, 30%); z-index: 2; bottom: calc(clamp(2.2rem, 7cqh, 3.2rem) + 0.6rem);
  overflow: auto; padding: 0.7rem 1rem; border-radius: 8px; background: #0d090bf7; box-shadow: inset 0 0 0 1px #be9a6355, 0 10px 30px #000c; overscroll-behavior: contain; }
.eg-chron[hidden] { display: none; }
.eg-chron ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.eg-chron li { border-left: 2px solid #be9a6377; background: #ffffff06; border-radius: 0 4px 4px 0; }
.eg-chron li.open { background: #ffffff0c; }
/* 摘要行：轮次 · 结果 · 关键人物（点开看详情） */
.ec-sum { all: unset; box-sizing: border-box; width: 100%; min-height: 40px; display: grid; grid-template-columns: 4.6em minmax(0, 1.25fr) minmax(0, 1fr) 1em; align-items: center; gap: 0.8em;
  padding: 0.35rem 0.7rem; cursor: pointer; font-size: 0.84rem; color: #e2d6cf; }
.ec-sum:hover, .ec-sum:focus-visible { background: #be9a6314; }
.ec-sum:focus-visible { outline: 1px solid #be9a63aa; outline-offset: -1px; }
.ec-r { font: 700 0.9rem var(--serif); color: var(--gold, #be9a63); letter-spacing: 0.1em; white-space: nowrap; }
.ec-res { min-width: 0; font-family: var(--serif); font-weight: 600; }
.ec-key { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-who { color: var(--ivory, #efe3cc); }
.ec-caret { width: 0.5em; height: 0.5em; border-right: 1.5px solid #be9a63; border-bottom: 1.5px solid #be9a63; transform: rotate(45deg); transition: transform 0.2s; justify-self: center; margin-top: -0.25em; }
li.open .ec-caret { transform: rotate(-135deg); margin-top: 0.2em; }
.ec-detail { padding: 0.1rem 0.7rem 0.45rem calc(4.6em + 1.5rem); }
.ec-detail[hidden] { display: none; }
.eg-chron p { margin: 0.15rem 0; font-size: 0.8rem; line-height: 1.5; color: #d8ccc6; }
.ec-k { display: inline-block; min-width: 3.2em; margin-right: 0.5em; color: #a99aa3; font-size: 0.92em; }
.ec-dim { color: #9d8f97; }
.ec-roles .mini { margin-right: 0.25em; }
.ec-o[data-outcome='killed'] { color: #ff8a95; }
.ec-o[data-outcome='sacrificed'] { color: #f0cf8f; }
.ec-heir { white-space: nowrap; display: inline-block; margin-left: 0.6em; padding: 0 0.4em; border-radius: 3px; font-weight: 600; font-size: 0.92em; }
.ec-heir.safe { color: #1a1006; background: #e8c98a; }
.ec-heir.slain { color: #fff1f2; background: #a3283a; }

.eg-actions { flex: none; display: flex; align-items: center; gap: 0.7rem; padding-top: clamp(0.3rem, 1cqh, 0.6rem);
  border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, #be9a6355 20%, #be9a6355 80%, transparent) 1; }
.eg-gap { flex: 1; }
.eg-actions .btn { min-height: 40px; white-space: nowrap; }
.eg-actions .eg-link small { margin-left: 0.6em; font-size: 0.78em; opacity: 0.7; }
.eg-actions .eg-primary { min-width: 9em; font-size: 1.02rem; letter-spacing: 0.12em; }
.eg-wait { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* 入场：宣告层淡出的同时结算页上浮（仅演出刚结束时；刷新/重连不播） */
.eg-result.enter { animation: eg-in 0.6s cubic-bezier(.2,.8,.3,1) both; }
.eg-result.enter .eg-card { animation: eg-card-in 0.5s cubic-bezier(.2,.8,.3,1) both; }
.eg-result.measuring, .eg-result.measuring .eg-card { animation: none !important; }
.eg-result.enter .eg-group.win .eg-card:nth-child(n) { animation-delay: calc(0.15s + var(--i, 0) * 0.05s); }
@keyframes eg-in { from { opacity: 0.55; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes eg-card-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
body.calm .eg-result.enter, body.calm .eg-result.enter .eg-card { animation-duration: 0.01s; }

/* 收起（查看牌桌）：舞台顶部正中一个小按钮，不压座位 */
.eg-result.folded { left: 50%; right: auto; top: 6px; transform: translateX(-50%); padding: 0; background: none; box-shadow: none; overflow: visible; height: auto !important; }
.eg-result.folded .eg-unfold { min-height: 40px; white-space: nowrap; width: max-content; font-size: 0.82rem; letter-spacing: 0.06em; }

/* ---------- 手机横屏：一行标题，卡更小，底栏紧凑 ---------- */
@media (max-height: 520px) {
  .eg-result { left: 0.6%; right: 0.6%; top: 2px; padding: 0.35rem 0.6rem; gap: 0.3rem; border-radius: 8px; }
  .eg-head { grid-template-columns: auto 1fr auto; padding-bottom: 0.2rem; }
  .eg-emblem { width: 34px; }
  .eg-title h2 { font-size: 1.05rem; gap: 0.4em; }
  .eg-reason { font-size: 0.7rem; margin-top: 0; }
  .eg-ending { display: none; }
  .eg-facts { gap: 0.15rem; }
  .eg-mine { font-size: 0.64rem; }
  .eg-tally { font-size: 0.62rem; gap: 0.6em; }
  .eg-groups { gap: 0.5rem; --cw: clamp(40px, min(8cqw, 17cqh), 66px); }
  .eg-group { padding: 0.2rem 0.3rem; gap: 0.2rem; }
  .eg-group h3 { font-size: 0.66rem; }
  .eg-result .uf-row { gap: 0.25rem 0.3rem; }
  .eg-card .uf-nm { font-size: min(calc(var(--cw) / 5.2), 0.72rem); }
  .eg-card .uf-role { font-size: min(calc(var(--cw) / 5.6), 0.7rem); }
  .eg-card .uf-nm { margin-top: 0.2em; }
  .eg-card .uf-name { display: none; }
  .eg-you { font-size: 0.5rem; }
  .eg-actions { gap: 0.4rem; padding-top: 0.2rem; }
  .eg-actions .btn { min-height: 40px; font-size: 0.74rem; padding-inline: 0.2em; }
  .eg-actions .eg-link small, .eg-wait { display: none; }
  .eg-actions .eg-primary { min-width: 6.5em; font-size: 0.82rem; }
  .eg-chron { left: 0.6rem; right: 0.6rem; bottom: 3.2rem; padding: 0.4rem 0.6rem; }
  .eg-chron p { font-size: 0.68rem; }
  .ec-sum { font-size: 0.7rem; grid-template-columns: 3.8em minmax(0, 1.3fr) minmax(0, 1fr) 0.8em; gap: 0.5em; padding: 0.2rem 0.5rem; }
  .ec-r { font-size: 0.72rem; }
  .ec-detail { padding: 0 0.5rem 0.3rem 0.8rem; }
  .fv-sigil { width: clamp(64px, 26cqh, 110px); }
}

/* ---------- 揭面具强化（覆盖 bloodmoon-theme.css 的撕面具样式） ----------
   轮到的宾客：头像放大、金色描边与呼吸光；未轮到的压暗。撕开时角色牌翻正，阵营色光一闪（只闪一次） */
.um-seat { opacity: 0.38; }
.um-seat.torn { opacity: 1; }
.um-seat.spot { opacity: 1; transform: translateY(-8px) scale(1.12); z-index: 1; }
.um-seat.spot:not(.torn) .um-face { box-shadow: 0 0 0 2px #f0d08f, 0 0 0 4px #0b080a, 0 0 22px 4px #f0d08f88, 0 8px 18px #000c; animation: um-breathe 0.9s ease-in-out infinite alternate; }
.um-seat.spot .um-name { color: #ffe2a3; font-size: 0.9rem; text-shadow: 0 0 10px #f0c97a88, 0 2px 4px #000; }
@keyframes um-breathe { from { filter: brightness(1); } to { filter: brightness(1.18); } }
.um-seat.torn .um-card { animation: um-flash calc(var(--um-ms) * 0.55) ease-out calc(var(--um-ms) * 0.2) 1 both; }
.um-seat[data-faction='light'] { --um-glow: #ffd58a; }
.um-seat[data-faction='thorn'] { --um-glow: #ff4d64; }
@keyframes um-flash { 0% { filter: brightness(1.9); box-shadow: 0 0 0 2px var(--um-glow), 0 0 40px 10px var(--um-glow); } 100% { filter: none; } }
.fx-unmask.summary .um-seat { opacity: 1; transform: none; }
.fx-unmask.summary .um-card { animation: none; }
body.calm .um-seat.spot .um-face, body.calm .um-seat.torn .um-card { animation: none; }
body.calm .um-seat.spot { transform: none; }
/* 揭面具时压住背后的牌桌（座位名牌不再透出来和宾客名叠在一起） */
.fx-unmask { background: radial-gradient(ellipse at 50% 55%, #1a0d14f5 0%, #070507ee 70%, #070507dd 100%); }
@media (max-height: 520px) {
  .um-seat.spot { transform: translateY(-4px) scale(1.06); }
  .um-seat.spot .um-name { font-size: 0.66rem; }
}

/* /styles/finale.css */
/* 终局回收台词「谁说对了」（public/finale-lines.js）：结算页标题下一栏，情绪立绘头像 + 名字 + 原话，逐条点亮。
   所有行一开始就占位（opacity 0），点亮不改版面 */
.eg-finale { list-style: none; margin: 0; padding: 0; flex: 0 0 auto; display: grid; gap: clamp(0.3rem, 0.9cqh, 0.55rem) clamp(0.6rem, 1.6cqw, 1.2rem);
  grid-template-columns: repeat(var(--fc, 1), minmax(0, 1fr)); max-width: min(100%, 64rem); width: 100%; margin-inline: auto; cursor: default; }
.eg-finale[data-fn='1'] { max-width: 34rem; }
.egf-line { display: flex; align-items: center; gap: 0.55rem; min-width: 0; min-height: 44px; padding: 0.3rem 0.7rem 0.3rem 0.35rem; border-radius: 999px 12px 12px 999px;
  background: linear-gradient(90deg, #1d1416e6, #120c0ecc); box-shadow: inset 0 0 0 1px #c7a36a40; opacity: 0; transform: translateY(5px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.2,.8,.3,1); }
.egf-line.on { opacity: 1; transform: none; }
.egf-face { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background-color: #2a1d1f; background-size: cover; background-position: 50% 20%;
  box-shadow: 0 0 0 1.5px #c7a36a99, 0 2px 6px #000a; }
.egf-line.pt .egf-face { background-size: 230% auto; background-position: 50% 7%; }
.egf-body { min-width: 0; display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.3; }
.egf-name { font-size: 0.74rem; font-weight: 600; color: #e9d2a8; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.4rem; }
.egf-name em { font-style: normal; font-weight: 500; font-size: 0.66rem; padding: 0 0.4rem; border-radius: 999px; background: #c7a36a2e; color: #e9c98a; letter-spacing: 0.08em; }
.egf-text { font-size: 0.86rem; color: #f3e7d6; quotes: '「' '」'; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.egf-line[data-kind='wronged'] { box-shadow: inset 0 0 0 1px #c94a5a66; }
.egf-line[data-kind='wronged'] .egf-face { box-shadow: 0 0 0 1.5px #c94a5acc, 0 2px 6px #000a; }
.egf-line[data-kind='wronged'] .egf-name em { background: #c94a5a33; color: #ff9aa4; }
.egf-line[data-kind='fooled'] .egf-name em, .egf-line[data-kind='cheerLost'] .egf-name em { background: #8a7f8a2e; color: #cfc4cc; }
.egf-line.on[data-kind='called'] .egf-face, .egf-line.on[data-kind='cheerPaid'] .egf-face { animation: egf-glow 1.2s ease-out 1; }
@keyframes egf-glow { 0% { box-shadow: 0 0 0 1.5px #ffd98f, 0 0 16px #ffd98fcc; } 100% { box-shadow: 0 0 0 1.5px #c7a36a99, 0 2px 6px #000a; } }
body.calm .egf-line { transition-duration: 0.01s; }
body.calm .egf-line .egf-face { animation: none !important; }
.eg-result.measuring .egf-line { transition: none; }

/* 底栏那一份只在短横屏用 */
.eg-finale.foot { display: none; }

/* 短横屏（844×390）：卡片区高度已经到底（卡宽 40px 下限），台词不占卡片的高度——
   标题下那一栏收起，改在底栏按钮之间那一格一次显示一条（新点亮的顶上，全出完后每 3 秒轮换，点一下换下一条） */
@media (max-height: 520px) {
  .eg-finale.top { display: none; }
  .eg-actions .eg-gap { min-width: 0; display: flex; justify-content: center; align-self: stretch; align-items: center; }
  .eg-finale.foot { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 30rem; min-height: 40px; align-items: center; cursor: pointer; }
  .eg-finale.foot .egf-line { grid-area: 1 / 1; min-height: 34px; padding: 0.1rem 0.6rem 0.1rem 0.2rem; gap: 0.4rem; border-radius: 999px 8px 8px 999px; visibility: hidden; }
  .eg-finale.foot .egf-line.cur { visibility: visible; }
  .eg-finale.foot .egf-line.on.cur { animation: egf-in 0.3s ease-out; }
  .eg-finale.foot .egf-face { width: 28px; height: 28px; box-shadow: 0 0 0 1px #c7a36a99, 0 1px 3px #000a; }
  .eg-finale.foot .egf-body { flex-direction: row; align-items: center; gap: 0.35rem; }
  .eg-finale.foot .egf-name { font-size: 0.64rem; white-space: nowrap; }
  .eg-finale.foot .egf-name em { display: none; }
  .eg-finale.foot .egf-text { font-size: 0.68rem; line-height: 1.22; -webkit-line-clamp: 2; }
  .eg-finale.foot[data-fn='1'] .egf-line, .eg-finale.foot .egf-line:only-child { visibility: visible; }
}
@keyframes egf-in { from { opacity: 0; transform: translateY(4px); } }
body.calm .eg-finale.foot .egf-line { animation: none !important; }

/* /styles/table-props.css */
/* =====================================================================
   桌面道具：每位宾客面前一座三头烛台（3 根蜡烛 = 3 张手牌）+ 桌心罗盘。
   烛台在 .table 里、毛毡平面之上（table-props.js 摆放）；不旋转、不镜像，只按深度缩放。
   ===================================================================== */
html.has-close-table .table .tc-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tc-layer .tc-seat { position: absolute; }
.tc-layer .tc-seat.culled { display: none; }
.tc-layer.debug .tc-seat { outline: 1px dashed #3cff7a; }
.tc-seat > i { position: absolute; display: block; pointer-events: none; }
.tc-seat .tc-base, .tc-seat .tc-flame { inset: 0; background: center / 100% 100% no-repeat; }
/* 底座：按桌面取色压暗（C 方案）——底座整体压暗、降饱和，远端再暗一点；再叠一层桌面色 multiply（遮罩 = 底座图本身） */
.tc-seat .tc-base { background-image: var(--tc-base); filter: brightness(calc(0.84 - var(--far, 0) * 0.1)) saturate(0.8); }
.tc-seat .tc-base::after { content: ''; position: absolute; inset: 0; background: var(--felt, #2a1416); mix-blend-mode: multiply; opacity: 0.22;
  -webkit-mask: var(--tc-base) center / 100% 100% no-repeat; mask: var(--tc-base) center / 100% 100% no-repeat; }
/* 接触阴影：比底座略宽，贴在桌面上 */
.tc-seat .tc-shadow { left: -8%; right: -8%; bottom: -6%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, #000b, #0000); }
/* 火焰：不压暗；两根矮蜡烛提亮约 1.4 倍、外发光和中间那根接近（「矮的亮度调高一点」） */
.tc-seat .tc-flame { transform-origin: calc(var(--fx) * 100%) calc(var(--fb) * 100%); transition: opacity 200ms ease; }
.tc-seat .tc-flame.f0 { --fx: var(--fx0); --fb: var(--fb0); background-image: var(--tc-flame-0); }
.tc-seat .tc-flame.f1 { --fx: var(--fx1); --fb: var(--fb1); background-image: var(--tc-flame-1); }
.tc-seat .tc-flame.f2 { --fx: var(--fx2); --fb: var(--fb2); background-image: var(--tc-flame-2); }
.tc-seat .tc-flame.tall { filter: drop-shadow(0 0 3px #ffd98fcc) drop-shadow(0 0 8px #ffb84d99); }
.tc-seat .tc-flame.short { filter: brightness(1.4) drop-shadow(0 0 3px #ffd98fdd) drop-shadow(0 0 9px #ffb84daa); }
.tc-seat .tc-flame.off { opacity: 0; }
/* 桌面上每根蜡烛下方一小圈暖光（亮着的才有） */
.tc-seat .tc-glow { top: 62%; width: 70%; height: 46%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, #ffcf7a66, #ffb84d22 55%, #ffb84d00); mix-blend-mode: screen; transition: opacity 400ms ease; }
.tc-seat .tc-glow.g0 { left: calc(var(--fx0) * 100%); }
.tc-seat .tc-glow.g1 { left: calc(var(--fx1) * 100%); }
.tc-seat .tc-glow.g2 { left: calc(var(--fx2) * 100%); }
.tc-seat .tc-glow.off { opacity: 0; }
.tc-seat.actor .tc-glow.on { background: radial-gradient(closest-side, #ffd98f99, #ffb84d33 55%, #ffb84d00); }
.tc-seat.actor .tc-flame.on { filter: brightness(1.3) drop-shadow(0 0 4px #ffe1a8) drop-shadow(0 0 12px #ffb84dcc); }
/* 熄灭（400ms）：火焰缩小消失、暖光淡掉；烛芯上一点余烬 + 一缕细烟，几秒后消失。--t 是负的已过时长（重绘接着播，不重播） */
.tc-seat .tc-flame.off.snuff { animation: tc-snuff 400ms ease-in both; animation-delay: var(--t, 0ms); }
@keyframes tc-snuff { from { opacity: 1; transform: scale(1, 1); } 70% { opacity: 0.6; transform: scale(0.45, 0.25); } to { opacity: 0; transform: scale(0.2, 0); } }
.tc-seat .tc-glow.off.snuff { animation: tc-glow-out 400ms ease-out both; animation-delay: var(--t, 0ms); }
@keyframes tc-glow-out { from { opacity: 1; } to { opacity: 0; } }
.tc-seat .tc-ember { display: none; width: 6%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, #ff8a3a, #ff5a1a88 60%, #0000); }
.tc-seat .tc-ember.e0 { left: calc(var(--fx0) * 100%); top: calc(var(--fb0) * 100% - 1%); }
.tc-seat .tc-ember.e1 { left: calc(var(--fx1) * 100%); top: calc(var(--fb1) * 100% - 1%); }
.tc-seat .tc-ember.e2 { left: calc(var(--fx2) * 100%); top: calc(var(--fb2) * 100% - 1%); }
.tc-seat .tc-ember.show { display: block; animation: tc-ember 3200ms ease-out both; animation-delay: var(--t, 0ms); }
@keyframes tc-ember { from { opacity: 1; } 30% { opacity: 0.85; } to { opacity: 0; } }
/* 细烟：余烬上方升起、飘散 */
.tc-seat .tc-ember.show::after { content: ''; position: absolute; left: 50%; bottom: 50%; width: 140%; height: 900%; translate: -50% 0; transform-origin: 50% 100%;
  background: radial-gradient(ellipse 30% 50% at 50% 60%, #d8d2ca88, #d8d2ca00 70%); filter: blur(1.5px); animation: tc-smoke 2400ms ease-out both; animation-delay: var(--t, 0ms); }
@keyframes tc-smoke { from { opacity: 0; transform: translateY(0) scaleX(0.6); } 20% { opacity: 0.9; } to { opacity: 0; transform: translateY(-60%) scaleX(1.6) skewX(8deg); } }
body.calm .tc-seat :is(.tc-flame, .tc-glow, .tc-ember, .tc-ember::after) { animation-duration: 1ms !important; }
@media (prefers-reduced-motion: reduce) { .tc-seat :is(.tc-flame, .tc-glow, .tc-ember) { animation: none !important; } .tc-seat .tc-ember { display: none !important; } }

/* ---------- 桌心罗盘（center_compass；没有图时用 SVG 占位）：沉入桌面的暗金刻纹，演出时再减弱 ---------- */
html.has-close-table .plane .ts-compass { position: absolute; left: 50%; top: 53%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  opacity: 0.42; filter: brightness(0.75) saturate(0.8) drop-shadow(0 0 4px #e8c27a44); transition: opacity 600ms ease; }
html.has-close-table .stage.dense .plane .ts-compass { width: 26%; }
html.has-close-table .stage[data-presenting="1"] .plane .ts-compass { opacity: 0.18; }
.ts-compass svg { width: 100%; height: 100%; display: block; }
html.tp-center_compass .plane .ts-compass { background: var(--tp-center_compass) center / contain no-repeat; }
html.tp-center_compass .plane .ts-compass svg { display: none; }

/* /styles/themed-controls.css */
/* 主题化控件（11-02 用户：「人数」点开是 macOS 原生下拉，系统字体、蓝色高亮、白框，和游戏风格不搭）。
   原生控件能换的都换成主题控件；实在要保留的（发言面板「更多（完整发言）」里的动态下拉）至少 appearance:none + 主题配色 + 刻楷，
   展开后的系统菜单样式控制不了。 */

/* ---------- 人数步进器「‹ 7 人 ›」（大厅宾客簿底部） ---------- */
.sz { position: relative; display: inline-flex; align-items: center; gap: 0.35em; font-family: var(--rb-kai); font-weight: 400; }
.sz .sz-label { color: #e9dcc4; letter-spacing: 0.1em; }
.sz-step {
  min-width: 40px; min-height: 40px; padding: 0; display: inline-grid; place-items: center;
  font: 400 1.3em/1 var(--rb-kai); color: #f4d79b; cursor: pointer;
  background: linear-gradient(#2a0d14, #170a0e); border: 1px solid #c9a46a; border-radius: 4px;
  box-shadow: inset 0 0 0 1px #00000080, 0 2px 6px #0008;
}
.sz-step:hover:not(:disabled) { background: linear-gradient(#3a1520, #1e0c12); color: #ffe6b0; }
.sz-step:disabled { opacity: 0.35; cursor: not-allowed; }
.sz-val {
  min-width: 3.4em; min-height: 40px; display: inline-flex; align-items: baseline; justify-content: center; gap: 0.15em;
  padding: 0.2em 0.4em; font: 400 1.35em/1.5 var(--rb-kai); color: #ffe6b0; text-shadow: 0 1px 2px #000;
  border-block: 1px solid #c9a46a66; outline: none;
}
.sz-val small { font-size: 0.65em; color: #e9dcc4; }
.sz-val:focus-visible { box-shadow: 0 0 0 2px #ffd98f; border-radius: 3px; }
/* 原生 select 叠在数值下面、完全透明：只给老 e2e 的 selectOption 用，不接收指针和焦点 */
.sz .sz-native { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
@media (max-height: 520px) {
  .sz-step { min-width: 40px; min-height: 40px; font-size: 1.15em; }
  .sz-val { min-height: 40px; font-size: 1.15em; }
}

/* ---------- 分段按钮（设置里的对话速度、手牌显示） ---------- */
.seg { display: inline-flex; border: 1px solid #c9a46a; border-radius: 4px; overflow: hidden; }
.seg button {
  min-height: 40px; min-width: 3.2em; padding: 0 0.8em; font: 400 0.95rem var(--rb-kai); color: #e9dcc4; cursor: pointer;
  background: #170a0e; border: 0; border-inline-start: 1px solid #c9a46a55;
}
.seg button:first-child { border-inline-start: 0; }
.seg button { flex: 1 1 0; } /* 设置行会把分段组拉宽：按钮均分，不留空白 */
.seg button[aria-checked="true"] { background: linear-gradient(#d9b46a, #a77d38); color: #2a0d14; }
.seg button:focus-visible { outline: 2px solid #ffd98f; outline-offset: -3px; }
.seg + select.seg-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- 保留原生的下拉（发言面板「更多（完整发言）」）：主题外观 ---------- */
.say-full select, .say-more select, .say-more-fields select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--rb-kai); font-weight: 400; color: #f1e3c8; background-color: #140a0e;
  border: 1px solid #c9a46a; border-radius: 3px; padding: 0.25em 1.8em 0.25em 0.6em; min-height: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #c9a46a 50%), linear-gradient(135deg, #c9a46a 50%, transparent 50%);
  background-position: right 0.85em center, right 0.55em center; background-size: 0.32em 0.32em; background-repeat: no-repeat;
}
.say-full select:focus-visible, .say-more select:focus-visible { outline: 2px solid #ffd98f; outline-offset: 1px; }
.say-full select option, .say-more select option { background: #140a0e; color: #f1e3c8; }

/* ---------- 音量滑条：金色 ---------- */
.settings input[type="range"], #settings input[type="range"] { accent-color: #c9a46a; }

/* ---------- 主题确认框（替换 window.confirm） ---------- */
.rb-confirm-scrim { position: fixed; inset: 0; z-index: 80; background: #05020399; display: grid; place-items: center; }
.rb-confirm {
  max-width: min(28rem, 90vw); padding: 1.2rem 1.4rem 1rem; color: #f1e3c8; font: 400 1rem/1.7 var(--rb-kai);
  background: linear-gradient(#1f0b11, #12070a); border: 1px solid #c9a46a; border-radius: 6px; box-shadow: 0 12px 40px #000c, inset 0 0 0 1px #00000080;
}
.rb-confirm p { margin: 0 0 1rem; }
.rb-confirm .row { display: flex; justify-content: flex-end; gap: 0.6rem; }
.rb-confirm button { min-height: 40px; padding: 0 1.2em; font: 400 1rem var(--rb-kai); color: #f4d79b; background: #170a0e; border: 1px solid #c9a46a; border-radius: 4px; cursor: pointer; }
.rb-confirm button.ok { background: linear-gradient(#7a1d2a, #4e0f19); color: #ffe6b0; }
.rb-confirm button:focus-visible { outline: 2px solid #ffd98f; outline-offset: 2px; }
/* 发言面板里的勾选框（多选对象）：保留原生，换成金色 */
.say-full input[type="checkbox"], .say-more-fields input[type="checkbox"] { accent-color: #c9a46a; }

/* ---------- 当面质问（发言面板，类别旁边）：两个小火漆点 = 本局剩余次数，不写数字；用完 / 本轮已有对质时变灰 ---------- */
.say-confront-row { position: relative; display: flex; justify-content: flex-end; margin: 0; }
/* 桌面（鼠标）按钮矮一点，发言面板高度 ≤ 右栏 40%（say-panel e2e）；触屏保持 40px 热区 */
@media (pointer: fine) { .say-confront { min-height: 30px; font-size: 0.88rem; } }
.say-confront {
  min-height: 40px; display: inline-flex; align-items: center; gap: 0.5em; padding: 0 0.9em;
  font: 400 0.95rem var(--rb-kai); color: #ffe6b0; cursor: pointer; letter-spacing: 0.08em;
  background: linear-gradient(#5a1420, #350a12); border: 1px solid #c9a46a; border-radius: 4px; box-shadow: 0 2px 6px #0008;
}
.say-confront:hover:not(.off) { background: linear-gradient(#6c1826, #3f0c15); }
.say-confront.off { filter: grayscale(0.85) brightness(0.7); cursor: not-allowed; }
.cf-dots { display: inline-flex; gap: 0.25em; }
.cf-dot { width: 0.62em; height: 0.62em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6b5a52, #2c2220); box-shadow: inset 0 0 0 1px #00000080; }
.cf-dot.on { background: radial-gradient(circle at 35% 35%, #e0505c, #8e1420 60%, #5c0b14); box-shadow: 0 0 4px #d0303c99, inset 0 0 0 1px #00000060; }
.cf-pick { position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; display: grid; gap: 4px; padding: 6px; background: #140a0e; border: 1px solid #c9a46a; border-radius: 4px; box-shadow: 0 8px 20px #000c; }
.cf-pick button { min-height: 40px; padding: 0 1em; font: 400 0.95rem var(--rb-kai); color: #f1e3c8; background: #1f0b11; border: 1px solid #c9a46a66; border-radius: 3px; cursor: pointer; text-align: left; }
.cf-pick button:hover, .cf-pick button:focus-visible { border-color: #ffd98f; color: #ffe6b0; }

/* ---------- 点别人的头像：3 句快捷话（刻楷金边小卡，贴在头像旁边，不挡手牌） ---------- */
.quick-say {
  position: fixed; z-index: 45; width: min(22rem, calc(100vw - 12px)); display: grid; gap: 4px; padding: 6px;
  background: linear-gradient(#1f0b11f2, #12070af2); border: 1px solid #c9a46a; border-radius: 6px; box-shadow: 0 10px 28px #000c, inset 0 0 0 1px #00000080;
  font-family: var(--rb-kai); font-weight: 400;
}
.qs-row { display: flex; gap: 4px; }
.qs-line {
  flex: 1; min-height: 40px; display: flex; align-items: center; gap: 0.5em; padding: 0.3em 0.6em; text-align: left; cursor: pointer;
  font: 400 0.92rem/1.4 var(--rb-kai); color: #f1e3c8; background: #1a0a10; border: 1px solid #c9a46a55; border-radius: 4px;
}
.qs-line:hover, .qs-line:focus-visible { border-color: #ffd98f; color: #ffe6b0; outline: none; }
.qs-k { flex: none; padding: 0 0.35em; font-size: 0.8em; color: #2a0d14; background: linear-gradient(#d9b46a, #a77d38); border-radius: 2px; }
.qs-roll { flex: none; width: 40px; min-height: 40px; font-size: 1rem; cursor: pointer; background: #170a0e; border: 1px solid #c9a46a55; border-radius: 4px; }
.qs-roll:hover { border-color: #ffd98f; }
@media (max-height: 520px) { .quick-say { width: min(19rem, calc(100vw - 12px)); } .qs-line { font-size: 0.82rem; } }

/* ---------- 竖屏提示层（手机竖着拿）：全屏遮罩、刻楷、旋转手机的小动画；挡住下面的一切点击 ---------- */
@media (orientation: portrait) and (max-width: 500px) and (pointer: coarse) {
  .rotate {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 2147483000; pointer-events: auto; touch-action: none;
    background: radial-gradient(ellipse at 50% 40%, #2a0d14 0%, #120609 60%, #070304 100%); color: #f1e3c8; text-align: center;
    font-family: var(--rb-kai); font-weight: 400;
  }
  /* 提示层在时，下面的页面不滚动、不接收点击 */
  html:has(.rotate) body > :not(.rotate):not(script) { pointer-events: none; }
}
.rot-box { padding: 1.5rem 1.8rem; max-width: 18rem; border: 1px solid #c9a46a66; border-radius: 8px; background: #0d050899; box-shadow: 0 10px 40px #000c, inset 0 0 0 1px #00000080; }
.rot-title { margin: 1.1rem 0 0.4rem; font: 400 calc(1.45rem * var(--kai-k, 1.08)) var(--rb-kai); letter-spacing: 0.18em; color: #ffe6b0; text-shadow: 0 1px 3px #000; }
.rot-sub { margin: 0; font: 400 0.95rem var(--rb-kai); color: #e9dcc4; }
.rot-note { margin: 0.7rem 0 0; font: 400 0.78rem var(--rb-kai); color: #bfae96; }
.rot-go { display: block; margin: 0.9rem auto 0; min-height: 44px; padding: 0 1.2rem; font: 400 0.95rem var(--rb-kai); color: #2a0d14; background: linear-gradient(#e2c07a, #a77d38); border: 1px solid #ffd98f; border-radius: 4px; cursor: pointer; }
.rot-go[hidden] { display: none; }
/* 手机外框（竖 → 横，往返转 90°），屏幕是一小块血月红 */
.rot-phone { position: relative; width: 44px; height: 76px; margin: 0 auto; border: 2px solid #c9a46a; border-radius: 9px; animation: rot-turn 2.6s ease-in-out infinite; }
.rot-phone i { position: absolute; inset: 7px 5px; border-radius: 3px; background: linear-gradient(#7a1d2a, #3a0a12); }
.rot-phone::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 8px; height: 2px; margin-left: -4px; border-radius: 1px; background: #c9a46a; }
@keyframes rot-turn { 0%, 20% { transform: rotate(0deg); } 50%, 75% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .rot-phone { animation: none; transform: rotate(-90deg); } }
/* 手机上：桌面区域防双击缩放 */
@media (pointer: coarse) { body, .stage, .my-area, .layout { touch-action: manipulation; } }

/* /styles/font-unify.css */
/* 全站统一字体（11-07 用户）：所有文字都用「说话」那一款——程荣光刻楷（RB Kai，自托管 woff2 子集，font-display: swap，
   按 unicode-range 只下载用到的分片，不新增远程请求）。缺字（少量符号 / emoji）回退到本机粗楷体（RB Kai Sys）、Noto Serif SC 子集，再到系统衬线。
   做法：把各处沿用的字体变量（--serif / --sans / --latin / --rb-serif / --rb-kai / --gb-font / 规则书 --gd-font）都指向同一条链，
   表单控件默认字体也走这条链。最后加载，压过前面所有定义。卡牌图片里烘焙的文字不受影响。
   刻楷只有 400 一个字重：关掉伪粗体（600–800 的地方按常规字重显示，靠字号与颜色分层），避免笔画糊成一团。
   刻楷的数字是比例宽度（没有 tnum）：需要对齐的数字处保持右对齐 / 居中 + 固定 min-width，不依赖 tabular-nums。 */
/* 刻楷缺字的回退（11-07「孵」「啄」显得细）：刻楷笔画粗，系统常规楷体太细 → 用本机粗楷体充当 400 字重，混排时粗细接近。
   只走 local()，不下载；本机没有就继续回退到 Noto Serif SC 600 子集。 */
@font-face { font-family: 'RB Kai Sys'; font-style: normal; font-weight: 400; font-display: swap; src: local('Kaiti SC Bold'), local('STKaitiSC-Bold'), local('Kaiti TC Bold'), local('STKaitiTC-Bold'), local('KaiTi'), local('STKaiti'); }
:root,
.invite.gb-lobby {
  /* 字面补偿（11-07 用户：英文 / 数字、身份介绍等显得小）：按「统一前这里用的是什么字体」分两档，不逐处改 font-size。
     'RB Latin'（11-08）排在两条链最前：半角字母 / 数字 / 标点改用 Noto Serif SC 600 的衬线字形（统一前的英文就是它）——
     刻楷自带的 ASCII 是细笔草写体，放大 130% 后小写和数字仍又细又小（用户：「英文…还是偏小」）。
     'RB Kai Latin'（刻楷 ASCII 放大 130%）只在 RB Latin 未加载时兜底；
     --rb-font-ui（'RB Kai UI' 汉字 +8%）给原先用宋体 / 思源宋体 / 苹方 / Cinzel 的界面；
     --rb-font（刻楷原大小）给原本就是楷体的对白、宾客簿、规则书。两档都是同一批 woff2，不多下载。 */
  --rb-fallback: 'RB Kai Sys', 'RB Noto Serif SC', 'Noto Serif SC', 'Kaiti SC', 'STKaiti', 'KaiTi', serif;
  --rb-font: 'RB Latin', 'RB Kai Latin', 'RB Kai', var(--rb-fallback);
  --rb-font-ui: 'RB Latin', 'RB Kai Latin', 'RB Kai UI', 'RB Kai', var(--rb-fallback);
  --serif: var(--rb-font-ui);
  --sans: var(--rb-font-ui);
  --latin: var(--rb-font-ui);
  --rb-serif: var(--rb-font-ui);
  --rb-kai: var(--rb-font);
  --gb-font: var(--rb-font);
}
#guide-root { --gd-font: var(--rb-font); } /* 规则书（宾客簿同款纸面）原先单独指定系统楷体，字面本来就和刻楷相当 */
html { font-family: var(--rb-font-ui); font-synthesis-weight: none; }
body, button, input, select, textarea, optgroup, option, dialog, kbd, code, samp, pre { font-family: var(--rb-font-ui); }
