@charset "utf-8";
/*
2026-05-26_180336
2026-05-28_202550
 */

:root {
 color-scheme: light dark;
 --xicon-width: 160px;
 --xicon-max-height: 180px;
 --xpage-top-margin: 0.3rem;

 --xpage-left-magin: 215px;
 --xpage-lpanelxl-width: 210px;
}

@media all and (min-width: 701px) {
 main {
  margin-left: var(--xpage-left-magin);
 }
 footer {
  margin-left: var(--xpage-left-magin);
 }
 .lpanelxl {
  position: absolute;
  top: var(--xpage-top-margin);
  left: 2px;
 }
}

@media all and (min-width: 801px) {
 .x2col {
  column-count: 2;
 }
}

html {
 box-sizing: border-box;
}
*, *:before, *:after {
 box-sizing: inherit;
}

body {
 font-family: Arial, Helvetica, Arimo, "Liberation Sans", sans-serif;
 font-size: 1rem;
 margin-top: var(--xpage-top-margin);
 margin-bottom: 50px;
}

a {
 text-decoration: none;
 font-size: 1.2rem;
}

a:hover {
 outline: solid 2px pink;
}

a[href*="wikipedia.org/"]:after {
 font-size: small;
 content: " (Wikipedia)";
}

table {
 overflow: auto;
}

h3 {
 color: darkred;
}

/* pre, code, h1, s, a { overflow-wrap: anywhere; } */

ul {
 margin-top: 0.5rem;
 margin-bottom: 0.5rem;
}

dl {
 border-left: solid thin silver;
 padding-left: 0.4rem;
}
dt {
 border-top: solid thin silver;
 padding-top: 0.4rem;
}
dd {
 margin-bottom: 1rem;
}
dd > ul {
 padding-left: 1rem;
}

ul + ul {
 margin-top: 2.5rem;
}

li {
 line-height: 1.6;
 margin-bottom: 0.5rem;
}

p {
 line-height: 1.6;
}

img {
 max-width: 100%;
 height: auto;
 margin: 1px;
 margin-top: 3px;
}

video {
 max-width: 100%;
 max-height: 90vh;
}

figure {
 padding: 0;
 margin: 10px 0;
}

figure > img {
 box-shadow: 3px 3px 8px 4px silver;
}

figure > img[src$="svg"] {
 box-shadow: none;
}

figcaption ul {
 margin: 2px;
}
figcaption li {
 list-style-type: square;
}

blockquote {
 border-left: solid 2px grey;
 border-top-left-radius: 4px;
 border-bottom-left-radius: 4px;

 padding-left: 0.5rem;
 margin-left: 0.5rem;
}

section {
 margin: 1ex;
 padding: 0 1ex;
 border: solid 1px silver;
 border-radius: 1ex;
}

section > h2:first-child,
section > h3:first-child {
 margin-top: 0.5ex;
}

cite {
 color: darkred;
}
input {
 margin: 0.4rem;
}
footer {
 text-align: center;
 margin-bottom: 80px;
}

footer a {
 display: inline-block;
}

div > a {
 display: inline-block;
}

button[type="button"] {
 margin: 1ex;
}

button {
 touch-action: manipulation;
}

/* s------------------------------ */

kbd {
 margin: 3px;
 padding: 1px 3px;
 border: solid 1px grey;
 border-radius: 4px;
 white-space: nowrap;
 box-shadow: 1px 1px 2px 1px silver;
}

svg {
 color: black;
 background-color: white;
}

.unicodexl {
 font-size: 2rem;
}

.emojixl {
 font-family: "Apple Color Emoji", "Noto Color Emoji";
 font-size: 2rem;
}

nav.lpanelxl {
 word-break: keep-all;
 width: var(--xpage-lpanelxl-width);
 margin-top: 0.5rem;
 padding-bottom: 2rem;
 padding-left: 0.25rem;
 border: solid 3.01px pink;
 border-radius: 1.01rem;
}

nav.lpanelxl a > .emojixl {
 font-size: 1.5rem;
}

nav.pchap {
 border-left: solid 3px grey;
 font-weight: bold;
}

nav.psec {
 border-left: solid 2px silver;
 padding-left: 0.4rem;
 max-width: 360px;
}

nav.psec h3 {
 background-color: lime;
}

