:root{--ink:#1D1D1F;--g1:#6E6E73;--g2:#86868B;--hair:#D2D2D7;--fill:#F5F5F7;--hero:#2F6CF2;--kraft:#CDA57D}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#000;overflow:hidden}
body{font-family:"SF Pro Display","SF Pro",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;cursor:none;user-select:none}
body.showcursor{cursor:default}
#stage{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform-origin:0 0;overflow:hidden;background:transparent;z-index:1}
.act{position:absolute;inset:0;overflow:hidden;background:#fff}
.abs{position:absolute}
.w{display:inline-block;opacity:0;will-change:opacity,filter,translate}
.mk{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .02em .08em;margin:0 -.02em -.08em}
.w.r{opacity:1;translate:0 105%}
.sym{font-family:"SF Pro","SF Pro Display",-apple-system,system-ui;display:inline-block}
.hand{font-family:Hand,"SF Pro Rounded",sans-serif}
.rounded{font-family:"SF Pro Rounded","SF Pro Display",-apple-system,system-ui}
.src{position:absolute;left:82px;bottom:44px;max-width:1240px;font-size:19px;line-height:1.45;letter-spacing:.012em;color:#8E8E93;opacity:0;z-index:20;display:flex;flex-direction:column;gap:2px}
.src .sl{font-size:19px;font-weight:600;color:#1D1D1F;letter-spacing:.01em;margin-bottom:4px}
.src .si{opacity:0}
.flap{position:relative;display:inline-block;perspective:900px;vertical-align:bottom;flex:none}
.flap .hf{position:absolute;left:0;right:0;height:50%;overflow:hidden;background:var(--bg);color:var(--fg);backface-visibility:hidden}
.flap .hf span{position:absolute;left:0;right:0;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}
.flap .t{top:0;border-radius:var(--r) var(--r) 0 0}.flap .t span{top:0}
.flap .b{bottom:0;border-radius:0 0 var(--r) var(--r)}.flap .b span{bottom:0}
.flap .ft{transform-origin:50% 100%;z-index:2;visibility:hidden}
.flap .fb{transform-origin:50% 0;z-index:2;visibility:hidden}
.flap::after{content:"";position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;background:var(--cut,#fff);z-index:3}
#hud{position:fixed;right:14px;bottom:10px;font:12px -apple-system;color:#8e8e93;opacity:0;z-index:99}
body.hud #hud{opacity:1}
.tile{position:absolute;border-radius:36px;background:#fff;overflow:hidden}
.ui{font-family:"SF Pro Text","SF Pro",-apple-system,system-ui}
/* formulas: STIX Two serif, italic variables, upright grey subscripts, light operators */
.mx{font-family:"STIX Two Text","STIX Two Math","Times New Roman",serif;color:#1D1D1F;display:inline-flex;align-items:center;gap:.26em;white-space:nowrap;line-height:1.1}
.mx i{font-style:italic}
.mx sub{font-style:normal;font-size:.5em;color:#6E6E73;vertical-align:-.32em;margin-left:.05em;line-height:0}
.mx .o{color:#86868B}
.mx .fr{display:inline-flex;flex-direction:column;align-items:center;font-size:.82em;padding:0 .1em}
.mx .fr>span{display:flex;gap:.22em;align-items:baseline;padding:0 .12em}
.mx .fr>span:first-child{border-bottom:max(1.5px,.05em) solid #1D1D1F;padding-bottom:.1em}
.mx .fr>span:last-child{padding-top:.12em}
.mx .h{color:#2F6CF2;font-weight:600}
.mx .h i,.mx i.h{color:#2F6CF2}
.mcard{position:absolute;background:#F5F5F7;border-radius:36px;padding:30px 40px;display:flex;flex-direction:column;gap:20px}
.mcard .hr{height:1.5px;background:rgba(0,0,0,.1)}
.mx .v{white-space:nowrap}
.mx sub.h{color:#2F6CF2}
