@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Text:ital,wght@0,400;0,500;0,600;1,400;1,500&family=STIX+Two+Math&display=swap');
:root{
  --paper:#0a0f0b; --ink:#cfe6cf; --faint:#7a967f; --rule:#3ddc6f;
  --link:#3ddc6f; --accent:#52ff8a; --border:#1c3322; --zebra:#0f1811;
  --serif:'STIX Two Text','Times New Roman',serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{background:#040604}
body{background:var(--paper);color:var(--ink);font-family:var(--serif);font-size:16.5px;line-height:1.55;
  max-width:760px;margin:0 auto;padding:64px 72px 90px;min-height:100vh;
  box-shadow:0 0 60px rgba(61,220,111,.10)}
@media(max-width:820px){body{padding:36px 22px 60px}}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}

/* running head */
.runhead{display:flex;justify-content:space-between;font-variant:small-caps;letter-spacing:.08em;
  font-size:13px;color:var(--faint);border-bottom:1px solid var(--border);padding-bottom:6px;margin-bottom:42px}
.runhead nav{display:flex;gap:18px}

/* title block */
.titleblock{text-align:center;margin:10px 0 34px}
.titleblock h1{font-size:27px;font-weight:600;line-height:1.3;margin-bottom:18px}
.authors{font-size:16px;margin-bottom:4px}
.affil{font-style:italic;font-size:14px;color:var(--faint)}
.datemark{font-size:14px;color:var(--faint);margin-top:10px}

/* abstract */
.abstract{margin:30px 40px;font-size:15px;line-height:1.55}
.abstract .head{text-align:center;font-weight:600;font-size:15.5px;margin-bottom:8px}
@media(max-width:820px){.abstract{margin:24px 8px}}

/* sections */
h2{font-size:19px;font-weight:600;margin:38px 0 12px}
h2 .no{margin-right:12px}
h3{font-size:16.5px;font-weight:600;font-style:italic;margin:24px 0 8px}
p{margin:12px 0;text-align:justify;hyphens:auto}
p.noindent{text-indent:0}
p+p{text-indent:1.6em;margin-top:0}
i,em{font-style:italic}

/* display equations */
.eq{display:flex;justify-content:center;align-items:center;gap:26px;margin:20px 0;
  font-family:'STIX Two Math','STIX Two Text',serif;font-size:18.5px}
.eq .tag{color:var(--faint);font-family:var(--serif);font-size:15px}
.eq sub,.eq sup{font-size:.68em}

/* theorem-like environments */
.thm{margin:18px 0;padding:0}
.thm .label{font-weight:600}
.thm .body{font-style:italic}
.thm .body b,.thm .body .up{font-style:normal}
.remark .body{font-style:normal}
.proofend{float:right;font-family:'STIX Two Math',serif}

/* figures */
figure{margin:28px 0}
figure canvas{display:block;width:100%;background:#070b08;border:1px solid var(--border)}
figcaption{font-size:14px;margin-top:10px;text-align:justify;line-height:1.45}
figcaption .fno{font-weight:600}

/* tables — booktabs */
table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0;
  border-top:2px solid var(--rule);border-bottom:2px solid var(--rule)}
thead th{font-weight:600;text-align:left;padding:7px 10px;border-bottom:1px solid var(--rule)}
tbody td{padding:5.5px 10px;vertical-align:top}
tbody tr:nth-child(even){background:var(--zebra)}
td.num{font-variant-numeric:tabular-nums}
caption{caption-side:top;font-size:14px;text-align:justify;margin-bottom:8px}
caption .fno{font-weight:600}
.act-buy{color:#52ff8a;font-weight:600}
.act-sell{color:#eafeea;font-weight:600}
.act-burn,.act-weth_airdrop{color:#9fdcae;font-weight:600}
.act-permanent_lp{color:#3ddc6f;font-weight:600}
.act-hold,.act-claim{color:var(--faint)}

/* inline live values */
.live{font-variant-numeric:tabular-nums;border-bottom:1px dotted #3b5c42}

/* definition list of quantities */
.qty{margin:14px 0 14px 1.6em}
.qty div{margin:6px 0}
.qty i{display:inline-block;min-width:2.2em}

/* footnotes / footer */
.fnrule{border:none;border-top:1px solid var(--ink);width:35%;margin:48px 0 10px}
.footnotes{font-size:13.5px;color:var(--faint);line-height:1.5}
.footnotes p{text-indent:0;margin:6px 0;text-align:left}

/* buttons disguised as bracketed paper links */
.paperlink{font-size:15px}
.paperlink::before{content:"["}
.paperlink::after{content:"]"}

ul.plain{margin:12px 0 12px 1.8em}
ul.plain li{margin:7px 0;text-align:justify}
code{font-family:'Courier New',monospace;font-size:14px;background:var(--zebra);padding:0 4px}
.smallcaps{font-variant:small-caps;letter-spacing:.05em}
@media(max-width:560px){
  table{display:block;overflow-x:auto;white-space:nowrap}
  caption{display:block;white-space:normal}
}
.center{text-align:center}