nav ul,
nav ol {
 margin-left: -1rem;
}
nav li {
 margin-left: -1rem;
 list-style-type: none;
 border-top: solid 2.01px pink;
}
nav li > a {
 display: inline-block;
}

nav.navbackxl {
 position: fixed;
 top: 1px;
 right: 1px;
 z-index: 2;
 border: solid 3.01px pink;
 border-radius: 1.01rem;
 background-color: light-dark(white, black);
}

nav.navbackxl > a {
 display: inline-block;
 margin: 0;
}
nav.navbackxl > a:before {
 content: "🔺";
}

nav.nav-next {
 display: inline-block;
 position: fixed;
 bottom: 0;
 left: 50%;
 transform: translate(-50%, 0);
 z-index: 3;
 margin: 0;
 padding: 0;
}

nav.nav-next a {
 display: inline-block;
 font-size: 2rem;
 margin: 0.4rem 1rem;
 padding: 0;
 border: solid 3.01px pink;
 background-color: white;
}

main {
 padding-top: 0.4rem;
}

ul.flowxl {
 display: inline-flex;
 flex-wrap: wrap;
 padding: 0;
 gap: 5px;
 align-items: center;
}

ul.flowxl > li {
 list-style-type: none;
 text-align: center;
 width: var(--xicon-width);
 min-width: var(--xicon-width);
 max-width: var(--xicon-width);
 padding: 2px;
 margin: 0;
 overflow: hidden;
 line-height: 1;
}
ul.flowxl > li > a {
 display: block;
 vertical-align: middle;
 line-height: 1;
 font-size: 1rem;
}

ul.flowxl li > a > img,
ul.flowxl li > img {
 display: block;
 border-radius: 9px;
 width: auto;
 height: auto;
 max-width: var(--xicon-width);
 max-height: var(--xicon-max-height);
 overflow: hidden;
 margin-left: auto;
 margin-right: auto;
}

ul.flowxl li > a > img[src$="svg"] {
 min-width: calc(var(--xicon-width) * 0.6);
 max-width: calc(var(--xicon-width) * 0.6);
}

div.topicxl {
 width: fit-content;
 margin: 1rem 0.4rem;
 padding: 1px 4px;
 border: solid 3.01px pink;
 border-radius: 1.01rem;
}

div.topicxl > ul {
 list-style-type: "🔷 ";
}

div.topicxl li {
 line-height: 1;
 margin-bottom: 1rem;
}

div.topicxl > ul > li > a {
 display: inline-block;
 vertical-align: middle;
}
div.topicxl > ul > li > a > img {
 border-radius: 1.01rem;
 width: auto;
 max-width: var(--xicon-width);
 max-height: var(--xicon-width);
}

div.rltd {
 width: fit-content;
 padding: 4px;
 margin: 1rem 0.4rem;
 border: solid 3.01px pink;
 border-radius: 1.01rem;
}

div.rltd:before {
 content: "Related articles:";
 position: relative;
 left: 0.5rem;
}

div.rltd li {
 line-height: 1;
 margin-bottom: 1rem;
}

a.bigImg:before {
 content: "[❏ Big Image ";
}
a.bigImg:after {
 content: "]";
}

span.xsignet {
 font-family: serif;
 font-size: 3rem;
 color: hsl(0, 100%, 46%);
}
span.xsignetxah {
 font-family: serif;
 font-size: 2rem;
 color: hsl(0, 100%, 46%);
}

div.date_xl {
 border-top: solid 1px grey;
 /* width: fit-content; */
}

table.nrm {
 border-collapse: collapse;
 margin: 1ex;
}
table.nrm th,
table.nrm td {
 padding: 4px;
 border: solid thin grey;
}
table.nrm th {
 border: solid 3px grey;
}

@media all and (max-width: 600px) {
 table {
  display: block;
 }

 table caption {
  display: inline-block;
 }

 table tr {
  display: list-item;
  border: none;
  border-top: solid 2px grey;
  margin: 1ex;
 }

 table th {
  display: inline-block;
  border: solid thin gray;
  margin-right: 0.2rem;
  margin: 1ex;
  border-radius: 1ex;
 }

 table td {
  display: inline-block;
  border: solid thin gray;
  margin: 0.5ex;
  border-radius: 1ex;
 }
}

