
@font-face{font-family:"WenKai";src:url(fonts/wk.woff2?v=c5035e53) format("woff2");font-display:swap}
@font-face{font-family:"WenKaiT";src:url(fonts/wkt.woff2?v=c5035e53) format("woff2");font-display:swap}
@font-face{font-family:"WenKaiJ";src:url(fonts/wkj.woff2?v=c5035e53) format("woff2");font-display:swap}
@font-face{font-family:"WenKaiE";src:url(fonts/wke.woff2?v=c5035e53) format("woff2");font-display:swap}
:root{color-scheme:dark;--sky:#0b1846;--sky2:#081238;--cream:#f8f1e0;--soft:#c3cdee;--faint:#8f9dcd;
--ink:#27305c;--inksoft:#5b6391;--inkfaint:#8a8fb3;--pen:#3553b8;--red:#c8463c;
--paper:#f8f1e0;--white:#fffdf6;--kraft:#dcc7a0;--note:#fbeaa5;--card:#0e2252;
--peri:#93abf2;--pink:#f4a9bb;--butter:#f6d57a;--mint:#9fd9c5;
--hand:"WenKai","LXGW WenKai","Kaiti SC","STKaiti","KaiTi",serif;
--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
--dots:radial-gradient(circle,rgba(39,48,92,.17) 1px,transparent 1.5px) 0 0/18px 18px;
--stripe:repeating-linear-gradient(135deg,rgba(255,255,255,.4) 0 5px,transparent 5px 10px);
--zig:polygon(0 0,100% 0,calc(100% - 4px) 25%,100% 50%,calc(100% - 4px) 75%,100% 100%,0 100%,4px 75%,0 50%,4px 25%);
--wob:12px 18px 14px 20px/18px 12px 20px 14px;--blob:255px 18px 225px 18px/18px 225px 18px 255px;
--lift:0 18px 30px -18px rgba(0,0,20,.9)}
html:lang(zh-Hant){--hand:"WenKaiT","LXGW WenKai TC","Kaiti TC","BiauKai","DFKai-SB",serif;
--sans:-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei","Noto Sans CJK TC",sans-serif}
html:lang(ja){--hand:"WenKaiJ","Klee One","Klee","YuKyokasho","Hiragino Maru Gothic ProN",serif;
--sans:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo","Noto Sans CJK JP",sans-serif}
html:lang(en){--hand:"WenKaiE","Bradley Hand","Segoe Print","Comic Sans MS",cursive}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* the page: a night sky, the cover of her journal */
body{position:relative;display:flex;flex-direction:column;margin:0;min-height:100vh;color:var(--cream);font:16px/1.8 var(--sans);overflow-x:hidden;
background:radial-gradient(900px 480px at 80% -120px,rgba(100,132,255,.32),transparent 70%),radial-gradient(700px 440px at 6% 420px,rgba(70,120,240,.16),transparent 70%),
linear-gradient(180deg,#0e2060 0,#0a1746 620px,var(--sky2) 1500px) var(--sky2)}
body:before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cg fill='%23f6d57a'%3E%3Cpath d='M52 40l2.5 7.5 7.5 2.5-7.5 2.5-2.5 7.5-2.5-7.5-7.5-2.5 7.5-2.5z'/%3E%3Cpath d='M290 210l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Cpath d='M150 300l1.5 4.5 4.5 1.5-4.5 1.5-1.5 4.5-1.5-4.5-4.5-1.5 4.5-1.5z'/%3E%3C/g%3E%3Cg fill='%23f8f1e0'%3E%3Ccircle cx='210' cy='60' r='1.6'/%3E%3Ccircle cx='110' cy='150' r='1.2'/%3E%3Ccircle cx='320' cy='110' r='1.3'/%3E%3Ccircle cx='30' cy='250' r='1.5'/%3E%3Ccircle cx='240' cy='320' r='1.2'/%3E%3Ccircle cx='180' cy='190' r='1'/%3E%3C/g%3E%3C/svg%3E") 0 0/360px 360px;
animation:twinkle 4.5s ease-in-out infinite alternate}
@keyframes twinkle{from{opacity:.28}to{opacity:.62}}
h1,h2,h3{font-family:var(--hand);font-weight:400;font-synthesis:none}
a{color:var(--peri);text-decoration:none}a:hover{color:#fff}
a:focus-visible,button:focus-visible{outline:2px dashed var(--butter);outline-offset:3px}
::selection{background:var(--butter);color:var(--ink)}
.wrap{position:relative;z-index:1;max-width:1100px;margin:0 auto;padding:0 24px}
.narrow{max-width:800px}
svg{display:block}
/* header: the tabs of the notebook */
header.top{position:sticky;top:0;z-index:20;background:rgba(9,20,62,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
border-bottom:2px dashed rgba(248,241,224,.24)}
header.top .bar{display:flex;align-items:center;height:66px;gap:14px}
.logo{display:flex;align-items:center;gap:11px;color:var(--cream);white-space:nowrap}
.logo img{width:38px;height:38px;border-radius:50%;border:2px solid var(--cream);transform:rotate(-6deg)}
.logo span{font:400 23px/1 var(--hand)}
.logo:hover{color:var(--butter)}
header nav{display:flex;gap:2px;margin-left:auto;font:400 17.5px/1 var(--hand)}
header nav a{padding:8px 11px 9px;color:var(--soft);white-space:nowrap;transition:transform .15s,color .15s}
header nav a:hover{color:#fff;transform:rotate(-3deg)}
header nav a.on{color:var(--ink);background:var(--stripe),var(--butter);transform:rotate(-2deg);clip-path:var(--zig);padding-left:14px;padding-right:14px}
.langs{display:flex;gap:4px;margin-left:8px;font:600 11.5px/1 var(--sans)}
.langs a{padding:6px 7px;color:var(--soft);white-space:nowrap;border:1.5px dashed rgba(248,241,224,.3);border-radius:6px}
.langs a:hover{color:#fff;border-color:rgba(248,241,224,.7)}
.langs a.on{color:var(--ink);background:var(--cream);border:1.5px solid var(--cream)}
/* buttons: stickers */
.btns{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px 12px;font:400 18.5px/1 var(--hand);color:var(--ink);background:var(--peri);
border:2px solid var(--ink);border-radius:var(--blob);box-shadow:3px 4px 0 rgba(3,8,30,.5);transition:transform .15s,box-shadow .15s}
.btn:hover{color:var(--ink);transform:translate(-1px,-2px) rotate(-1.5deg);box-shadow:5px 7px 0 rgba(3,8,30,.5)}
.btn:active{transform:translate(2px,3px);box-shadow:1px 1px 0 rgba(3,8,30,.5)}
.btn.ghost{background:var(--paper)}
.btn.gold{background:var(--butter)}
/* a strip of washi tape with a few words on it */
.k,.tag{display:inline-block;padding:4px 13px;font:700 10.5px/1.5 var(--sans);letter-spacing:.17em;color:var(--ink);background:var(--stripe),var(--tape,var(--butter));
transform:rotate(-2deg);clip-path:var(--zig);white-space:nowrap}
/* hero (home): a page of the journal, and a snapshot of her */
.sea{position:relative;z-index:1;overflow:hidden}
.fishes{position:absolute;inset:0;pointer-events:none;opacity:.32}
.swim{position:absolute;left:0;animation:swim linear infinite}
.swim svg{transform:scaleX(-1)}
.swim svg path{fill:none;stroke:var(--cream);stroke-width:2.5;stroke-linejoin:round}
.swim svg circle{fill:var(--cream)}
.swim.l{animation-name:swiml}.swim.l svg{transform:none}
.wob{animation:wob 3.2s ease-in-out infinite}
@keyframes swim{from{transform:translateX(-140px)}to{transform:translateX(calc(100vw + 40px))}}
@keyframes swiml{from{transform:translateX(calc(100vw + 40px))}to{transform:translateX(-140px)}}
@keyframes wob{50%{transform:translateY(7px) rotate(2deg)}}
.sea .hero{z-index:2}
.hero{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:52px;padding-top:62px;padding-bottom:62px}
.label{position:relative;padding:36px 32px 28px;color:var(--ink);background:var(--grain),var(--dots),var(--paper);border-radius:var(--wob);transform:rotate(-1.2deg);box-shadow:var(--lift)}
.label:before,.panel:before,.dcard:before,.entry:before,.bowl:before{content:"";position:absolute;left:50%;top:-12px;width:104px;height:25px;margin-left:-52px;transform:rotate(-2.5deg);
background:var(--stripe),var(--tape,var(--peri));opacity:.93;clip-path:var(--zig);pointer-events:none}
.label{--tape:var(--pink)}
.hero .k{display:table;margin-bottom:10px}
.hero h1{display:inline;margin:0;padding:0 8px;font-size:86px;line-height:1.3;color:var(--ink);-webkit-text-stroke:1.3px var(--ink);
-webkit-box-decoration-break:clone;box-decoration-break:clone;background:linear-gradient(transparent 64%,rgba(246,213,122,.95) 64% 90%,transparent 90%)}
html:lang(en) .hero h1{font-size:62px;-webkit-text-stroke-width:1px}
.hero .sub{margin:18px 0 8px;font:400 19px/1.8 var(--hand)}
.hero .en{margin:0;color:var(--inkfaint);font:600 10.5px/1.5 var(--sans);letter-spacing:.18em}
.hero .btns{margin-top:28px}
.whale{position:absolute;right:30px;top:44px;width:124px;height:auto;fill:none;stroke:var(--pen);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transform:rotate(5deg);opacity:.85}
.whale circle{fill:var(--pen);stroke:none}
html:lang(en) .whale{top:22px;width:92px}
.facts{display:flex;flex-wrap:wrap;gap:12px 14px;margin:26px 0 0}
.facts div{position:relative;padding:7px 15px 8px 32px;color:var(--ink);background:var(--grain),var(--kraft);border-radius:6px 13px 13px 6px;box-shadow:2px 3px 0 rgba(3,8,30,.3)}
.facts div:nth-child(odd){transform:rotate(-1.5deg)}.facts div:nth-child(even){transform:rotate(1.2deg)}
.facts div:before,.chip:before{content:"";position:absolute;left:11px;top:50%;width:11px;height:11px;margin-top:-5.5px;border-radius:50%;background:var(--paper);box-shadow:inset 1px 1px 0 rgba(0,0,0,.4)}
.chip:before{background:var(--sky)}
.facts dt{font:700 10px/1.4 var(--sans);letter-spacing:.16em;color:#7a6338}
.facts dd{margin:0;font:400 16.5px/1.4 var(--hand)}
.snap{position:relative;justify-self:end;width:100%;max-width:590px}
.bowl{position:relative;display:block;padding:14px 14px 60px;color:var(--ink);background:var(--white);border-radius:4px;transform:rotate(2.2deg);
box-shadow:0 26px 44px -20px rgba(0,0,20,.9);transition:transform .25s}
.bowl:hover{color:var(--ink);transform:rotate(.4deg) scale(1.012)}
.bowl img{display:block;width:100%;height:auto;border-radius:2px}
.peek{position:absolute;left:0;right:0;bottom:15px;display:flex;justify-content:center;align-items:center;gap:10px;font:400 21px/1.4 var(--hand)}
.peek i,.lk i{flex:none;width:10px;height:10px;border-radius:50%;background:#ff5d70;box-shadow:0 0 0 4px rgba(255,93,112,.22);animation:blink 1.6s ease-in-out infinite}
.pm{position:absolute;z-index:2;right:-16px;top:-30px;display:grid;place-content:center;width:92px;height:92px;border-radius:50%;text-align:center;color:var(--red);
background:var(--grain),var(--paper);border:2.5px solid var(--red);outline:1.5px dashed var(--red);outline-offset:-8px;font:700 10.5px/1.2 var(--sans);letter-spacing:.2em;
transform:rotate(13deg);box-shadow:2px 4px 0 rgba(3,8,30,.4)}
.pm b{display:block;font:400 31px/1 var(--hand);letter-spacing:0}
/* the bottom of the page: seaweed and waves in white pen; the MC page's block strip */
.floor{position:relative;height:110px;overflow:hidden}
.floor .dunes{position:absolute;inset:0;width:100%;height:100%}
.floor .dunes path:first-child{fill:#0a1746}.floor .dunes path:last-child{fill:#060e2c}
.floor .kelp{position:absolute;bottom:22px;width:auto;fill:none;stroke:rgba(248,241,224,.5);stroke-width:3;stroke-linecap:round;transform-origin:50% 100%;
animation:sway 6s ease-in-out infinite alternate}
@keyframes sway{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}
.strip{position:relative;z-index:1;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20shape-rendering%3D%22crispEdges%22%20aria-hidden%3D%22true%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%220%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%221%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%221%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%221%22%20width%3D%224%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%221%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%221%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%222%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%222%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238be05a%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%222%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%223%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%223%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236cc644%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%224%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234fa832%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%224%22%20width%3D%224%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%225%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%225%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%226%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%226%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%226%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%227%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%227%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%228%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%228%22%20width%3D%227%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%229%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%229%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%229%22%20width%3D%224%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2210%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2211%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2212%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2213%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2213%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2213%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2213%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%235a361d%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%2215%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%2215%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%236e4426%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2215%22%20width%3D%224%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a06a3f%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%238b5a34%22%2F%3E%3C%2Fsvg%3E") 0 0/24px 24px repeat-x;image-rendering:pixelated}
/* panels: pieces of paper taped onto the page */
main.wrap{position:relative;z-index:1;width:100%;padding-top:42px;padding-bottom:70px}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:34px 28px}
.s8{grid-column:span 8}.s7{grid-column:span 7}.s6{grid-column:span 6}.s5{grid-column:span 5}.s4{grid-column:span 4}.s3{grid-column:span 3}.s12{grid-column:span 12}
.panel{position:relative;padding:30px 28px 26px;color:var(--ink);background:var(--grain),var(--dots),var(--paper);border-radius:var(--wob);box-shadow:var(--lift)}
.panel a{color:var(--pen)}.panel a:hover{color:#16286f}
.grid>.panel:nth-child(odd){transform:rotate(-.45deg)}.grid>.panel:nth-child(even){transform:rotate(.4deg)}
.grid>.panel:nth-child(3n+1),.dcard:nth-child(3n+1),.ev:nth-child(3n+1),.sec:nth-child(3n+1),.toast:nth-child(3n+1){--tape:var(--pink)}
.grid>.panel:nth-child(3n+2),.dcard:nth-child(3n+2),.ev:nth-child(3n+2),.sec:nth-child(3n+2),.toast:nth-child(3n+2){--tape:var(--butter)}
.grid>.panel:nth-child(3n),.dcard:nth-child(3n),.ev:nth-child(3n),.sec:nth-child(3n),.toast:nth-child(3n){--tape:var(--mint)}
a.panel{display:block;color:var(--ink);transition:transform .2s}
.grid>a.panel:hover{color:var(--ink);transform:rotate(0deg) translateY(-4px)}
.kick{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;line-height:1.2}
.kick b{padding:0 3px;font:400 27px/1.25 var(--hand);color:var(--ink);-webkit-text-stroke:.4px var(--ink);
background:linear-gradient(transparent 62%,rgba(246,213,122,.9) 62% 92%,transparent 92%)}
.kick .more{margin-left:auto;font:400 16.5px/1.2 var(--hand);color:var(--pen)}
.live{display:inline-flex;align-items:center;gap:8px}
.live i{width:8px;height:8px;border-radius:50%;background:#2fb887;box-shadow:0 0 0 3px rgba(47,184,135,.22);animation:blink 1.6s ease-in-out infinite}
@keyframes blink{50%{opacity:.3}}
.now{margin:8px 0 16px;font:400 24px/1.7 var(--hand)}
.mood{color:var(--inksoft);font-size:14.5px;padding-top:12px;border-top:2px dashed rgba(39,48,92,.28)}
.meals{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.meal{display:flex;align-items:center;gap:8px;padding:4px 15px 4px 5px;border:1.5px solid var(--ink);border-radius:var(--blob);background:var(--white);font-size:13.5px;line-height:1.5}
.meal span{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--butter);font:400 15px/1 var(--hand)}
/* the latest post: a sticky note with a pin */
.panel.sticky{background:var(--grain),var(--note);border-radius:3px 3px 30px 3px/3px 3px 22px 3px}
.panel.sticky:before{left:auto;right:26px;top:-14px;width:22px;height:22px;margin:0;border-radius:50%;clip-path:none;opacity:1;transform:none;
background:radial-gradient(circle at 35% 30%,#ff9fb0,var(--red) 60%);box-shadow:2px 3px 3px rgba(0,0,20,.35)}
.panel.sticky .kick b{background:none}.grid>.panel.sticky.sticky{--tape:var(--peri)}
.quote{margin:0;font:400 18px/1.9 var(--hand);white-space:pre-wrap}
.meta{color:var(--inksoft);font-size:12.5px;margin-top:12px;letter-spacing:.04em}
/* dark card: numbers and charts in white pen */
.panel.stats,.panel.tile,.panel.chart{color:var(--cream);background:var(--grain),var(--card);border:2px solid rgba(248,241,224,.88);border-radius:16px 12px 18px 10px/12px 18px 10px 16px}
.panel.tile:before{display:none}
.grid>.panel.chart{transform:none}
.stats,a.panel.stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;align-content:center;color:var(--cream)}
.stats div+div{border-left:2px dashed rgba(248,241,224,.3)}
.stats b{display:block;font:400 48px/1.2 var(--hand);color:#fff}
.stats span{font-size:13px;color:var(--soft)}
/* the MC card: kraft paper */
.panel.mcard{background:var(--grain),var(--kraft)}
.mcard .mrow{display:flex;gap:16px;align-items:center}
.mcard .mrow svg{flex:none;border-radius:6px;transform:rotate(-5deg);box-shadow:2px 3px 0 rgba(3,8,30,.35)}
.mcard p{margin:0;font-size:14.5px;line-height:1.75}
.mcard .go{display:inline-block;margin-top:12px;font:400 17px/1.3 var(--hand);border-bottom:2px solid var(--ink)}
/* ruled paper (diary) */
.panel.paper{display:flex;flex-direction:column;padding-left:64px;background:var(--grain),linear-gradient(90deg,transparent 43px,rgba(200,70,60,.4) 43px 44.5px,transparent 44.5px),var(--paper)}
.panel.paper .excerpt{flex:1}.panel.paper .sign{margin-top:0;padding-top:12px}
a.paper:hover{color:var(--ink)}
.excerpt{margin:0;font:400 17px/34px var(--hand);letter-spacing:.03em;background:repeating-linear-gradient(180deg,transparent 0 33px,rgba(39,48,92,.17) 33px 34px)}
.stamp{display:inline-block;padding:1px 11px 2px;border:2px solid var(--red);border-radius:7px;font:400 15.5px/1.5 var(--hand);color:var(--red);white-space:nowrap;transform:rotate(-3deg);opacity:.92}
.dhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:8px}
.dd{font:400 27px/1.2 var(--hand);white-space:nowrap}.dd small{font:400 13px/1 var(--sans);color:var(--inksoft);margin-left:10px}
/* page head (sub pages): a title in white pen and a snapshot */
.phead{position:relative;z-index:1}
.phead .wrap{padding-top:52px;padding-bottom:30px;min-height:256px}
.phead h1{max-width:560px;margin:16px 0 14px;font-size:60px;line-height:1.3;color:#fff;-webkit-text-stroke:.8px #fff;
text-decoration:underline wavy var(--butter) 3px;text-underline-offset:12px}
html:lang(en) .phead h1{font-size:48px}
.phead p{margin:0;max-width:540px;color:var(--soft)}
.phead .narrow h1,.phead .narrow p{max-width:470px}
.phead .btns{margin-top:24px}
.phead .bg{position:absolute;z-index:2;top:38px;right:max(28px,calc(50% - 522px));width:310px;height:200px;object-fit:cover;object-position:44% 40%;
border:10px solid var(--white);border-bottom-width:32px;border-radius:3px;transform:rotate(3deg);box-shadow:0 22px 36px -18px rgba(0,0,20,.9)}
/* diary */
.dlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:36px 28px;padding-top:8px}
.dcard{position:relative;display:block;padding:26px 24px 22px;color:var(--ink);background:var(--grain),var(--paper);border-radius:var(--wob);box-shadow:var(--lift);transition:transform .2s}
.dcard:nth-child(odd){transform:rotate(-.9deg)}.dcard:nth-child(even){transform:rotate(.7deg)}
.dcard:hover{color:var(--ink);transform:translateY(-5px)}
.dcard .d{font:400 52px/1 var(--hand)}
.dcard .m{font-size:12.5px;color:var(--inksoft);margin:8px 0 8px}
.dcard p{margin:0;font:15.5px/30px var(--hand);background:repeating-linear-gradient(180deg,transparent 0 29px,rgba(39,48,92,.17) 29px 30px)}
.entry{--lh:38px;position:relative;max-width:740px;margin:8px auto 0;padding:54px 60px 46px 92px;color:var(--ink);border-radius:6px 14px 14px 6px;box-shadow:var(--lift);
background:var(--grain),radial-gradient(circle 8px at 30px 40px,#0a1746 97%,transparent) 0 0/60px 80px repeat-y,
linear-gradient(90deg,transparent 68px,rgba(200,70,60,.4) 68px 69.5px,transparent 69.5px),var(--paper)}
.entry:before{left:64%}
.entry .date{font:400 31px/1.3 var(--hand);margin:0 0 8px}
.entry .wd{color:var(--inksoft);font-size:13px;margin-bottom:14px;display:flex;gap:14px;align-items:center}
.entry .body{margin-top:24px;background:repeating-linear-gradient(180deg,transparent 0 calc(var(--lh) - 1px),rgba(39,48,92,.17) calc(var(--lh) - 1px) var(--lh))}
.entry .body p{margin:0;font:400 17.5px/var(--lh) var(--hand);text-indent:2em;letter-spacing:.03em}
.sign{text-align:right;font:400 18px/1.6 var(--hand);color:var(--inksoft);margin-top:22px}
.pager{display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:740px;margin:34px auto 0}
/* timeline: slips of paper along a stitched line */
.tl{position:relative;max-width:820px;margin:0 auto}
.tl:before{content:"";position:absolute;left:105px;top:6px;bottom:6px;border-left:2.5px dashed rgba(248,241,224,.42)}
.ev{display:grid;grid-template-columns:84px 1fr;gap:44px;margin:0 0 34px;position:relative}
.ev .when{text-align:right;padding-top:18px}
.ev .when b{display:block;font:400 27px/1 var(--hand);color:#fff}
.ev .when span{display:block;font-size:12.5px;color:var(--soft);margin-top:8px}
.ev:before{content:"";position:absolute;left:94px;top:16px;width:25px;height:25px;background:var(--butter);
clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.ev .panel{padding:26px 24px 22px}
.ev:nth-child(odd) .panel{transform:rotate(-.35deg)}.ev:nth-child(even) .panel{transform:rotate(.3deg)}
.ev .txt{margin:0;white-space:pre-wrap;font-size:15.5px;line-height:1.9}
.ev img{display:block;width:100%;margin-top:16px;border:9px solid var(--white);border-radius:2px;transform:rotate(.6deg);box-shadow:0 10px 18px -10px rgba(0,0,20,.6)}
/* aquarium (the AI zone): a window of dark blue card with speech bubbles */
.tank{position:relative;overflow:hidden;padding:26px 22px;color:var(--cream);background:var(--grain),linear-gradient(180deg,#1f4196,#132b70);
border:2.5px solid var(--cream);border-radius:20px 14px 22px 12px/14px 22px 12px 20px;box-shadow:var(--lift)}
.panel .tank{box-shadow:none;border-color:var(--ink)}
.tank .bub{position:absolute;bottom:-24px;border-radius:50%;border:1.8px solid rgba(248,241,224,.5);animation:rise linear infinite;pointer-events:none}
@keyframes rise{to{transform:translateY(-1400px)}}
.day{position:relative;text-align:center;margin:20px 0 12px}
.day span{display:inline-block;padding:2px 14px 3px;border-radius:var(--blob);font:400 15.5px/1.6 var(--hand);color:var(--cream);background:rgba(4,13,38,.5)}
.msg{position:relative;display:flex;gap:10px;align-items:flex-end;margin:12px 0}
.msg.me{flex-direction:row-reverse}
.msg .av{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:600 13px/1 var(--sans);background:var(--paper);color:var(--ink);
overflow:hidden;border:2px solid var(--cream)}
.msg .av img{width:100%;height:100%}
.msg .col{max-width:78%;display:flex;flex-direction:column}
.msg.me .col{align-items:flex-end}
.msg .who{font-size:11.5px;color:#c8d3f3;margin:0 6px 4px}
.msg .b{padding:9px 15px 10px;border-radius:16px 20px 18px 5px/20px 16px 5px 18px;color:var(--ink);background:var(--paper);white-space:pre-wrap;word-break:break-word;font-size:15px;line-height:1.75}
.msg.me .b{border-radius:20px 16px 5px 18px/16px 20px 18px 5px;color:#0b1846;background:#a9bdf6}
/* manual + mc */
.toc{display:flex;flex-wrap:wrap;gap:12px 12px;margin:0 0 36px}
.toc a{padding:4px 14px 6px;font:400 17px/1.4 var(--hand);color:var(--ink);background:var(--note);border-radius:2px;box-shadow:2px 3px 0 rgba(3,8,30,.45);transition:transform .15s}
.toc a:nth-child(4n+2){background:#f9ccd6}.toc a:nth-child(4n+3){background:#cdeee2}.toc a:nth-child(4n){background:#cfdafc}
.toc a:nth-child(odd){transform:rotate(-1.6deg)}.toc a:nth-child(even){transform:rotate(1.3deg)}
.toc a:hover{color:var(--ink);transform:translateY(-3px)}
.sec{display:grid;grid-template-columns:76px 1fr;gap:8px;margin:0 0 30px;scroll-margin-top:90px}
.sec .no{font:400 48px/1 var(--hand);color:var(--butter);padding-top:22px;transform:rotate(-7deg)}
.sec:nth-child(odd) .panel{transform:rotate(-.3deg)}.sec:nth-child(even) .panel{transform:rotate(.3deg)}
.sec h2{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:28px;line-height:1.3;color:var(--ink);-webkit-text-stroke:.4px var(--ink)}
.sec ul,.mcwrap ul{margin:0;padding:0;list-style:none}
.sec li,.mcwrap li{position:relative;padding-left:24px;margin:9px 0}
.sec li:before,.mcwrap li:before{content:"";position:absolute;left:2px;top:.56em;width:9px;height:9px;border:2px solid var(--pen);border-radius:50% 44% 56% 48%}
.sec b,.mcwrap b{color:#141b45;font-weight:700;background:linear-gradient(transparent 62%,rgba(246,213,122,.75) 62%)}
code{display:inline-block;margin:1px 2px;padding:1px 8px 2px;border-radius:4px;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
color:#fdf8ea;background:var(--ink);word-break:break-all}
.tb{width:100%;border-collapse:collapse;margin:14px 0 16px;font-size:15px}
.tb th,.tb td{padding:9px 14px;text-align:left;border-bottom:2px dashed rgba(39,48,92,.3)}
.tb th{font:400 17.5px/1.5 var(--hand);color:var(--inksoft);border-bottom:2px solid var(--ink)}
.tb tr:last-child td{border-bottom:0}
.tb td:first-child{font-weight:600}
.lead{margin:0 0 4px}
.chips{display:flex;flex-wrap:wrap;gap:16px 16px;margin:0 0 40px}
.chip{position:relative;padding:9px 16px 10px 34px;color:var(--ink);background:var(--grain),var(--kraft);font-size:14px;line-height:1.6;border-radius:6px 13px 13px 6px;box-shadow:2px 4px 0 rgba(3,8,30,.45)}
.chip:nth-child(odd){transform:rotate(-1.3deg)}.chip:nth-child(even){transform:rotate(1deg)}
.chip b{display:block;font:700 10.5px/1.5 var(--sans);letter-spacing:.14em;color:#7a6338;background:none}
.h2{display:flex;align-items:center;gap:12px;margin:48px 0 24px;font-size:36px;line-height:1.3;color:#fff;-webkit-text-stroke:.5px #fff}
.h2:first-child{margin-top:0}
.h2 svg{border-radius:5px;transform:rotate(6deg)}
.toast{display:grid;grid-template-columns:64px 1fr;gap:20px;margin:0 0 30px;padding:28px 26px 22px}
.toast:nth-child(odd){transform:rotate(-.3deg)}.toast:nth-child(even){transform:rotate(.3deg)}
.toast .ico{display:grid;place-items:center;width:64px;height:64px;background:var(--grain),var(--kraft);border-radius:12px 8px 14px 10px;transform:rotate(-4deg);box-shadow:2px 3px 0 rgba(3,8,30,.3)}
.toast .tt{margin:0 0 8px;font:700 11px/1.5 var(--sans);letter-spacing:.16em;color:var(--red)}
.toast .tt b{display:block;font:400 27px/1.3 var(--hand);letter-spacing:0;color:var(--ink);margin-top:2px;background:none;-webkit-text-stroke:.4px var(--ink)}
.toast p{margin:0 0 6px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}
.two>div{padding:12px 16px;background:var(--white);border:1.5px dashed rgba(39,48,92,.45);border-radius:10px 12px 10px 14px}
.two h3{margin:0 0 4px;font-size:17.5px;line-height:1.5;color:var(--pen)}
.two p{margin:0;font-size:14.5px}
.note{margin:12px 0 0;padding:10px 16px;font-size:14px;color:#5a4208;background:var(--note);border-radius:2px;transform:rotate(-.4deg);box-shadow:2px 3px 0 rgba(3,8,30,.18)}
.note b{background:none}
/* stats */
.tile{padding:20px 22px}.tile .v{font:400 38px/1.2 var(--hand);color:#fff}
.tile .l{font-size:13px;line-height:1.5;color:var(--soft);margin-top:4px}
.sectitle{grid-column:span 12;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin:26px 0 -8px}
.sectitle h2{margin:0;font-size:36px;line-height:1.3;color:#fff;-webkit-text-stroke:.5px #fff}.sectitle span{font-size:13px;color:var(--faint)}
.chart h3{margin:0 0 2px;font-size:22px;line-height:1.4;color:#fff}.chart .cap{margin:0 0 12px;font-size:13px;color:var(--faint)}
.chart svg{width:100%;height:auto;overflow:visible}
.chart .ax{fill:var(--faint);font-size:11px;font-family:var(--sans)}.chart .gl{stroke:rgba(248,241,224,.22);stroke-dasharray:3 5}
.chart .col{outline:none}.chart .col:hover .hl,.chart .col:focus .hl{fill:rgba(248,241,224,.1)}
.legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px;font-size:13px;color:var(--soft)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.meter{display:flex;height:14px;gap:2px;margin:10px 0 14px;border-radius:999px;overflow:hidden}
.meter span{display:block;height:100%}
.mlab{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:13.5px;color:var(--soft)}.mlab b{color:#fff;font-weight:600;margin-left:6px}
.mlab i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px}
#tip{position:fixed;z-index:50;pointer-events:none;padding:8px 14px 9px;border-radius:12px 16px 14px 18px/16px 12px 18px 14px;background:var(--paper);font-size:12.5px;line-height:1.6;color:var(--ink);
box-shadow:3px 5px 0 rgba(3,8,30,.5);opacity:0;transition:opacity .12s;white-space:nowrap}
#tip b{color:#141b45}
/* footer */
footer{position:relative;z-index:1;margin-top:auto;color:var(--faint);font-size:13px;line-height:1.9;text-align:center;background:linear-gradient(180deg,transparent 109px,#060e2c 109px)}
footer .wrap{padding-top:12px;padding-bottom:40px}
footer .mark{font:400 23px/1.4 var(--hand);color:var(--cream);margin-bottom:6px}
/* header in two rows where one row does not fit (patch_header.py) */
@media (max-width:1020px){header.top .bar{flex-wrap:wrap;height:auto;padding-top:10px;gap:8px}header nav{order:2;flex:0 0 calc(100% + 48px);margin:0 -24px;padding:2px 24px 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}header nav::-webkit-scrollbar{display:none}.langs{order:1;margin-left:auto}}
@media (min-width:1021px) and (max-width:1140px){html:lang(ja) header.top .bar{flex-wrap:wrap;height:auto;padding-top:10px;gap:8px}html:lang(ja) header nav{order:2;flex:0 0 calc(100% + 48px);margin:0 -24px;padding:2px 24px 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}html:lang(ja) header nav::-webkit-scrollbar{display:none}html:lang(ja) .langs{order:1;margin-left:auto}}
@media (min-width:1021px) and (max-width:1320px){html:lang(en) header.top .bar{flex-wrap:wrap;height:auto;padding-top:10px;gap:8px}html:lang(en) header nav{order:2;flex:0 0 calc(100% + 48px);margin:0 -24px;padding:2px 24px 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}html:lang(en) header nav::-webkit-scrollbar{display:none}html:lang(en) .langs{order:1;margin-left:auto}}
@media (max-width:920px){.s8,.s7,.s6,.s5,.s4{grid-column:span 12}.s3{grid-column:span 6}
header.top .bar{flex-wrap:wrap;height:auto;padding-top:10px;gap:8px}
header nav{order:2;flex:0 0 calc(100% + 48px);margin:0 -24px;padding:2px 24px 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
header nav::-webkit-scrollbar{display:none}.langs{order:1;margin-left:auto}
.hero{grid-template-columns:1fr;gap:44px;padding-top:48px}.snap{order:-1;justify-self:center;max-width:520px}.hero h1{font-size:72px}
.phead .wrap{min-height:0;padding-top:26px}.phead h1,.phead .narrow h1{max-width:none}
.phead .bg{position:relative;top:auto;right:auto;display:block;width:calc(100% - 64px);max-width:420px;height:150px;margin:30px 32px 0;transform:rotate(-1.5deg)}}
@media (max-width:600px){body{font-size:15.5px}.wrap{padding:0 16px}header nav{flex-basis:calc(100% + 32px);margin:0 -16px;padding:2px 16px 10px}
.logo span{font-size:20px}
.hero{gap:38px;padding-top:44px;padding-bottom:40px}.label{padding:30px 22px 22px}.hero h1{font-size:60px}html:lang(en) .hero h1{font-size:46px}.hero .sub{font-size:17.5px}
.whale{right:16px;top:34px;width:92px}html:lang(en) .whale{display:none}
.btn{padding:9px 16px 11px;font-size:17.5px}.btns{gap:12px}
.bowl{padding:10px 10px 50px}.peek{bottom:11px;font-size:18.5px}.pm{right:-6px;top:-34px;width:78px;height:78px}.pm b{font-size:26px}
main.wrap{padding-top:30px;padding-bottom:50px}.grid{gap:30px 18px}.panel{padding:28px 20px 22px}
.panel.paper{padding-left:52px;background:var(--grain),linear-gradient(90deg,transparent 33px,rgba(200,70,60,.4) 33px 34.5px,transparent 34.5px),var(--paper)}
.now{font-size:21px}.kick b{font-size:24px}
.stats b{font-size:32px}.phead h1{font-size:44px}html:lang(en) .phead h1{font-size:36px}
.phead .bg{height:130px;border-width:8px;border-bottom-width:24px;margin:26px 24px 0;width:calc(100% - 48px)}
.entry{--lh:36px;padding:42px 20px 30px 54px;background:var(--grain),radial-gradient(circle 6px at 18px 36px,#0a1746 97%,transparent) 0 0/36px 72px repeat-y,
linear-gradient(90deg,transparent 40px,rgba(200,70,60,.4) 40px 41.5px,transparent 41.5px),var(--paper)}
.entry .date{font-size:25px}.entry .body p{font-size:16.5px}
.tl:before{left:57px}.ev{grid-template-columns:42px 1fr;gap:30px}.ev:before{left:47px;top:14px;width:22px;height:22px}.ev .when b{font-size:15px}.ev .when span{font-size:11px}
.sec{grid-template-columns:1fr}.sec .no{padding-top:0;font-size:34px;justify-self:start}.tank{padding:20px 12px}
.msg .col{max-width:84%}.toast{grid-template-columns:1fr;gap:12px;padding:26px 18px 18px}.two{grid-template-columns:1fr}
.h2,.sectitle h2{font-size:30px}.tile .v{font-size:30px}.floor{height:80px}footer{background:linear-gradient(180deg,transparent 79px,#060e2c 79px)}}
@media (max-width:600px){.chart.s12 .ax{font-size:21px}.chart.s6 .ax{font-size:15px}}
@media (prefers-reduced-motion:reduce){body:before,.tank .bub,.live i,.peek i,.lk i,.swim,.wob,.floor .kelp{animation:none}.swim{display:none}
.btn,a.panel,.dcard,.bowl,.toc a,header nav a{transition:none}}

/* 鱼缸直播 (live.html): a big photograph of the tank, taped onto the page */
.livesea{position:relative;z-index:1;overflow:hidden}
.livesea~main{display:none}
.livesea>.wrap{position:relative;z-index:2;padding-top:40px;padding-bottom:36px}
.lk{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px 10px;padding:5px 16px;font:700 11px/1.5 var(--sans);letter-spacing:.2em;color:var(--ink);
background:var(--stripe),var(--butter);transform:rotate(-2deg);clip-path:var(--zig)}
.sframe{position:relative;padding:14px 14px 18px;background:var(--white);border-radius:5px;box-shadow:0 30px 50px -24px rgba(0,0,20,.9)}
.sframe:before,.sframe:after{content:"";position:absolute;z-index:3;width:116px;height:27px;background:var(--stripe),var(--pink);opacity:.93;clip-path:var(--zig);
transform:rotate(-38deg);pointer-events:none}
.sframe:before{left:-36px;top:12px}.sframe:after{right:-36px;bottom:14px;background:var(--stripe),var(--mint)}
.stage{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:3px;background:#0a1a42;cursor:pointer;
-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;touch-action:manipulation;outline:none}
.stage:focus-visible{box-shadow:0 0 0 3px var(--butter)}
.stage .art{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease,filter 2s;pointer-events:none}
.stage .art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform-origin:50% 100%}
.stage .art img[hidden]{display:none}
.stage .art.on{opacity:1}
.stage .art.on .mv{animation:breathe 4.6s ease-in-out infinite}
.stage .art.on .me.mv{animation-name:breathe2}
.stage[data-scene=sleep] .art.on .mv,.stage[data-scene=sick] .art.on .mv{animation-duration:6.5s}
@keyframes breathe{50%{transform:scale(1.008)}}
@keyframes breathe2{50%{transform:scale(1.006,1.014)}}
.stage.poke .art.on .mv{animation:poke .34s ease-out}
.stage.poke .art.on .me.mv{animation:poke2 .42s ease-out}
.stage[data-scene=sleep].poke .art.on .me.mv{animation:squirm .5s ease-out}
@keyframes poke{30%{transform:scale(.982) translateY(4px)}70%{transform:scale(1.008) translateY(-3px)}}
@keyframes poke2{25%{transform:scale(1.045,.94)}60%{transform:scale(.97,1.04) translateY(-7px)}85%{transform:scale(1.01,.99)}}
@keyframes squirm{30%{transform:scale(1.014,.982)}65%{transform:scale(.996,1.01) translateY(-2px)}}
.stage.mad .art.on .mv{animation:mad .5s ease-in-out}
@keyframes mad{25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}
.stage[data-sky=cloud] .art,.stage[data-sky=rain] .art,.stage[data-sky=fog] .art,.stage[data-sky=snow] .art{filter:saturate(.9) brightness(.97)}
.stage .tint{position:absolute;inset:0;pointer-events:none;mix-blend-mode:multiply;transition:background-color 3s}
.stage[data-phase=dawn] .tint{background-color:#f6dfe6}.stage[data-phase=golden] .tint{background-color:#f7e3c2}
.stage[data-phase=dusk] .tint{background-color:#f6dccb}.stage[data-phase=night] .tint{background-color:#c3c8dc}
.stage[data-scene=sleep] .tint,.stage[data-scene=grumpy] .tint{background-color:transparent}
.stage .lamp{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 3s;mix-blend-mode:screen;
background:radial-gradient(55% 60% at 50% 55%,rgba(255,196,120,.22),transparent 70%)}
.stage[data-phase=night] .lamp,.stage[data-phase=dusk] .lamp{opacity:1}
.stage[data-scene=sleep] .lamp{opacity:0}
.stage .glow{position:absolute;inset:0;pointer-events:none;opacity:0;mix-blend-mode:screen;
background:radial-gradient(45% 45% at 50% 42%,rgba(140,195,255,.22),transparent 70%)}
.stage[data-fx=glow] .glow{animation:glow 3.2s ease-in-out infinite}
@keyframes glow{0%,100%{opacity:.35}20%{opacity:.8}45%{opacity:.5}60%{opacity:1}85%{opacity:.4}}
.stage canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.stage .say{position:absolute;left:50%;top:8%;max-width:78%;padding:8px 18px 10px;border-radius:16px 22px 18px 24px/22px 16px 24px 18px;transform:translate(-50%,6px);opacity:0;
background:var(--paper);color:var(--ink);border:2px solid var(--ink);font:400 18.5px/1.5 var(--hand);text-align:center;box-shadow:3px 4px 0 rgba(3,8,30,.45);
transition:opacity .15s,transform .15s;pointer-events:none}
.stage .say.on{opacity:1;transform:translate(-50%,0)}
.stage .say:after{content:"";position:absolute;left:calc(50% - 7px);bottom:-8px;width:13px;height:13px;border-radius:2px;background:var(--paper);
border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg)}
.stage .typing{position:absolute;left:61%;top:17%;display:flex;gap:5px;padding:10px 13px;border-radius:16px 16px 16px 5px;background:var(--paper);border:2px solid var(--ink);
box-shadow:3px 4px 0 rgba(3,8,30,.45);pointer-events:none}
.stage .typing[hidden]{display:none}
.stage .typing i{width:7px;height:7px;border-radius:50%;background:var(--pen);animation:tdot 1.2s ease-in-out infinite}
.stage .typing i:nth-child(2){animation-delay:.2s}.stage .typing i:nth-child(3){animation-delay:.4s}
@keyframes tdot{0%,60%,100%{transform:none}30%{transform:translateY(-4px)}}
.stage .ping{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border:2.5px solid #fff;border-radius:50%;pointer-events:none;animation:ping .45s ease-out forwards}
@keyframes ping{to{transform:scale(3);opacity:0}}
.snd{position:absolute;top:26px;right:26px;z-index:4;width:42px;height:42px;display:grid;place-items:center;padding:0;border:2px solid var(--ink);border-radius:50% 46% 52% 48%;
background:var(--paper);color:var(--ink);box-shadow:2px 3px 0 rgba(3,8,30,.5);cursor:pointer;transform:rotate(-5deg)}
.snd:hover{background:var(--butter)}
.snd svg{width:20px;height:20px}.snd.off{color:var(--inkfaint)}.snd.off .w,.snd:not(.off) .x{display:none}
@media (max-width:600px){.livesea>.wrap{padding-top:26px;padding-bottom:24px}.sframe{padding:8px 8px 12px}.stage{aspect-ratio:1/1}
.sframe:before,.sframe:after{width:84px;height:22px}.sframe:before{left:-26px;top:8px}.sframe:after{right:-26px;bottom:10px}
.snd{top:18px;right:18px;width:38px;height:38px}
.stage .say{font-size:16.5px;top:6%;max-width:88%}.stage .typing{left:64%;top:12%}}
@media (prefers-reduced-motion:reduce){.stage .art.on .mv,.stage.poke .art.on .mv,.stage.poke .art.on .me.mv,.stage[data-scene=sleep].poke .art.on .me.mv,.stage.mad .art.on .mv,.stage .typing i,.stage[data-fx=glow] .glow{animation:none}
.stage .art{transition:none}}
/* 投喂 (owner 11-21) and 送礼物 (11-22): a page of her journal under the photograph, two tabs of stickers to hand her */
.feed{position:relative;z-index:2;max-width:900px;margin:30px auto 0;padding:20px 26px 20px;background:var(--dots),var(--paper);color:var(--ink);
border-radius:3px;transform:rotate(.5deg);box-shadow:var(--lift)}
.feed:before{content:"";position:absolute;left:50%;top:-13px;width:124px;height:26px;margin-left:-62px;background:var(--stripe),var(--butter);opacity:.94;
clip-path:var(--zig);transform:rotate(-2deg);pointer-events:none}
.fhead{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;margin:0 2px 12px}
.ftabs{display:flex;flex-wrap:wrap;gap:2px 20px}
.ftabs button{padding:0 3px;border:0;background:none;font:400 23px/1.3 var(--hand);color:var(--inkfaint);cursor:pointer;-webkit-tap-highlight-color:transparent;
border-bottom:2px dashed rgba(39,48,92,.28)}
.ftabs button:hover{color:var(--inksoft)}
.ftabs button[aria-selected=true]{color:var(--ink);border-bottom-color:transparent;background:linear-gradient(transparent 58%,var(--butter) 58% 92%,transparent 92%)}
.feed[data-tab=gift] .belly{visibility:hidden}
.belly{display:inline-flex;align-items:center;gap:5px;font:400 16px/1 var(--hand);color:var(--inksoft);white-space:nowrap}
.belly em{font-style:normal;margin-right:4px}
.belly i{width:11px;height:15px;border:1.6px dashed var(--inkfaint);border-radius:50%;transform:rotate(18deg);transition:background-color .25s,border-color .25s}
.belly i:nth-of-type(even){transform:rotate(-14deg)}
.belly i.on{background:var(--white);border:1.6px solid var(--ink)}
.belly i.pop{animation:grain .4s ease-out}
@keyframes grain{40%{transform:scale(1.5) rotate(0)}}
.foods[hidden]{display:none}
.foods{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px 4px}
.foods button{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:6px 0 2px;border:0;border-radius:10px;background:none;color:var(--ink);
font:400 16px/1.25 var(--hand);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.foods button svg{width:66px;height:66px;padding:8px;box-sizing:border-box;background:var(--white);border-radius:var(--wob);
box-shadow:0 0 0 1.5px rgba(39,48,92,.14),2px 4px 0 rgba(3,8,30,.2);transform:rotate(-4deg);transition:transform .16s ease-out,opacity .16s}
.foods button:nth-child(even) svg{transform:rotate(3deg)}.foods button:nth-child(3n) svg{transform:rotate(-1.5deg)}
.foods button:hover svg{transform:translateY(-4px) rotate(0)}
.foods button:active svg{transform:scale(.93)}
.foods button.gone svg{opacity:0;transform:scale(.5);transition:none}
.foods button span{max-width:100%;overflow-wrap:break-word;text-align:center}
.cnt{position:absolute;top:0;left:calc(50% + 14px);min-width:26px;padding:2px 6px 3px;font:400 14px/1.1 var(--hand);font-style:normal;color:var(--ink);background:var(--butter);
border:1.6px solid var(--ink);border-radius:12px 14px 11px 15px;transform:rotate(8deg);white-space:nowrap;pointer-events:none}
.cnt:empty{display:none}.cnt.pop{animation:cnt .4s ease-out}
@keyframes cnt{40%{transform:rotate(-4deg) scale(1.35)}}
html:lang(en) .foods button{font-size:14px;line-height:1.2}
.morsel{position:fixed;z-index:60;margin:0;pointer-events:none;will-change:transform}
.morsel svg{display:block;width:100%;height:100%;padding:8px;box-sizing:border-box;background:var(--white);border-radius:var(--wob);
box-shadow:0 0 0 1.5px rgba(39,48,92,.14),3px 6px 0 rgba(3,8,30,.28)}
@media (max-width:760px){.foods{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 4px}}
@media (max-width:600px){.feed{margin-top:24px;padding:18px 12px 14px}.ftabs button{font-size:21px}.ftabs{gap:2px 16px}.foods button{font-size:15px}
.foods button svg{width:58px;height:58px;padding:7px}html:lang(en) .foods button{font-size:12.5px}html:lang(en) .ftabs button{font-size:17px}html:lang(en) .ftabs{gap:2px 12px}}
@media (prefers-reduced-motion:reduce){.foods button svg{transition:none}.belly i.pop,.cnt.pop{animation:none}}

/* 抽卡 (owner 11-23): the AI models she knows, printed as little cards. Three packs to tear open (one per big lab), an album to
   stick them in. Rarity: r3 blue, r4 purple, r5 yellow, r5 + lim orange. (s3..s12 are the grid's column spans, so not those.) */
.r3{--gc:#7ea3ee;--gbg:#e2ebff;--gdk:#3d6bd0}.r4{--gc:#a98bea;--gbg:#ebe2fd;--gdk:#7b55d6}
.r5{--gc:#eec23c;--gbg:#fdf1c4;--gdk:#b98708}.r5.lim{--gc:#f08a3c;--gbg:#ffdfbd;--gdk:#d5600f}
.gc{position:relative;display:flex;flex-direction:column;min-width:0;margin:0;padding:5px 5px 8px;border:0;border-radius:9px 12px 10px 13px/12px 9px 13px 10px;
background:var(--white);color:var(--ink);font:400 14.5px/1.25 var(--hand);text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent;
box-shadow:0 0 0 1.5px rgba(39,48,92,.14),2px 4px 0 rgba(3,8,30,.22);transition:transform .16s ease-out}
.gc .art{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:radial-gradient(ellipse 80% 62% at 50% 40%,#fff 42%,var(--gbg) 100%)}
.gc .art img{display:block;width:150%;max-width:none;height:auto;margin-left:-25%;mix-blend-mode:multiply}
.gc .art:after{content:"";position:absolute;inset:0;border-radius:6px;box-shadow:inset 0 0 0 2px var(--gc);pointer-events:none}
.gc .nm{display:block;margin-top:6px;padding:0 1px;overflow-wrap:anywhere}
.gshelf .gc .nm,.gup .gc .nm,.gdeal:not(.one) .gc .nm{display:flex;align-items:center;justify-content:center;min-height:2.5em}
.gc .st{display:block;margin-top:1px;font:700 11px/1.3 var(--sans);letter-spacing:.1em;color:var(--gdk)}
.gc.full .art{aspect-ratio:2/3}.gc.full .art img{width:100%;height:100%;margin:0;object-fit:cover}
.gc.r5.lim .art:before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;mix-blend-mode:soft-light;
background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.95) 46%,rgba(255,214,150,.5) 52%,transparent 66%) -120% 0/250% 100% no-repeat}
.gc.r5.lim:hover .art:before,.gflip.on .gc.r5.lim .art:before{animation:gfoil 1.5s ease-out .15s}
@keyframes gfoil{to{background-position:220% 0}}
button.gc:hover{transform:translateY(-4px) rotate(-1deg)}
.gc .cnt{left:auto;right:-6px;top:-8px}
.gc.no .art img{filter:grayscale(1);opacity:.6}.gc.no .nm{color:var(--inkfaint)}.gc.no .st{opacity:.55}

/* the three packs: a page of the journal with index tabs sticking out of the top */
.gpool{position:relative;margin-top:44px}
.gtabs{display:flex;gap:6px;padding:0 22px}
.gpool .gsnd{top:-2px;right:20px;width:38px;height:38px}
.gtabs button{position:relative;top:4px;padding:9px 20px 13px;border:0;border-radius:12px 14px 0 0/14px 12px 0 0;background:var(--kraft);color:var(--inksoft);
font:400 20px/1 var(--hand);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:top .15s}
.gtabs button:hover{top:1px}
.gtabs button[aria-selected=true]{top:0;padding-bottom:17px;background:var(--paper);color:var(--ink)}
.gtabs button[aria-selected=true] span{background:linear-gradient(transparent 58%,var(--butter) 58% 92%,transparent 92%)}
.gpage{position:relative;padding:34px 34px 26px;color:var(--ink);background:var(--grain),var(--dots),var(--paper);border-radius:3px 14px 16px 12px;box-shadow:var(--lift)}
.gban{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:40px;align-items:center}
.gban[hidden]{display:none}
.gban>.gc{transform:rotate(-2.5deg);padding:9px 9px 12px;font-size:20px}
.gban>.gc:hover{transform:rotate(-1deg) translateY(-4px)}
.gban>.gc .st{font-size:14px}
.gban>.gc:before{content:"";position:absolute;z-index:2;left:50%;top:-13px;width:112px;height:26px;margin-left:-56px;background:var(--stripe),var(--gc);opacity:.94;
clip-path:var(--zig);transform:rotate(3deg);pointer-events:none}
.ginfo .k{--tape:#f6b47c}
.ginfo h2{margin:14px 0 2px;font-size:46px;line-height:1.2;color:var(--ink);-webkit-text-stroke:.6px var(--ink)}
.ginfo .gt{margin:0;font:400 20px/1.5 var(--hand);color:var(--inksoft)}
.ginfo .gq{margin:14px 0 0;max-width:30em;font-size:15.5px;line-height:1.8;color:var(--ink)}
.gup{margin-top:24px}
.gup h3{margin:0 0 12px;font-size:19px;line-height:1.3;color:var(--inksoft)}
.gup div{display:grid;grid-template-columns:repeat(3,minmax(0,112px));gap:14px}
.gup .gc:nth-child(odd){transform:rotate(-2deg)}.gup .gc:nth-child(even){transform:rotate(1.5deg)}
.gup .gc:hover{transform:translateY(-4px) rotate(0)}
.gact{display:flex;flex-wrap:wrap;align-items:center;gap:16px 26px;margin-top:30px;padding-top:22px;border-top:2px dashed rgba(39,48,92,.22)}
.gact .btn{cursor:pointer;font-size:21px;padding:12px 26px 14px}
.gpity{margin:0;font-size:13.5px;line-height:1.75;color:var(--inksoft)}
.gpity b{font:400 19px/1 var(--hand);color:var(--ink)}
.gsay{display:flex;align-items:flex-start;gap:14px;margin-top:22px}
.gsay img{flex:none;width:52px;height:52px;border-radius:50%;border:2px solid var(--ink);transform:rotate(-5deg)}
.gsay p{position:relative;margin:2px 0 0;padding:9px 18px 11px;max-width:34em;min-height:46px;font:400 18px/1.55 var(--hand);color:var(--ink);background:var(--white);
border:2px solid var(--ink);border-radius:16px 22px 18px 24px/22px 16px 24px 18px}
.gsay p:before{content:"";position:absolute;left:-8px;top:15px;width:12px;height:12px;background:var(--white);border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg)}
.gsay p.pop{animation:gpop .3s ease-out}
@keyframes gpop{from{transform:scale(.94) rotate(-1deg)}}

/* the album: kraft pages, a row of pockets per rarity */
.galbum{position:relative;padding:8px 30px 30px;color:var(--ink);background:var(--grain),var(--kraft);border-radius:var(--wob);box-shadow:var(--lift)}
.galbum h3{display:flex;align-items:baseline;gap:12px;margin:26px 0 16px;font-size:24px;line-height:1.3;color:var(--ink)}
.galbum h3 i{flex:none;align-self:center;width:34px;height:14px;background:var(--stripe),var(--gc);clip-path:var(--zig);transform:rotate(-4deg)}
.galbum h3 small{font:400 13px/1.3 var(--sans);color:rgba(39,48,92,.72)}
.gshelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:18px 16px}
.gshelf .gc:nth-child(3n+1){transform:rotate(-1.6deg)}.gshelf .gc:nth-child(3n){transform:rotate(1.4deg)}
.gshelf .gc:hover{transform:translateY(-4px) rotate(0)}
.gh2 small{margin-left:4px;font:400 19px/1 var(--hand);color:var(--butter);-webkit-text-stroke:0}
.glog{display:flex;flex-wrap:wrap;gap:10px 10px;margin:0;padding:0;list-style:none}
.glog li{display:inline-flex;align-items:baseline;gap:8px;padding:5px 12px 6px;font:400 16px/1.3 var(--hand);color:var(--ink);background:var(--gbg);border:2px solid var(--gc);border-radius:10px 13px 11px 14px}
.glog li b{font-weight:400}.glog li i{font:700 12px/1 var(--sans);font-style:normal;color:var(--gdk)}
.glog li em{font:400 13px/1 var(--hand);font-style:normal;color:var(--red)}
.glog .none{padding:0;border:0;background:none;color:var(--soft)}
.grules{margin-top:22px;color:var(--soft);font-size:14px;line-height:1.9}
.grules summary{width:fit-content;cursor:pointer;font:400 18px/1.4 var(--hand);color:var(--cream);border-bottom:2px dashed rgba(248,241,224,.4)}
.grules ul{margin:12px 0 0;padding-left:1.3em;max-width:46em}
.gcredit{max-width:46em;font-size:13px;opacity:.85}
.greset{margin-top:22px;padding:6px 14px 7px;border:1.5px dashed rgba(248,241,224,.4);border-radius:8px;background:none;color:var(--faint);font:400 15px/1.2 var(--hand);cursor:pointer}
.greset:hover{color:#fff;border-color:rgba(248,241,224,.8)}

/* tearing a pack open: the whole window, the pack, then the cards face down */
dialog.gshow{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:20px 16px 26px;border:0;color:var(--cream);overflow:auto;
background:radial-gradient(700px 520px at 50% 38%,rgba(70,104,230,.34),transparent 72%),rgba(6,13,44,.97)}
dialog.gshow[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px}
.gpack{position:relative;flex:none;width:190px;height:262px;padding:0;border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;animation:gshake .75s ease-in-out}
.gpack .body{position:absolute;inset:26px 0 0;display:grid;place-items:center;background:var(--stripe),linear-gradient(160deg,#27459f,#0e2252 70%);
border:2px solid var(--cream);border-top:0;border-radius:0 0 12px 12px;
clip-path:polygon(0 0,100% 0,100% calc(100% - 14px),96% 100%,92% calc(100% - 9px),88% 100%,84% calc(100% - 9px),80% 100%,76% calc(100% - 9px),72% 100%,68% calc(100% - 9px),64% 100%,60% calc(100% - 9px),56% 100%,52% calc(100% - 9px),48% 100%,44% calc(100% - 9px),40% 100%,36% calc(100% - 9px),32% 100%,28% calc(100% - 9px),24% 100%,20% calc(100% - 9px),16% 100%,12% calc(100% - 9px),8% 100%,4% calc(100% - 9px),0 100%)}
.gpack .body svg{width:104px;height:auto;margin-top:-18px}
.gpack .body svg path{fill:none;stroke:var(--cream);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.gpack .body svg circle{fill:var(--cream)}
.gpack .body span{position:absolute;left:0;right:0;bottom:52px;font:400 21px/1 var(--hand);color:var(--ink);text-align:center}
.gpack .body span b{display:inline-block;padding:5px 16px 7px;font-weight:400;background:var(--stripe),var(--butter);clip-path:var(--zig);transform:rotate(-3deg)}
.gpack .top{position:absolute;z-index:2;left:0;right:0;top:0;height:28px;background:repeating-linear-gradient(90deg,#27459f 0 6px,#1b3684 6px 12px);border:2px solid var(--cream);border-radius:6px 6px 0 0}
.gpack .ray{position:absolute;z-index:1;left:50%;top:26px;width:520px;height:520px;margin:-260px 0 0 -260px;border-radius:50%;opacity:0;pointer-events:none;
background:radial-gradient(circle,var(--gc) 0,color-mix(in srgb,var(--gc) 45%,transparent) 26%,transparent 62%)}
.gpack.open .top{animation:gtear .45s ease-in forwards}.gpack.open .ray{animation:gray .7s ease-out forwards}.gpack.open .body{animation:gsink .5s ease-in .25s forwards}
@keyframes gshake{0%{transform:scale(.6) rotate(0);opacity:0}30%{transform:scale(1) rotate(-5deg);opacity:1}48%{transform:rotate(5deg)}66%{transform:rotate(-4deg)}84%{transform:rotate(3deg)}}
@keyframes gtear{to{transform:translate(90px,-90px) rotate(48deg);opacity:0}}
@keyframes gray{40%{opacity:1}to{opacity:.85;transform:scale(1.5)}}
@keyframes gsink{to{transform:translateY(60px);opacity:0}}
.gshow[data-ph=pack] .gdeal,.gshow[data-ph=pack] .gbar,.gshow[data-ph=pack] .gline,.gshow[data-ph=deal] .gpack{display:none}
.gdeal{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 14px;width:100%;max-width:850px}
.gdeal.one{max-width:none}
.gflip{--w:150px;position:relative;flex:none;width:var(--w);padding:0;border:0;background:none;perspective:900px;cursor:pointer;-webkit-tap-highlight-color:transparent;
animation:gdeal .4s cubic-bezier(.2,1.2,.4,1) both;animation-delay:calc(var(--i)*55ms)}
.gdeal.one .gflip{--w:min(300px,72vw,44vh)}
.gflip .in{display:block;position:relative;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.3,1.25,.5,1)}
.gflip.on .in{transform:rotateY(180deg)}
.gflip .bk,.gflip .gc{-webkit-backface-visibility:hidden;backface-visibility:hidden}
.gflip .bk{position:absolute;inset:0;display:grid;place-items:center;border-radius:9px 12px 10px 13px/12px 9px 13px 10px;border:2px solid var(--cream);
background:var(--stripe),linear-gradient(160deg,#27459f,#0e2252 70%);box-shadow:2px 4px 0 rgba(3,8,30,.5)}
.gflip .bk:before{content:"";position:absolute;inset:7px;border:1.5px dashed rgba(248,241,224,.5);border-radius:6px}
.gflip .bk svg{width:52%;height:auto}.gflip .bk svg path{fill:none;stroke:var(--cream);stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round}.gflip .bk svg circle{fill:var(--cream)}
.gflip:not(.on):hover .in{transform:rotateY(14deg)}
.gflip .gc{transform:rotateY(180deg);cursor:inherit;box-shadow:0 0 0 1.5px rgba(39,48,92,.14),0 0 0 0 var(--gc)}
.gflip.on .gc{animation:gglow .9s ease-out .3s both}
.gflip.on.r5 .gc{animation:gglow5 1.6s ease-out .3s both}
@keyframes gglow{30%{box-shadow:0 0 0 1.5px rgba(39,48,92,.14),0 0 22px 6px var(--gc)}to{box-shadow:0 0 0 1.5px rgba(39,48,92,.14),0 0 10px 1px var(--gc)}}
@keyframes gglow5{25%{box-shadow:0 0 0 1.5px rgba(39,48,92,.14),0 0 50px 18px var(--gc)}to{box-shadow:0 0 0 1.5px rgba(39,48,92,.14),0 0 22px 5px var(--gc)}}
@keyframes gdeal{from{opacity:0;transform:translateY(46px) rotate(calc((var(--i) - 4.5)*3deg))}}
.gflip .new{position:absolute;z-index:3;left:-7px;top:-9px;padding:2px 9px 3px;font:400 14px/1.2 var(--hand);font-style:normal;color:var(--ink);background:var(--butter);border:1.6px solid var(--ink);
border-radius:12px 14px 11px 15px;transform:rotate(-9deg) rotateY(180deg);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.gsp{position:fixed;z-index:9;width:14px;height:14px;margin:-7px 0 0 -7px;pointer-events:none;background:var(--gc);
clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.gline{margin:0;min-height:1.6em;max-width:30em;font:400 20px/1.6 var(--hand);color:var(--cream);text-align:center}
.gbar{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.gbar .btn{cursor:pointer}.gbar [hidden]{display:none}

/* one card, up close */
dialog.gdet{width:min(780px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:30px 30px 28px;border:0;color:var(--ink);overflow:auto;
background:var(--grain),var(--dots),var(--paper);border-radius:var(--wob);box-shadow:0 30px 60px -20px #000}
dialog.gdet::backdrop{background:rgba(4,9,30,.74)}
.gdet .in{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:32px;align-items:center}
.gdet .gc{cursor:default;transform:rotate(-2deg);padding:9px}
.gdet .k{--tape:var(--gc)}
.gdet h2{margin:14px 0 2px;font-size:38px;line-height:1.25;color:var(--ink);-webkit-text-stroke:.5px var(--ink);overflow-wrap:anywhere}
.gdet .gt{margin:0;font:400 20px/1.5 var(--hand);color:var(--inksoft)}
.gdet .gq{margin:16px 0 0;font-size:15.5px;line-height:1.8}
.gdet dl{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;margin:18px 0 0;font-size:13.5px;line-height:1.7;color:var(--inksoft)}
.gdet dt{color:var(--inkfaint)}.gdet dd{margin:0;color:var(--ink)}
.gdet .x{position:absolute;right:14px;top:10px;width:38px;height:38px;border:0;background:none;color:var(--inksoft);font:400 30px/1 var(--hand);cursor:pointer}
.gdet .x:hover{color:var(--ink);transform:rotate(8deg)}

@media (max-width:860px){.gban{grid-template-columns:minmax(0,230px) minmax(0,1fr);gap:28px}.ginfo h2{font-size:36px}}
@media (max-width:680px){.gflip{--w:calc((100vw - 32px - 3*10px)/4)}.gdeal{gap:14px 10px}.gflip .gc{padding:3px 3px 5px;font-size:11.5px}.gflip .gc .nm{margin-top:4px}
.gflip .gc .st{font-size:8.5px;letter-spacing:.04em}.gdeal.one .gflip .gc{padding:6px 6px 9px;font-size:17px}.gdeal.one .gflip .gc .st{font-size:12px}
dialog.gshow[open]{gap:18px}}
@media (max-width:600px){.gpool{margin-top:30px}.gtabs{padding:0 8px;gap:4px}.gtabs button{padding:8px 10px 12px;font-size:16.5px;white-space:nowrap}.gtabs button[aria-selected=true]{padding-bottom:16px}
.gpage{padding:26px 16px 20px}.gban{grid-template-columns:minmax(0,126px) minmax(0,1fr);gap:0 18px;align-items:start}.ginfo{display:contents}
.gban>.gc{grid-row:1/span 4;padding:5px 5px 7px;font-size:13.5px}.gban>.gc .st{font-size:10px}.gban>.gc:before{width:66px;height:18px;margin-left:-33px;top:-9px}
.ginfo .k{justify-self:start;margin-top:8px}.ginfo h2{margin:10px 0 0;font-size:27px}.ginfo .gt{font-size:17px}.ginfo .gq,.ginfo .gup{grid-column:1/-1}.ginfo .gq{margin-top:16px}.gup{margin-top:18px}.gup div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gup .gc{font-size:13px}
.gact{gap:14px}.gact .btn{flex:1 1 0;justify-content:center;padding:12px 10px 14px;font-size:20px;white-space:nowrap}.gpity{flex-basis:100%}
.gsay p{font-size:16.5px}.galbum{padding:4px 14px 20px}.gshelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.gshelf .gc{font-size:13px}
dialog.gdet{padding:26px 18px 22px}.gdet .in{grid-template-columns:1fr;gap:20px}.gdet .gc{width:min(230px,66%);margin:0 auto}.gdet h2{font-size:30px}}
html:lang(en) .gc{font-size:13.5px}html:lang(en) .gban>.gc{font-size:19px}html:lang(en) .gact .btn{font-size:19px}
@media (max-width:600px){html:lang(en) .gshelf .gc,html:lang(en) .gup .gc{font-size:12px}html:lang(en) .gtabs button{font-size:15.5px;padding-left:8px;padding-right:8px}
html:lang(en) .gact .btn{font-size:17px}}
@media (prefers-reduced-motion:reduce){.gc,.gtabs button,.gflip .in{transition:none}.gflip,.gflip.on .gc,.gflip.on.r5 .gc,.gpack,.gsay p.pop,.gc.r5.lim:hover .art:before,.gflip.on .gc.r5.lim .art:before{animation:none}}

/* 对战 (owner 11-24): a run with the gacha cards against her. One page of the journal with five index tabs (the steps) on top;
   the cards are the gacha page's .gc, the speech bubble its .gsay. (s3..s12 are the grid's column spans, so not those.)
   Round 5: every step fits one window (no scrolling, nothing inside scrolls): the header in one lower row on this page, the
   title in the row of the tabs, each step laid out across the width, and the script's fit() shrinks the pictures (--k) when
   a window is short. */
html:has(.duel) header.top .bar{flex-wrap:nowrap;height:54px;padding-top:0;gap:12px}
html:has(.duel) header nav{order:0;flex:0 1 auto;min-width:0;margin:0 0 0 auto;padding:0;overflow-x:auto;scrollbar-width:none}
html:has(.duel) header nav::-webkit-scrollbar{display:none}
html:has(.duel) .langs{order:0;flex:none;margin-left:4px}
html:has(.duel) .logo{flex:none}
html:has(.duel) main.wrap{padding-top:10px}
@media (max-width:1300px){html:has(.duel) .logo span{display:none}}
.duel{--k:1;position:relative}
.dutop{display:flex;align-items:flex-end;gap:18px;min-width:0}
.duph{flex:none;margin:0 0 9px 2px;font-size:30px;line-height:1;color:#fff;-webkit-text-stroke:.5px #fff}
.dusteps{display:flex;gap:6px;min-width:0;margin:0;padding:0;list-style:none;counter-reset:du}
.dusteps li{position:relative;top:4px;padding:8px 15px 11px;border-radius:12px 14px 0 0/14px 12px 0 0;background:var(--kraft);color:var(--inksoft);
font:400 17px/1 var(--hand);counter-increment:du;white-space:nowrap}
.dusteps li:before{content:counter(du);margin-right:6px;font:700 11px/1 var(--sans);color:var(--inkfaint)}
.dusteps li.done{color:var(--ink)}.dusteps li.done:before{content:"✓";color:#1d7a55}
.dusteps li.on{top:0;padding-bottom:15px;background:var(--paper);color:var(--ink)}
.dupage{position:relative;padding:14px 22px 14px;color:var(--ink);background:var(--grain),var(--dots),var(--paper);border-radius:3px 14px 16px 12px;box-shadow:var(--lift)}
.dutools{position:absolute;z-index:3;top:10px;right:12px;display:flex;gap:6px}
.duel .dutools .snd{position:static;width:34px;height:34px}
.durb span{font:400 22px/1 var(--hand)}
.duel button:focus-visible,.duel select:focus-visible,.durules button:focus-visible{outline:2px dashed var(--pen);outline-offset:3px}
.duhd{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;min-height:36px;margin:0 0 6px;padding-right:80px}
.duh{margin:0;font-size:26px;line-height:1.25;color:var(--ink);-webkit-text-stroke:.4px var(--ink)}
.duh:focus{outline:none}
/* the harness logos (LobeHub Icons, inline): brand colours where the set has them, otherwise ink */
.dulogo{display:inline-block;flex:none;width:1.1em;height:1.1em;color:var(--ink)}
.duhn{display:inline-flex;align-items:center;gap:.32em;vertical-align:bottom;white-space:nowrap}
/* card names break only at spaces and hyphens ("DeepSeek", not "DeepSee k") */
.duel .gc .nm,.duinfo .gc .nm,.du5 .gc .nm,.dumc .nm,.dugpic .gc .nm{overflow-wrap:normal;word-break:normal}
.duh b{font-weight:400;padding:0 4px;background:linear-gradient(transparent 60%,var(--butter) 60% 92%,transparent 92%)}
.duh small{font-size:15px;color:var(--inksoft);-webkit-text-stroke:0}
.dulead{margin:0 0 10px;font-size:14px;line-height:1.65;color:var(--inksoft)}
.duel .btn{cursor:pointer}
.duel .btn[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:3px 4px 0 rgba(3,8,30,.3)}
.dubtns{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0}
.dubtns .btn{font-size:18px;padding:8px 16px 10px}
.dusay{align-items:center;gap:10px;margin:0}
.dusay img{width:40px;height:40px}
.dusay p{min-height:0;margin:0;padding:6px 14px 8px;font-size:16.5px;line-height:1.45}
.dusay p:before{top:calc(50% - 6px)}
/* a small card for rows and lists: a square picture, the name and tier, a line (预计) under it */
.dumc{position:relative;display:grid;grid-template-columns:calc(38px*var(--k)) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:7px;align-items:start;min-width:0;
margin:0;padding:3px 6px 4px 3px;border:1.5px solid var(--gc);border-radius:8px 10px 9px 11px/10px 8px 11px 9px;background:var(--gbg);color:var(--ink);font:inherit;text-align:left;
-webkit-tap-highlight-color:transparent}
button.dumc{cursor:pointer}button.dumc:hover:not([disabled]){background:var(--white)}
.dumc .art{grid-row:1/span 2;display:block;aspect-ratio:1;overflow:hidden;border-radius:5px;background:radial-gradient(ellipse 80% 62% at 50% 40%,#fff 42%,var(--gbg) 100%)}
.dumc .art img{display:block;width:140%;max-width:none;height:auto;margin:-6% 0 0 -20%;mix-blend-mode:multiply}
.dumc .nm{display:block;font:600 12px/1.25 var(--sans);color:var(--ink)}
.dumc .dut{font:700 10px/1 var(--sans);font-style:normal;color:var(--gdk);white-space:nowrap}
.dug{display:block;font-size:11px;line-height:1.3;color:var(--inksoft)}.dug b{font:400 15px/1 var(--hand);color:var(--ink)}
.dumc .dug{align-self:end}
.dumc[aria-pressed=true]{background:var(--white);box-shadow:0 0 0 2px var(--pen),2px 3px 0 rgba(3,8,30,.18)}
.dumc[disabled]{cursor:default}.dumc[disabled][aria-pressed=false]{opacity:.5}
/* 1 three harnesses, index cards */
.dumode{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0}
.dumode button{padding:4px 13px 5px;border:2px dashed rgba(39,48,92,.4);border-radius:12px 14px 12px 16px;background:var(--white);color:var(--ink);font:400 17px/1.2 var(--hand);cursor:pointer}
.dumode [aria-checked=true]{border-style:solid;border-color:var(--ink);background:var(--note);box-shadow:2px 3px 0 rgba(3,8,30,.2)}
.dumode span,.dulock{font-size:12.5px;color:var(--inksoft)}.dulock{margin:0}
.duhtabs{display:none}
.duharn{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.duhc{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px 16px 14px;background:var(--white);border:2px solid var(--ink);
border-radius:var(--wob);box-shadow:3px 4px 0 rgba(3,8,30,.22)}
.duhc:nth-child(1){transform:rotate(-1deg)}.duhc:nth-child(2){transform:rotate(.7deg)}.duhc:nth-child(3){transform:rotate(-.4deg)}
.duhc .k{--tape:var(--mint)}
.duhc h3{margin:2px 0 0;font-size:25px;line-height:1.2;color:var(--ink)}
.duhc h3 .duhn{gap:9px;white-space:normal}.duhc h3 .dulogo{width:28px;height:28px}
.duhd2{margin:0;font-size:13.5px;line-height:1.6;color:var(--inksoft)}
.duabw{display:flex;align-items:flex-start;gap:10px;width:100%;flex:1}
.duab{flex:1;margin:0;padding:6px 10px 7px;font-size:12.5px;line-height:1.55;color:var(--inksoft);background:rgba(159,217,197,.22);border-left:4px solid var(--mint);border-radius:0 8px 8px 0}
.duab b{display:block;font:400 16px/1.3 var(--hand);color:var(--ink)}
.dustart{flex:none;width:calc(66px*var(--k))}.dustart .gc{width:100%;padding:3px 3px 5px;font-size:10.5px;cursor:default;transform:rotate(-2deg)}.dustart .gc .st{font-size:8px;letter-spacing:0}
.duhc .btn{margin-top:2px;font-size:18px;padding:8px 18px 10px}
.dufoot{display:flex;align-items:flex-end;gap:20px;margin-top:14px}.dufoot .dusayat{flex:1;min-width:0}
.dumarks{flex:none;margin:0}.dumarks p{margin:0 0 5px;font-size:12.5px;color:var(--inksoft)}
.dumarks ul{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none}
.dumarks li{display:grid;place-items:center;width:30px;height:30px;border:2px dashed rgba(39,48,92,.3);border-radius:10px 12px 9px 13px;background:rgba(255,253,246,.5)}
.dumarks li .dulogo{width:18px;height:18px;opacity:.3;filter:grayscale(1)}
.dumarks li.p{border-style:solid;border-color:rgba(39,48,92,.5)}.dumarks li.p .dulogo{opacity:.65}
.dumarks li.w{border:2px solid var(--ink);background:var(--butter)}.dumarks li.w .dulogo{opacity:1;filter:none}
/* 2 pulling: what the pulls are for on the left, the cards pulled (one line per tier) on the right */
.duel[data-ph=pull] .dumain{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:24px}
.dupl{display:flex;flex-direction:column;gap:8px;min-width:0}.dupr{min-width:0;padding-top:4px}
.dupl .duhd{margin:0;padding-right:0}
.duhar{margin:0;font-size:13px;line-height:1.55;color:var(--inksoft)}.duhar b{color:var(--ink)}
.ducarry{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;padding:5px 10px;font-size:13px;line-height:1.5;color:var(--ink);background:var(--note);border-radius:8px 12px 9px 13px}
.duchips{display:inline-flex;flex-wrap:wrap;gap:5px}
.duchip{padding:0 8px 1px;font:400 14.5px/1.4 var(--hand);background:var(--white);border:1.5px solid var(--ink);border-radius:10px}.duchip b{font:700 11px/1 var(--sans);color:var(--pen)}
.dupfc{margin:0}.dupfc>span{display:block;margin:0 0 3px;font-size:12.5px;color:var(--inksoft)}.dupfc .dustrip{margin:0}
.dufc{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink)}.dufc b{margin:0 3px;font:400 22px/1 var(--hand);color:#141b45}
.dupacks{display:flex;flex-wrap:wrap;gap:8px}
.dupacks button{display:grid;grid-template-columns:calc(32px*var(--k)) auto;column-gap:9px;align-items:center;padding:4px 12px 4px 4px;border:2px dashed rgba(39,48,92,.4);
border-radius:12px 14px 12px 16px;background:var(--white);color:var(--ink);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dupacks img{grid-row:1/span 2;width:calc(32px*var(--k));height:calc(43px*var(--k));object-fit:cover;object-position:50% 18%;border-radius:5px}
.dupacks span{font:400 18px/1.1 var(--hand)}.dupacks small{font-size:11px;line-height:1.3;color:var(--inksoft)}
.dupacks [aria-checked=true]{border:2px solid var(--ink);background:var(--note);box-shadow:3px 4px 0 rgba(3,8,30,.22);transform:rotate(-1deg)}
.dupity{margin:0;font-size:12.5px;line-height:1.55;color:var(--inksoft)}
.dugot{color:var(--ink);font-weight:600}
.dupr .dusayat{margin-top:12px}.dusayat:empty{display:none}
.duinvs{margin:0;padding:0}
.duinvh{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 8px;padding-right:84px;font-size:21px;line-height:1.3}
.ducnt{display:inline-flex;flex-wrap:wrap;gap:4px 12px;font:600 12px/1.2 var(--sans);color:var(--inksoft)}
.ducnt>span{display:inline-flex;align-items:center;gap:4px}
.ducnt i{flex:none;width:18px;height:9px;background:var(--stripe),var(--gc);clip-path:var(--zig);transform:rotate(-4deg)}
.ducnt small{display:inline-block;font:700 12.5px/1 var(--sans);color:var(--ink)}
.dutgs{display:flex;flex-direction:column;gap:6px}
.dutg{display:flex;align-items:flex-start;gap:8px}
.dutgn{flex:none;width:54px;padding-top:4px;font:700 11px/1.2 var(--sans);letter-spacing:.04em;color:var(--inkfaint)}.dutgn i{font-style:normal}
.dutasks .dutgn{width:74px;padding-top:5px;color:var(--inksoft)}.dutasks .dutgn i{display:block;color:var(--pen)}.dutasks .dunone{padding:3px 0}
.duinv{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none}
.duinv li{display:inline-flex;align-items:baseline;gap:5px;padding:1px 7px 2px;font:400 14.5px/1.3 var(--hand);background:var(--gbg);border:1.5px solid var(--gc);border-radius:8px 11px 9px 12px}
.duinv b{font-weight:400}.duinv i{font:700 10.5px/1 var(--sans);font-style:normal;color:var(--gdk)}
.duinv li.fresh{animation:gpop .35s ease-out}
.dunone{margin:0;color:var(--inksoft)}
.duinv li.bump,.ducnt small.bump{animation:dubump .28s ease-out}
@keyframes dubump{40%{transform:scale(1.14)}}
/* a batch being pulled: a small pack in place of the buttons, cards flying out of it into the counts */
.dustage{display:flex;align-items:center;gap:18px;min-height:calc(78px*var(--k));margin:0}
.dupk{position:relative;flex:none;width:calc(56px*var(--k));height:calc(76px*var(--k));animation:dushake .38s ease-in-out}
.dupk .body{position:absolute;inset:11px 0 0;display:grid;place-items:center;background:var(--stripe),linear-gradient(160deg,#27459f,#0e2252 70%);
border:2px solid var(--ink);border-top:0;border-radius:0 0 8px 8px;box-shadow:2px 3px 0 rgba(3,8,30,.25)}
.dupk .body svg{width:62%;height:auto}
.dupk .body svg path{fill:none;stroke:var(--cream);stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round}.dupk .body svg circle{fill:var(--cream)}
.dupk .top{position:absolute;z-index:2;left:0;right:0;top:0;height:13px;background:repeating-linear-gradient(90deg,#27459f 0 4px,#1b3684 4px 8px);border:2px solid var(--ink);border-radius:4px 4px 0 0}
.dupk .ray{position:absolute;left:50%;top:14px;width:200px;height:200px;margin:-100px 0 0 -100px;border-radius:50%;opacity:0;pointer-events:none;
background:radial-gradient(circle,var(--gc) 0,color-mix(in srgb,var(--gc) 45%,transparent) 26%,transparent 62%)}
.dupk.open .top{animation:dutear .32s ease-in forwards}.dupk.open .ray{animation:gray .6s ease-out forwards}
@keyframes dushake{0%{transform:scale(.6);opacity:0}35%{transform:scale(1) rotate(-6deg);opacity:1}60%{transform:rotate(5deg)}85%{transform:rotate(-3deg)}}
@keyframes dutear{to{transform:translate(44px,-40px) rotate(42deg);opacity:0}}
.duskip{margin:0;font:400 16px/1.4 var(--hand);color:var(--inksoft)}
.dupulling .dupacks{pointer-events:none;opacity:.7}
.dufly{position:fixed;z-index:7;left:0;top:0;width:18px;height:25px;margin:-12px 0 0 -9px;border-radius:3px 4px 3px 4px;background:var(--gbg);border:2px solid var(--gdk);
box-shadow:1px 2px 0 rgba(3,8,30,.25);pointer-events:none}
.dufly.r5{background:var(--gc)}
/* a 5 star stops the stream: the card up close, a burst (the gacha page's sparks), a limited one with turning rays */
.du5{position:fixed;z-index:8;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;pointer-events:none;
background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--gc) 30%,transparent),rgba(6,13,44,.74) 62%);animation:du5in .22s ease-out both;transition:opacity .22s}
.du5.out{opacity:0}
.du5 .gc{width:min(220px,56vw);padding:8px 8px 11px;font-size:19px;animation:du5card .5s cubic-bezier(.2,1.3,.4,1) both,gglow5 1.6s ease-out .2s both}
.du5 .gc .st{font-size:13px}
.du5 .k{--tape:var(--gc);position:relative;z-index:1;padding:5px 18px 6px;font:400 21px/1.2 var(--hand);color:var(--ink)}
.du5 .ray{position:absolute;left:50%;top:50%;width:720px;height:720px;margin:-360px 0 0 -360px;border-radius:50%;opacity:0;
background:radial-gradient(circle,var(--gc) 0,color-mix(in srgb,var(--gc) 40%,transparent) 24%,transparent 60%);animation:gray .8s ease-out forwards}
.du5.lim .ray{background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--gc) 55%,transparent) 0 7deg,transparent 7deg 20deg);
-webkit-mask:radial-gradient(circle,#000 0,transparent 62%);mask:radial-gradient(circle,#000 0,transparent 62%);animation:gray .8s ease-out forwards,duspin 6s linear infinite}
.du5.lim .gc{animation:du5card .55s cubic-bezier(.2,1.4,.4,1) both,gglow5 1.6s ease-out .2s both,dujolt .5s ease-in-out .5s}
.du5 .gc.r5.lim .art:before{animation:gfoil 1.4s ease-out .35s}
@keyframes du5in{from{opacity:0}}
@keyframes du5card{from{transform:scale(.3) rotate(-14deg);opacity:0}}
@keyframes dujolt{25%{transform:rotate(-3deg) scale(1.04)}60%{transform:rotate(2.5deg)}}
@keyframes duspin{to{rotate:360deg}}
/* 3 the hand: the cards pulled on the left (small cards, the chosen six marked), the buttons, the forecast and her six on the right */
.duel[data-ph=hand] .dumain{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:22px}
.duhl{min-width:0}.duhr{display:flex;flex-direction:column;gap:6px;min-width:0}.dusb .dunm{font-style:normal}
.duhl .duhd{padding-right:0;flex-wrap:nowrap;gap:18px}.duhl .duhd .dusayat{flex:1;min-width:0}.duhl .duhd .dusay p{padding:4px 12px 6px;font-size:15px;line-height:1.4}
.dubyt{margin:8px 0 5px;font-size:12.5px;line-height:1.5;color:var(--inksoft)}
.dutasks{display:flex;flex-direction:column;gap:6px}
.duhands{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.dutc{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:0;padding:2px 8px 2px 2px;border:1.5px dashed var(--gc);border-radius:8px 10px 9px 11px;
background:rgba(255,253,246,.65);color:var(--ink);font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dutc .art{flex:none;width:calc(26px*var(--k));height:calc(26px*var(--k));overflow:hidden;border-radius:4px;background:radial-gradient(ellipse 80% 62% at 50% 40%,#fff 42%,var(--gbg) 100%)}
.dutc .art img{display:block;width:140%;max-width:none;height:auto;margin:-6% 0 0 -20%;mix-blend-mode:multiply;opacity:.6}
.dutc .nm{font:600 12px/1.25 var(--sans)}.dutc .dut{font:700 9.5px/1 var(--sans);font-style:normal;color:var(--gdk)}.dutc b{font:400 16px/1 var(--hand)}
.dutc:hover{background:var(--white)}
.dutc[aria-pressed=true]{border-style:solid;background:var(--gbg);box-shadow:0 0 0 2px var(--pen)}.dutc[aria-pressed=true] .art img{opacity:1}
.dutc[aria-pressed=true] .nm:before{content:"✓ ";color:var(--pen)}
.dus{display:none}
.duhandb{gap:8px}.dupicked{display:flex;align-items:center;flex-basis:100%;min-height:34px;padding-right:84px;font:400 18px/1 var(--hand);color:var(--red)}.dupicked.ok{color:#1d7a55}
.duhr .dufc{margin:0}
.dutokl{font-size:13px;color:var(--inksoft)}.dutokl b{font:400 19px/1 var(--hand);color:var(--ink)}
.dustrip{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none}
.dustrip li{display:inline-flex;align-items:baseline;gap:5px;padding:1px 9px 2px;font:400 15px/1.3 var(--hand);background:var(--white);border:1.5px dashed rgba(39,48,92,.4);border-radius:9px 11px 8px 12px}
.dustrip li span{font:700 10px/1 var(--sans);color:var(--inkfaint)}
.dustrip li.on{border:2px solid var(--ink);background:var(--butter)}.dustrip li.w{background:var(--mint);border-style:solid}.dustrip li.l{background:var(--pink);border-style:solid}
.dunpc{margin:0;padding:10px 12px 12px;background:var(--grain),var(--kraft);border-radius:var(--wob);box-shadow:2px 3px 0 rgba(3,8,30,.2)}
.dunph{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px}.dunph .dubw{margin-top:4px}
.dunpc h3{margin:0;font-size:19px;line-height:1.3}
.dunpc p{margin:3px 0 0;font-size:12.5px;line-height:1.55;color:#4a3f2a}
.dubowl{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-weight:600}
.dubw{display:inline-flex;gap:4px;margin-top:6px}.dubw i{position:relative;width:18px;height:10px;border:2px solid var(--ink);border-top-width:0;border-radius:0 0 9px 9px;background:rgba(255,253,246,.25)}
.dubw i:before{content:"";position:absolute;left:-3px;right:-3px;top:0;border-top:2px solid var(--ink)}
.dubw i.f{background:var(--white)}.dubw i.f:after{content:"";position:absolute;left:-1px;right:-1px;top:-6px;height:6px;border-radius:50% 50% 0 0/100% 100% 0 0;background:var(--white);border:2px solid var(--ink);border-bottom:0}
.dunpcs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}.dunpc .dunpcs{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.duherp{font-size:12.5px;color:#4a3f2a}
.dunpc .dumc{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 5px;padding:2px 6px;background:var(--white)}.dunpc .dumc .art{display:none}
.dusb .ducol{display:none}
/* 4 a round: your side on the left, the two cards in the middle, her side on the right */
.duel[data-ph=play] .duhd{justify-content:space-between}
.duel[data-ph=play] .duh{font-size:24px}
.dusb{display:flex;align-items:center;gap:10px;margin:0;font:400 17px/1 var(--hand)}
.dusb b{font-weight:400;font-size:28px}
.dusb ol{display:flex;gap:5px;margin:0 4px;padding:0;list-style:none}
.dusb li{width:13px;height:13px;border:2px solid var(--ink);border-radius:50%}.dusb li.w{background:var(--mint)}.dusb li.l{background:var(--pink)}
/* a round on a computer: the score and the five tasks share the row under the title */
@media (min-width:601px){.duel[data-ph=play] .dumain{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}.duel[data-ph=play] .duhd{display:contents}
.duel[data-ph=play] .duh{flex-basis:100%;padding-right:84px}.duel[data-ph=play] .dutable{flex-basis:100%;margin-top:4px}.dumid .duactp{margin-top:8px}}
.dutable{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.22fr) minmax(0,1fr);gap:20px;align-items:start;margin-top:10px}
.dumine,.duhers{display:flex;flex-direction:column;gap:6px;min-width:0}
.dumid{display:flex;flex-direction:column;gap:8px;min-width:0}
.duhh{margin:0;font-size:18px;line-height:1.3}
.duhandrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.duhers .dunpcs{margin:0}
.duherhab{margin:0;font-size:12.5px;line-height:1.5;color:var(--inksoft)}
.duhers .dusayat{margin-top:4px}.duhers .dusay p{font-size:15.5px}
.duarena{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:start;margin:0}
.duside{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.dulab{font:400 17px/1 var(--hand);color:var(--inksoft)}
.duarena .gflip{--w:min(calc(150px*var(--k)),100%);animation:none;cursor:default}
.duarena .gflip .gc{font-size:14px}
.duempty{display:grid;place-items:center;width:min(calc(150px*var(--k)),100%);aspect-ratio:3/4.4;padding:8px;border:2px dashed rgba(39,48,92,.45);border-radius:10px;font:400 16px/1.3 var(--hand);color:var(--inksoft);text-align:center}
.dusayat.ph{display:none}
.duvs{align-self:center;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:170px;text-align:center}
.duvs>span{font:400 30px/1 var(--hand);color:var(--red);transform:rotate(-8deg)}
.duvs .btn{justify-content:center;padding:8px 14px 10px;font-size:17px}
.dusc,.dumath,.duverd{opacity:0;transition:opacity .35s}
.dushow .dusc,.dushow .dumath,.dushow .duverd{opacity:1}
.dusc{margin:0;font:400 36px/1 var(--hand)}.dusc b{font-weight:400}
.duside.win .dusc b{padding:0 6px;background:linear-gradient(transparent 55%,var(--butter) 55% 92%,transparent 92%)}
.dumath{margin:0;font-size:12px;line-height:1.6;color:var(--inksoft);text-align:center;overflow-wrap:anywhere}
.dumath .dulogo{width:1.3em;height:1.3em}
.dumath .duhn{white-space:nowrap}.dupow{text-decoration:underline dotted;text-underline-offset:3px}
.dum-s{display:none}
.duverd{margin:0;font:400 19px/1.3 var(--hand)}.duverd.w{color:#1d7a55}.duverd.l{color:var(--red)}
.duest{margin:0;font-size:12.5px;line-height:1.5;color:var(--inksoft);text-align:center}.duest b{font:400 20px/1 var(--hand);color:var(--ink)}
.dusel{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:2px 0 0}
.dutr{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--inksoft)}
.dutr select{min-width:0;padding:2px 6px;font:600 13.5px/1.3 var(--sans);color:var(--ink);background:var(--white);border:1.5px solid var(--ink);border-radius:6px}
.dusk{display:flex;flex-direction:column;gap:1px;min-width:0;padding:5px 9px 6px;font-size:12px;line-height:1.45;color:var(--inksoft);text-align:left;
background:rgba(255,253,246,.9);border:1.5px solid #1d7a55;border-radius:8px 10px 9px 11px}
.dusk b{font:400 15px/1.3 var(--hand);color:var(--ink)}
.dusk .s{font-weight:600;color:#1d7a55}.dusk.on .s:before{content:"✓ "}
.dusk.idle{border-style:dashed;border-color:rgba(39,48,92,.4)}.dusk.idle .s{color:var(--inksoft)}
.dusk.off{border-style:dashed;border-color:rgba(200,70,60,.55);background:rgba(255,253,246,.55)}.dusk.off b{color:var(--inksoft);text-decoration:line-through;text-decoration-thickness:1.5px}
.dusk.off .s{color:var(--red)}.dusk.off .s:before{content:"✕ "}
.duacts{display:flex;flex-wrap:wrap;align-items:center;gap:5px 6px;margin:2px 0 0}
.duact{display:inline-flex;align-items:baseline;gap:5px;padding:2px 8px 3px;border:2px solid var(--ink);border-radius:10px 13px 11px 14px;background:var(--white);color:var(--ink);font:400 15px/1.2 var(--hand);cursor:pointer;box-shadow:2px 3px 0 rgba(3,8,30,.18)}
.duact b{font:700 11px/1 var(--sans);color:var(--pen)}.duact span{display:inline-flex;align-items:center;gap:5px}
.duact.ab{background:rgba(159,217,197,.35)}
.duact[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}.duact.used span{text-decoration:line-through}
.duactp{margin:0;font-size:12px;line-height:1.5;color:var(--inksoft)}
.duhint{margin:0;padding:5px 10px;font-size:12.5px;line-height:1.55;color:var(--ink);background:var(--note);border-radius:8px 12px 9px 11px}
.duplan{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0;padding:6px;background:var(--note);border-radius:10px}
.duplan span{grid-column:1/-1;font:400 15px/1.3 var(--hand);text-align:center}.duplan .btn{justify-content:center;padding:4px 6px 6px;font-size:14.5px;line-height:1.1;text-align:center}.duplan [aria-pressed=true]{outline:2px solid var(--pen)}
.duhe{min-width:0}.duhe.pk .dumc{box-shadow:0 0 0 3px var(--pen),2px 3px 0 rgba(3,8,30,.22)}
/* 5 the result: the match on the left, the record, the marks and the achievements on the right */
.duel[data-ph=end] .dumain{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;align-items:start}
.duendl,.duendr{display:flex;flex-direction:column;gap:10px;min-width:0}
.duend{text-align:center}
.duend .k{padding:5px 22px 6px;font:400 23px/1.2 var(--hand);letter-spacing:.06em}
.duend.l .k{--tape:var(--pink)}.duend.w .k{--tape:var(--mint)}
.duend .duh{margin:8px 0 0;padding:0;font-size:44px}
.duendh{margin:4px 0 0;font:400 18px/1.4 var(--hand);color:var(--inksoft)}.duendh .dulogo{width:21px;height:21px}
.duhist{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;list-style:none}
.duhist li{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:2px 12px;padding:5px 12px;font-size:13px;line-height:1.45;
background:var(--white);border-left:6px solid var(--mint);border-radius:5px 10px 10px 5px}
.duhist li.l{border-left-color:var(--pink)}
.dur{font:400 15px/1.3 var(--hand);white-space:nowrap}.duy b,.duo b{margin-left:4px;font:400 18px/1 var(--hand)}
.duo{color:var(--inksoft);text-align:right}
.duel[data-ph=end] .dubtns{justify-content:center}
.durec{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 84px 0 0}
.durec div{padding:7px 6px;text-align:center;color:var(--cream);background:var(--grain),var(--card);border-radius:12px 9px 14px 8px/9px 14px 8px 12px}
.durec b{display:block;font:400 28px/1.15 var(--hand);color:#fff}.durec span{font-size:12px;line-height:1.35;color:var(--soft)}
.duel .btn.done{background:var(--mint)}
.ducopy{margin:0;padding:8px 12px;font-size:13px;line-height:1.55;text-align:center;background:var(--white);border:1.5px dashed rgba(39,48,92,.45);border-radius:8px;overflow-wrap:anywhere;user-select:all}
.duunlock{margin:0;padding:6px 12px;font:400 17px/1.45 var(--hand);text-align:center;background:var(--butter);border-radius:10px 14px 11px 15px}
.duach{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
.duach li{position:relative;padding:5px 10px 6px;font-size:12px;line-height:1.45;color:var(--inkfaint);background:rgba(255,253,246,.55);border:1.5px dashed rgba(39,48,92,.3);border-radius:9px 12px 10px 13px}
.duach b{display:block;font:400 15.5px/1.3 var(--hand);color:var(--inksoft)}
.duach li.got{color:var(--inksoft);background:var(--white);border-style:solid;border-color:var(--ink)}.duach li.got b{color:var(--ink)}
.duach li.new{background:var(--note)}.duach i{position:absolute;right:8px;top:-9px;padding:1px 8px;font:400 13px/1.3 var(--hand);font-style:normal;background:var(--butter);border:1.5px solid var(--ink);border-radius:9px;transform:rotate(4deg)}
.duendr .dusayat{margin-top:2px}
.duback{margin:18px 0 0;font:400 18px/1.4 var(--hand);color:var(--soft)}
/* the rules and one of her cards up close: dialogs over the page */
dialog.durules,dialog.duinfo{max-height:calc(100dvh - 20px);border:0;color:var(--ink);overflow:auto;background:var(--grain),var(--dots),var(--paper);border-radius:var(--wob);box-shadow:0 30px 60px -20px #000}
dialog.durules{width:min(760px,calc(100vw - 20px));padding:24px 28px 22px}
dialog.durules::backdrop,dialog.duinfo::backdrop{background:rgba(4,9,30,.74)}
.durules h2{margin:0 40px 6px 0;font-size:28px;line-height:1.3}
.durl{margin:0 0 6px;font-size:14px;line-height:1.7;color:var(--inksoft)}
.durules ul{margin:8px 0 0;padding-left:1.3em;font-size:13.5px;line-height:1.8;color:var(--ink)}
.durules li b{font-weight:600}
.durules .gcredit{margin:12px 0 0;font-size:12px;line-height:1.6;color:var(--inkfaint)}
.duskills{margin-top:2px!important}
.durules .x,.duinfo .x{position:absolute;right:8px;top:4px;width:40px;height:40px;border:0;background:none;color:var(--inksoft);font:400 30px/1 var(--hand);cursor:pointer}
.durules .x:hover,.duinfo .x:hover{color:var(--ink)}
dialog.duinfo{width:min(600px,calc(100vw - 20px));padding:28px 26px 24px}
.duinfo .in{display:grid;grid-template-columns:170px minmax(0,1fr);gap:26px;align-items:center}
.duinfo .duic .gc{cursor:default;transform:rotate(-2deg);padding:7px 7px 9px;font-size:16px}
.duinfo .k{--tape:var(--pink)}
.duinfo h2{margin:10px 0 0;font-size:30px;line-height:1.25;color:var(--ink)}
.duinfo dl{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;margin:12px 0 0;font-size:13.5px;line-height:1.7}
.duinfo dt{color:var(--inksoft)}.duinfo dd{margin:0}
.duisk{display:flex;flex-direction:column;gap:4px;margin:14px 0 0}.duisk>span{font-size:12.5px;color:var(--inksoft)}
.duinfo button:focus-visible{outline:2px dashed var(--pen);outline-offset:3px}
.gc .dut{font-size:.86em;font-style:normal;color:var(--gdk);white-space:nowrap}
/* the way in, on the gacha page: a sticky note */
.gduel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 28px;margin-top:40px;padding:24px 30px 22px;color:var(--ink);
background:var(--grain),var(--note);border-radius:3px 14px 4px 16px;box-shadow:var(--lift);transform:rotate(-.5deg);transition:transform .2s}
.gduel:hover{color:var(--ink);transform:rotate(0) translateY(-3px)}
.gduel:before{content:"";position:absolute;left:28px;top:-12px;width:96px;height:24px;background:var(--stripe),var(--pink);opacity:.93;clip-path:var(--zig);transform:rotate(-3deg)}
.gduel b{font:400 28px/1.3 var(--hand);-webkit-text-stroke:.3px var(--ink)}
.gduel>span:not(.btn){grid-column:1;font-size:14.5px;line-height:1.7;color:#5a4208}
.gduel .btn{grid-column:2;grid-row:1/span 2;font-size:20px}
/* 小游戏 (games.html, round 5): one entry per game, a picture made of the cards, two or three lines and a start button */
.dugames{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));gap:30px;margin:0;padding:0;list-style:none}
.dugame a{display:grid;grid-template-columns:minmax(0,270px) minmax(0,1fr);gap:24px;align-items:center;height:100%;padding:22px 24px 22px;color:var(--ink);
background:var(--grain),var(--dots),var(--paper);border-radius:3px 14px 16px 12px;box-shadow:var(--lift);transition:transform .2s}
.dugame a:hover{color:var(--ink);transform:translateY(-3px) rotate(-.3deg)}
.dugpic{position:relative;display:block;height:190px;border-radius:var(--wob);background:var(--grain),var(--kraft);overflow:hidden}
.dugpic .gc{position:absolute;top:22px;width:92px;padding:4px 4px 6px;font-size:11px;box-shadow:2px 4px 0 rgba(3,8,30,.22)}
.dugpic .gc:nth-child(1){left:calc(50% - 128px);transform:rotate(-9deg)}.dugpic .gc:nth-child(2){left:calc(50% - 46px);top:30px;z-index:2;transform:rotate(1deg)}.dugpic .gc:nth-child(3){left:calc(50% + 36px);transform:rotate(8deg)}
.dugvs{position:absolute;z-index:3;right:12px;bottom:8px;font:400 34px/1 var(--hand);color:var(--red);transform:rotate(-10deg)}
.dugt{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.dugt .k{--tape:var(--mint)}
.dugt b{font:400 28px/1.3 var(--hand);-webkit-text-stroke:.3px var(--ink)}
.dugd{max-width:40em;font-size:14.5px;line-height:1.75;color:var(--inksoft)}
.dugt .btn{margin-top:4px;font-size:19px}
.dugmore{margin:26px 0 0;color:var(--soft);font-size:14px;line-height:1.8}
@media (max-width:1020px){.dutable{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:14px}}
/* a phone: one column (a round: the two cards with her bubble between them, then your hand and hers side by side), the
   header in one row of 44px, the title beside the tabs, the lists flowing with their labels in line */
@media (max-width:600px){
html:has(.duel) header.top .bar{height:44px;gap:8px}html:has(.duel) .logo img{width:30px;height:30px}
html:has(.duel) header nav{font-size:15px}html:has(.duel) header nav a{padding:6px 8px 7px}html:has(.duel) .langs{gap:2px}html:has(.duel) .langs a{padding:4px 5px}
html:has(.duel) main.wrap{padding-top:6px}
.dutop{gap:8px}.duph{margin:0 0 7px;font-size:21px}
.dusteps{flex:1;gap:3px}.dusteps li{flex:1 1 0;min-width:0;padding:6px 2px 8px;font-size:14px;text-align:center}
.dusteps li:before{display:none}.dusteps li.on{padding-bottom:11px}
.dupage{padding:6px 9px 8px}.dutools{top:5px;right:6px;gap:4px}.duel .dutools .snd{width:30px;height:30px}.durb span{font-size:19px}
.duhd{min-height:30px;margin:0 0 3px;padding-right:66px;gap:0 10px}.duh{font-size:20px}.duh small{font-size:12.5px}
.dulead{margin:0 0 5px;font-size:11.5px;line-height:1.4}
.dubtns{gap:5px}.dubtns .btn{flex:1 1 auto;justify-content:center;padding:6px 8px 8px;font-size:15.5px;white-space:nowrap}
.dul{display:none}.dus{display:inline}
.dusay{gap:7px}.dusay img{width:28px;height:28px}.dusay p{padding:3px 9px 5px;font-size:14px;line-height:1.35}.dusay p:before{left:-6px;width:9px;height:9px;top:calc(50% - 5px)}
.dumc{grid-template-columns:calc(18px*var(--k)) minmax(0,1fr);grid-template-rows:auto;column-gap:4px;align-items:center;padding:1px 4px 1px 1px;border-radius:6px 8px 7px 9px}
.dumc .art{grid-row:auto;border-radius:3px}.dumc .nm{font-size:10.5px;line-height:1.2}.dumc .dut{font-size:8.5px}.dumc .dug{grid-column:2;align-self:auto}
.dug{font-size:9.5px;line-height:1.2}.dug b{font-size:12.5px}
/* 1 */
.dumode button{font-size:14.5px;padding:2px 9px 3px}.dumode span{display:none}
.duhtabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 6px}
.duhtab{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:5px 3px 4px;border:2px dashed rgba(39,48,92,.4);border-radius:12px 14px 12px 16px;
background:var(--white);color:var(--ink);font:400 14px/1.15 var(--hand);text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.duhtab .dulogo{width:22px;height:22px}.duhtab b{font-weight:400}
.duhtab[aria-pressed=true]{border:2px solid var(--ink);background:var(--note);box-shadow:2px 3px 0 rgba(3,8,30,.2)}
.duharn{display:block}.duhc{display:none;padding:9px 11px 10px;gap:5px;transform:none!important}.duhc.on{display:flex}
.duhc h3{font-size:20px}.duhc h3 .dulogo{width:22px;height:22px}.duhd2{font-size:12px;line-height:1.5}.duab{padding:4px 8px 5px;font-size:11.5px;line-height:1.45}.duab b{font-size:14.5px}
.dustart{width:calc(50px*var(--k))}.duhc .btn{align-self:stretch;justify-content:center;font-size:16.5px;padding:6px 12px 8px}
.dufoot{flex-direction:column;align-items:stretch;gap:6px;margin-top:7px}.dumarks p{margin-bottom:3px;font-size:11px}
.dumarks ul{gap:3px}.dumarks li{width:24px;height:24px;border-radius:7px 9px 7px 10px}.dumarks li .dulogo{width:14px;height:14px}
/* 2 */
.duel[data-ph=pull] .dumain,.duel[data-ph=hand] .dumain,.duel[data-ph=end] .dumain{display:flex;flex-direction:column;gap:5px}
.dupl{gap:4px}.dupl .duhd{padding-right:66px}.duhar,.ducarry,.dupity,.dufc{font-size:11px;line-height:1.4}.ducarry{padding:2px 7px;gap:2px 5px}.duchips{gap:3px}.duchip{font-size:12.5px;padding:0 5px;line-height:1.3}
.dupfc>span{display:none}.dufc b{font-size:17px}.dufc{margin-top:3px}
.dupacks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.dupacks button{grid-template-columns:calc(20px*var(--k)) minmax(0,1fr);column-gap:5px;padding:2px 4px}
.dupacks img{grid-row:auto;width:calc(20px*var(--k));height:calc(27px*var(--k))}.dupacks span{font-size:14px}.dupacks small{display:none}
.dupl .dubtns .btn{flex:1 1 20%;padding:5px 3px 7px;font-size:14.5px}
.dustage{min-height:calc(46px*var(--k));gap:12px}.dupk{width:calc(34px*var(--k));height:calc(46px*var(--k))}.dupk .top{height:9px}.dupk .body{inset:8px 0 0}.duskip{font-size:14px}
.dupl .dusayat{order:9;margin:0;padding:0}.dupl .dusayat.ph:not(:empty),.duhr .dusayat.ph:not(:empty){display:block}.dupr{padding:0}.duinvh{padding-right:0}
.duinvh{gap:0 10px;margin:0 0 3px;font-size:15px}.ducnt{gap:0 8px;font-size:10.5px}.ducnt small{font-size:11px}
.dutgs,.dutasks{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px}.dutg,.duinv,.duhands{display:contents}
.dutgn,.dutasks .dutgn{width:auto;padding:1px 5px;font-size:9px;letter-spacing:0;color:var(--paper);background:var(--inksoft);border-radius:4px}.dutasks .dutgn i{display:inline;color:var(--butter)}
.duinv li{gap:2px;padding:0 4px;font:600 10.5px/1.4 var(--sans);border-width:1px;border-radius:5px 7px 6px 8px}.duinv i{font-size:8.5px}
/* 3 */
.duhr{padding-top:0;gap:5px}.dubyt{margin:4px 0 2px;font-size:11px;line-height:1.35}
.dutc{gap:3px;padding:0 4px 0 4px;border-width:1px;border-radius:5px 7px 6px 8px}.dutc .art{display:none}.dutc .nm{font-size:10.5px;line-height:1.3}.dutc .dut{font-size:8.5px}.dutc b{font-size:13px}
.dutc[aria-pressed=true]{box-shadow:0 0 0 1.5px var(--pen)}
.dustrip{gap:3px}.dustrip li{padding:0 4px 1px;font-size:11.5px;gap:2px}.dustrip li span{font-size:8.5px}
.dunpc{padding:4px 8px 6px}.dunpc h3{font-size:15px}.dunpc p{margin-top:1px;font-size:10px;line-height:1.4}.dubw{margin-top:2px;gap:3px}.dubw i{width:14px;height:8px}.duherp{font-size:10px}.dunpc .dunpcs{gap:2px 3px}.dunpc .dumc{gap:0 3px;padding:0 4px}
.dunpcs{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin-top:3px}
/* 4 */
.duel[data-ph=play] .duhd{padding-right:66px;flex-wrap:nowrap;justify-content:flex-start}.duel[data-ph=play] .duh{font-size:17px;white-space:nowrap}.duel[data-ph=play] .duh small{display:none}
.dusb{gap:4px;margin-left:auto;font-size:13px}.dusb b{font-size:19px}.dusb ol{display:none}
.dutable{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"mid mid" "mh hh" "mr hr" "hb hb" "sel sel" "acts acts" "actp actp" "say say";gap:3px 6px;margin-top:8px}
.dumine,.duhers{display:contents}.dumid{grid-area:mid;gap:3px}
.dumine>.duhh{grid-area:mh}.dumine>.duhandrow{grid-area:mr}.dusel{grid-area:sel}.duacts{grid-area:acts}.duactp{grid-area:actp}
.duhers>.duhh{grid-area:hh}.duherhab{grid-area:hb}.duhers>.dunpcs{grid-area:hr}.duhers>.dusayat{grid-area:say}.duhers>.dusayat:empty{display:none}
.duhandrow,.duhers .dunpcs{display:flex;flex-direction:column;gap:2px}
.dumc.dul1{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 4px;padding:1px 4px}.dumc.dul1 .nm{font-size:10px;letter-spacing:-.01em}.dumc.dul1 .art{display:none}
.dumc.dul1 .dug{margin-left:auto}.dusb .ducol{display:inline}.duestw{display:none}.duhh .dus{display:inline}
.dutokl .dus b{font-size:15px}.duact .dulogo{width:14px;height:14px}
.dusk{display:block}.dusk b{margin-right:4px}.dusk .s{display:block}
.duarena{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:5px}.duarena .gflip{--w:min(max(64px,calc(92px*var(--k))),100%)}
.duside{position:relative;padding-top:4px}.dulab{position:absolute;z-index:2;top:-3px;left:0;padding:1px 5px 2px;font-size:12px;background:var(--paper);border-radius:5px 7px 6px 8px;box-shadow:1px 1px 0 rgba(3,8,30,.15)}.duarena .gc .art{aspect-ratio:1}
.duarena .gflip .gc{padding:3px 3px 4px;font-size:10.5px}.duarena .gflip .gc .nm{margin-top:3px}.duarena .gflip .gc .st{font-size:7.5px;letter-spacing:0}
.duempty{width:min(max(64px,calc(92px*var(--k))),100%);aspect-ratio:3/3.6;font-size:12.5px}
.duvs{max-width:none;align-self:stretch;justify-content:space-between;gap:4px}.duvs>span{font-size:19px}.duvs .btn{align-self:stretch;padding:5px 6px 7px;font-size:14.5px}.duverd{font-size:14px}
.duvs .dusayat.ph{display:block;width:100%}.duvs>span{display:none}.duvs .dusayat.ph .dusay{flex-direction:column;align-items:center;gap:3px}.duvs .dusayat.ph .dusay p{font-size:12.5px;padding:3px 7px 4px}
.duvs .dusayat.ph .dusay img{display:none}.duvs .dusayat.ph .dusay p:before{left:auto;right:-6px;top:calc(50% - 5px);transform:rotate(-135deg)}
.dusc{font-size:24px}.dumath{font-size:10px;line-height:1.4}.dumath .duhnt{display:none}.dum-l{display:none}.dum-s{display:inline}.duest{font-size:10.5px;line-height:1.3}.duest b{font-size:15px}
.duhh{font-size:13.5px;line-height:1.2}
.dusel{flex-direction:row;align-items:center;gap:6px;margin:2px 0 0}.dusel .dusk{flex:1}.dutr{flex-direction:column;align-items:flex-start;gap:0;font-size:10.5px}.dutr select{font-size:12px;padding:1px 3px}
.dusk{padding:2px 6px 3px;font-size:10px;line-height:1.3}.dusk b{font-size:12.5px}.dusk .d{display:inline}
.duacts{gap:3px;margin:2px 0 0}.duact{padding:1px 6px 2px;font-size:13px;gap:3px;box-shadow:1px 2px 0 rgba(3,8,30,.18)}.duact b{font-size:9.5px}.duact .dulogo{width:14px;height:14px}
.dutokl{font-size:11px}.dutokl b{font-size:15px}.duactp{font-size:10px;line-height:1.35}
.duhint{padding:2px 7px;font-size:10.5px;line-height:1.4}.duplan{padding:3px;gap:3px;width:100%}.duplan span{font-size:12.5px}.duplan .btn{padding:2px 3px 4px;font-size:12.5px}
.duhandb{gap:4px}.duhandb .btn{flex:0 1 auto;padding:3px 8px 5px;font-size:14px}.dupicked{flex-basis:auto;min-height:0;padding-right:0;font-size:15px}.duhandb .dutokl{white-space:nowrap}
.duherhab{font-size:10px;line-height:1.35}
/* 5 */
.duendl,.duendr{gap:5px}.duend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 10px}.duend .k{font-size:16px;padding:2px 12px 3px}
.duend{padding:0 66px}.duend .duh{margin:0;font-size:25px}.durec{margin:0}.duendh{flex-basis:100%;margin:0;font-size:13.5px}.duunlock{font-size:12.5px;line-height:1.35;padding:3px 8px}
.duhist{gap:2px}.duhist li{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:0 6px;padding:1px 6px;font-size:10px;line-height:1.3;border-left-width:4px}.dur{font-size:11.5px}.duy b,.duo b{font-size:13px;margin-left:2px}
.durec{gap:4px}.durec div{display:flex;align-items:baseline;justify-content:center;gap:4px;padding:2px 3px}.durec b{display:inline;font-size:16px}.durec span{font-size:9.5px;line-height:1.2}
.duach{gap:3px}.duach li{padding:1px 6px 2px;font-size:9.5px;line-height:1.3}.duach b{font-size:12px}.duach i{top:-6px;font-size:10px;padding:0 5px}
.duendr .dusayat{margin:0}
dialog.durules{padding:20px 16px 18px}.durules h2{font-size:23px}
dialog.duinfo{padding:24px 16px 20px}.duinfo .in{grid-template-columns:1fr;gap:16px}.duinfo .duic{width:150px;margin:0 auto}.duinfo h2{font-size:25px}
.gduel{grid-template-columns:1fr;padding:22px 18px 20px}.gduel b{font-size:24px}.gduel .btn{grid-column:1;grid-row:auto;justify-self:start;margin-top:10px}
.dugame a{grid-template-columns:1fr;gap:16px;padding:16px 16px 18px}.dugpic{height:170px}.dugpic .gc{width:84px}.dugt b{font-size:24px}}
html:lang(en) .dusteps li{font-size:16px}
@media (max-width:600px){html:lang(en) .dusteps li,html:lang(ja) .dusteps li{font-size:12px}
html:not(:lang(zh)) .dusb .dunm{display:none}html:not(:lang(zh)) .dustrip li{padding:0 3px 1px;font-size:10.5px}html:not(:lang(zh)) .dustrip li span{font-size:8px}
html:not(:lang(zh)) .duinv li{padding:0 3px;font-size:10px}html:not(:lang(zh)) .ducarry{font-size:10.5px}html:not(:lang(zh)) .duchip{font-size:11.5px}
html:not(:lang(zh)) .dusay p{font-size:13px}html:not(:lang(zh)) .dulead{font-size:11px}html:not(:lang(zh)) .duplan .btn{font-size:11.5px;line-height:1.15}html:not(:lang(zh)) .duplan{padding:2px;gap:2px}html:not(:lang(zh)) .duplan span{font-size:11.5px;line-height:1.2}html:not(:lang(zh)) .duend .duh{font-size:22px}html:not(:lang(zh)) .duunlock{font-size:11.5px}html:lang(en) .dubtns .btn{font-size:14.5px}}
@media (prefers-reduced-motion:reduce){.duinv li.fresh,.duinv li.bump,.ducnt small.bump,.dupk,.du5,.du5 .gc,.du5 .ray{animation:none}.dusc,.dumath,.duverd{transition:none}.gduel,.dugame a{transition:none}.gduel:hover,.dugame a:hover{transform:none}}
/* room (patch_room.py) */
.duel{--r:0}
@media (max-width:600px){
.dutgs,.dutasks{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:calc(2px + 5px*var(--r))}
.dutg{display:flex;flex-wrap:wrap;align-items:center;gap:calc(2px + 4px*var(--r)) calc(3px + 3px*var(--r))}
.dutgn,.dutasks .dutgn{font-size:calc(9px + 2px*var(--r));padding:calc(1px + 1px*var(--r)) calc(5px + 2px*var(--r))}
.duinv li{font-size:calc(10.5px + 2px*var(--r));padding:calc(2px*var(--r)) calc(4px + 3px*var(--r))}.duinv i{font-size:calc(8.5px + 1.5px*var(--r))}
.dupl{gap:calc(4px + 5px*var(--r))}.duel[data-ph=pull] .dumain,.duel[data-ph=hand] .dumain{gap:calc(5px + 6px*var(--r))}
.duhar,.ducarry,.dupity,.dufc{font-size:calc(11px + 1.5px*var(--r))}
.dupl .dubtns .btn:only-child{transform:none}
.dulead{font-size:calc(11.5px + 1.5px*var(--r));margin-bottom:calc(5px + 3px*var(--r))}
.dutc{gap:calc(3px + 2px*var(--r));padding:calc(2px*var(--r)) calc(4px + 3px*var(--r))}
.dutc .nm{font-size:calc(10.5px + 1px*var(--r))}.dutc .dut{font-size:calc(8.5px + 1px*var(--r))}.dutc b{font-size:calc(13px + 1px*var(--r))}
.duhr{gap:calc(5px + 5px*var(--r))}.dunpc{padding:calc(4px + 4px*var(--r)) calc(8px + 3px*var(--r)) calc(6px + 4px*var(--r))}
.dunpc p,.duherp{font-size:calc(10px + 2px*var(--r))}.dunpc .dumc .nm{font-size:calc(10.5px + 1.5px*var(--r))}
.dunpc .dunpcs{gap:calc(2px + 3px*var(--r)) calc(3px + 2px*var(--r))}.dunpc .dumc{padding:calc(2px*var(--r)) calc(4px + 2px*var(--r))}
.dutable{grid-template-columns:minmax(0,1fr);grid-template-areas:"mid" "mh" "mr" "sel" "acts" "actp" "hh" "hr" "hb" "say";gap:calc(3px + 2px*var(--r)) 0}
.duhandrow,.duhers>.dunpcs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:0}
.duhandrow .dumc,.duhers>.dunpcs .dumc{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:1px;padding:2px 2px 1px;text-align:center}
.duhandrow .dumc .art,.duhers>.dunpcs .dumc .art{display:block;width:100%;height:calc(50px*var(--k));aspect-ratio:auto;border-radius:4px}
.duhandrow .dumc .nm,.duhers>.dunpcs .dumc .nm{display:block;font-size:8.5px;line-height:1.25;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.duhandrow .dumc .dut,.duhers>.dunpcs .dumc .dut{position:absolute;left:3px;top:3px;padding:1px 3px;font-size:8px;line-height:1.1;background:rgba(255,255,255,.88);border-radius:3px}
.duhandrow .dumc .dug,.duhers>.dunpcs .dumc .dug{margin:0;align-self:center}
.duhers>.dunpcs .duhe{display:flex;min-width:0}.duhers>.dunpcs .duhe .dumc{flex:1 1 0;min-width:0}
.duhh{font-size:calc(13.5px + 1.5px*var(--r))}.duhint{font-size:calc(10.5px + 1.5px*var(--r))}.dusk{font-size:calc(10px + 1.5px*var(--r))}
.duherhab,.duactp{font-size:calc(10px + 1.5px*var(--r))}
.duacts{gap:calc(3px + 3px*var(--r))}.duact{font-size:calc(13px + 1.5px*var(--r));padding:calc(1px + 2px*var(--r)) calc(6px + 3px*var(--r)) calc(2px + 2px*var(--r))}
}