a.amz,
a.amz_search {
 margin: 0;
 padding: 0;
 background-color: #ffc125;
 background-color: light-dark(#ffc125, grey);
 white-space: pre;
}
a.amz_search:before {
 content: "🔍Buy ";
}

code {
 white-space: pre-wrap;
 color: hsl(0, 100%, 46%);
 padding: 0.15rem 0.4rem;
}

code:before {
 color: gray;
 content: "「";
}

code:after {
 color: gray;
 content: "」";
}

var {
 white-space: pre-wrap;
 color: green;
}

var:before {
 color: gray;
 content: "‹";
}
var:after {
 color: gray;
 content: "›";
}

pre[class] {
 white-space: pre-wrap;
 margin: 2rem 0;
 min-width: 10ch;
 tab-size: 2;
 padding: 0.5rem;
 border: solid thin grey;
 border-left: solid 5px grey;
}

/* s------------------------------ */

pre[class]:before {
 padding: 0px 2px;
 content: "";
 position: relative;
 top: -1.9rem;
 right: 0;
 float: right;
 text-shadow: 2px 2px 2px grey;
 font-weight: bold;
}

pre.code:before {
 content: "code";
}
pre.ahk:before {
 content: "AutoHotkey";
}
pre.bash:before {
 content: "bash";
}
pre.clojure:before {
 content: "Clojure";
}
pre.cmd:before {
 content: "cmd.exe";
}
pre.common-lisp:before {
 content: "Common Lisp";
}
pre.cpp:before {
 content: "cpp";
}
pre.csharp:before {
 content: "Csharp";
}
pre.css:before {
 content: "CSS";
}
pre.emacs-lisp:before {
 content: "elisp";
}
pre.fsharp:before {
 content: "Fsharp";
}
pre.golang:before {
 content: "golang";
}
pre.haskell:before {
 content: "Haskell";
}
pre.html:before {
 content: "HTML";
}
pre.java:before {
 content: "Java";
}
pre.js:before {
 content: "JavaScript";
}
pre.julia:before {
 content: "Julia";
}
pre.latex:before {
 content: "LaTeX";
}
pre.lsl:before {
 content: "LSL";
}
pre.mysql:before {
 content: "mysql";
}
pre.nodejs:before {
 content: "node.js";
}
pre.ocaml:before {
 content: "OCaml";
}
pre.org-mode:before {
 content: "org-mode";
}
pre.perl:before {
 content: "Perl";
}
pre.php:before {
 content: "PHP";
}
pre.povray:before {
 content: "POV-Ray";
}
pre.powershell:before {
 content: "PowerShell";
}
pre.python:before {
 content: "Python 3";
}
pre.python2:before {
 content: "Python 2";
}
pre.qi:before {
 content: "Qi";
}
pre.racket:before {
 content: "racket";
}
pre.ruby:before {
 content: "Ruby";
}
pre.rust:before {
 content: "Rust";
}
pre.scheme:before {
 content: "scheme";
}
pre.shell:before {
 content: "shell";
}
pre.typescript:before {
 content: "TypeScript";
}
pre.wolfram:before {
 content: "Wolfram";
}
pre.xml:before {
 content: "XML";
}
pre.math:before {
 content: "math";
}
pre.error:before {
 content: "error";
}
pre.output:before {
 content: "output";
}
pre.lyrics:before {
 content: "lyrics";
}

/* s------------------------------ */

code.elisp {}
code.elisp_f {}

code.path_xl {}

var.elisp {
 color: brown;
}

pre.text {
 border: solid thin silver;
}

pre.lyrics {
 font-family: sans-serif;
 width: fit-content;
 border: solid 2px silver;
 border-radius: 0.5rem;
}

pre.poem {
 font-family: sans-serif;
 width: fit-content;
 border: solid 2px silver;
 border-radius: 0.5rem;
}

pre.bash {
 border-color: darkgrey;
}
pre.cmd {
 border-color: dodgerblue;
}

pre.css {
 border-color: #88a7a9;
}
pre.emacs-lisp {
 border-color: hsl(0, 100%, 46%);
}
pre.golang {
 border-color: #70c1a5;
}
pre.html {
 border-color: #635ad7;
}
pre.java {
 border-color: #f89917;
}
pre.js {
 border-color: #ffd700;
}
pre.julia {
 border-color: #317164;
}
pre.nodejs {
 border-color: #4040f1;
}
pre.perl {
 border-color: #c0a071;
}

pre.php {
 border-color: #6666cc;
}

pre.powershell {
 border-color: #2670c0;
}

pre.python {
 border-color: #4682b4;
}

pre.python2 {
 border-color: #ffd542;
}
pre.ruby {
 border-color: #f40000;
}
pre.shell {
 border-color: black;
}
pre.wolfram {
 border-color: red;
}

pre span.bold {
 font-weight: bold;
}
pre span.builtin {
 color: slateblue;
}
pre span.comment {
 color: firebrick;
}
pre span.comment-delimiter {
 color: firebrick;
}
pre span.constant {
 color: #008b8b;
}
pre span.doc {
 color: #8b2252;
}
pre span.function-name {
 color: dodgerblue;
}
pre span.keyword {
 color: #a020f0;
}
pre span.preprocessor {
 color: #98678c;
}
pre span.shadow {
 color: dodgerblue;
}
pre span.string {
 color: #8b2252;
}
pre span.type {
 color: #228b22;
}
pre span.underline {
 text-decoration: underline;
}
pre span.variable-name {
 font-weight: bold;
}
pre span.warning {
 color: red;
 font-weight: bold;
}

pre span.css-selector {
 color: dodgerblue;
}
pre span.css-property {
 color: #a020f0;
}

pre.perl span.perl-non-scalar-variable {
 font-weight: bold;
}
pre.xml span.sgml-namespace {
 color: #acac86;
}
pre span.xah-elisp-cap-variable {
 color: firebrick;
 font-weight: bold;
}
pre span.xah-elisp-command {
 color: #228b22;
}
pre span.xahk-mode-command-name {
 color: dodgerblue;
}
span.elisp-prefix-command, span.elisp-command, span.elisp-macro, span.elisp-special-form, span.elisp-function {
 white-space: nowrap;
 font-weight: bold;
 color: firebrick;
}
span.elisp-constant, span.elisp-user-option, span.elisp-variable {
 white-space: nowrap;
 font-weight: bold;
 color: brown;
}

div > a > img {
 max-width: 240px;
 height: auto;
}

/* s------------------------------ */

.todo {
 border-bottom: solid 4px hsl(0, 100%, 46%);
}
.payme88711 {
 display: inline-block;
 border: solid thin grey;
 border-radius: 1rem;
}

/* s------------------------------ */

a.rssxl:before {
 content: "RSS";
 border-radius: 10px;
 font-family: Arial, Helvetica, Arimo, "Liberation Sans", sans-serif;
 font-weight: bold;
 color: white;
 background-color: #f26522;
 padding: 0 0.5rem;
 margin-right: 4px;
}
.taglinexl {
 margin: 4px;
 font-size: 1.3rem;
 color: hsl(0, 100%, 46%);
}

.xahnote:before {
 content: "note: ";
}

/* s------------------------------ */

b.w {}
mark.b {
 background-color: aquamarine;
 border-radius: 4px;
}

.xn-marker {
 text-decoration: underline 3px orange;
}

.xn-target {}

.xn-target:after {
 content: ":";
}

.xn-body {
 width: fit-content;
 line-height: 1.6;
 padding: 5px;
 margin: 5px;
 border: solid 1px grey;
 border-radius: 0.5rem;
}

span.oafm {
 color: hsl(0, 100%, 46%);
 background-color: silver;
}
span.oafm:after {
 content: "‡";
}

div.anote {
 padding: 0.5rem;
 margin: 0.5rem;
 border: solid thin grey;
 border-radius: 1rem;
}

.zh-char {
 font-size: 2rem;
}

/* s------------------------------ */

x-link {
 color: grey;
}

ul.x-cite {
 padding-left: 0;
}

ul.x-cite li {
 display: inline;
}

ul.x-cite:before {
 content: "⦿";
}

.xbubble {
 color: black;
 background-color: pink;
 text-align: right;
 margin-left: auto;
 margin-right: 0;
 padding: 1ex;
 width: fit-content;
 border-radius: 2rem 2rem 0 2rem;
}
