
.tafel .vt { position: fixed; left: calc(var(--fx) + var(--pad)); right: calc(var(--fx) + var(--pad)); top: calc(var(--fy) + 76px); bottom: calc(var(--fy) + 130px); display: grid; place-items: start center; container-type: size; }
.tafel .page {
  --cols: 46; --ch: .6;
  --fs: min(36px, calc(min(100cqw, 100cqh * 4 / 3) / var(--cols) / var(--ch)));
  position: relative; display: flex; flex-direction: column; width: calc(var(--cols) * 1ch); max-width: 100cqw; min-height: min(100cqh, calc(var(--cols) * .75ch));
  font-family: var(--mono); font-size: var(--fs); line-height: 1.36; color: var(--w);
}
.tafel .sub { display: block; }
.tafel .sub[hidden] { display: none; }
.tafel .band { display: flex; justify-content: space-between; gap: 2ch; background: var(--b); color: var(--y); padding: 0 1ch; margin-bottom: .68em; }
.tafel .band h1, .tafel .band h2 { font: inherit; margin: 0; }
.tafel .band .cnt { color: var(--w); white-space: nowrap; }

.tafel .row { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 0 1ch; min-height: 1.36em; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: none; overflow-wrap: anywhere; }
.tafel .row.kv { display: grid; grid-template-columns: calc(var(--kw, 12) * 1ch) 1fr; column-gap: 1ch; }
html[data-lang="zh"] .tafel .row.kv { grid-template-columns: calc(var(--kwz, 12) * 1ch) 1fr; }
html[data-lang="en"] .tafel .row.kv { grid-template-columns: calc(var(--kwe, 12) * 1ch) 1fr; }
html[data-lang="ja"] .tafel .row.kv { grid-template-columns: calc(var(--kwj, 12) * 1ch) 1fr; }
.tafel .row .k { color: var(--c); }
.tafel .row .n { font-weight: 400; color: var(--y); }
.tafel .row.num { display: grid; grid-template-columns: 4ch 1fr; }
.tafel .row.in { padding-left: 3ch; }
.tafel .row.todo { color: var(--m); }

.tafel .ent { position: relative; cursor: pointer; }
.tafel .ent.on { background: var(--c); color: #000; }
.tafel .ent.on .k, .tafel .ent.on .n { color: #000; }
.tafel .ent:focus-visible { outline: 2px solid var(--w); outline-offset: 2px; }

.tafel .fx { margin-top: auto; padding: .68em 1ch 0; display: flex; flex-wrap: wrap; gap: 0 3ch; }
.tafel .fk { font: inherit; color: var(--k); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; white-space: nowrap; }
.tafel .fk[hidden] { display: none; }
.tafel .fk:hover, .tafel .fk:focus-visible { background: var(--k); color: #000; outline: 0; }

.tafel .karte { --p: var(--u, 2px); position: absolute; right: 0; bottom: -.2em; display: block; margin: 0; padding: .3em 1ch; border: 0; background: none; color: inherit; font: inherit; line-height: 0; -webkit-tap-highlight-color: transparent; }
.tafel .sign { display: block; width: 2.9ch; height: 2.1em; fill: var(--c); }
.tafel .sign .cut { fill: #08080a; }
.tafel .karte.on .sign, .tafel .karte.druck .sign { fill: #000; }
.tafel .karte.on .sign .cut { fill: var(--c); }
.tafel .karte.zeiger { outline: 0; }
.tafel .karte.druck { background: var(--w); }
.tafel .karte.druck .sign .cut { fill: var(--w); }
.tafel .karte.druck .sign { transform: translateY(calc(2 * var(--p))); }
.tafel .karte.auf .sign { animation: kommt .18s steps(1); }
@keyframes kommt { 0% { transform: translateY(calc(2 * var(--p))); } 34% { transform: translateY(calc(-1 * var(--p))); } 100% { transform: none; } }
.tafel .sign .fill { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform .2s steps(8); }
.tafel .karte.auf .sign .fill { transform: none; }
.tafel .sign.save .fill { animation: fill .36s steps(8) forwards; }
@keyframes fill { to { transform: none; } }
.tafel .sign.save { animation: hop .24s steps(1) .42s; }
@keyframes hop { 0% { transform: translateY(calc(-2 * var(--u, 2px))); } 34% { transform: translateY(calc(-3 * var(--u, 2px))); } 67% { transform: translateY(calc(-1 * var(--u, 2px))); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tafel .sign.save, .tafel .karte.auf .sign { animation: none; } .tafel .karte.druck .sign { transform: none; } .tafel .sign .fill { transition: none; } .tafel .sign.save .fill { animation: none; transform: none; } }

.px-word { display: inline-block; white-space: nowrap; }
.px-g { display: inline-block; width: calc(8 * var(--u)); height: calc(16 * var(--u)); margin: var(--lead, calc(2 * var(--u))) var(--u) var(--lead, calc(2 * var(--u))) 0; vertical-align: top; background: currentColor;
        -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.px-g.px-w { width: calc(16 * var(--u)); margin-right: calc(2 * var(--u)); }
.px-raw { font: calc(13 * var(--u)) / calc(20 * var(--u)) var(--mono); vertical-align: top; }

.tafel .page.px-on { --u: 2px; --cell: calc(9 * var(--u)); --lead: calc(2 * var(--u)); --rowh: calc(16 * var(--u) + 2 * var(--lead)); width: calc(var(--cols) * var(--cell)); min-height: min(100cqh, calc(var(--cols) * var(--cell) * .72)); font-size: 0; line-height: 0; }
.tafel .px-on .band { gap: calc(2 * var(--cell)); padding: 0 var(--cell); margin-bottom: calc(10 * var(--u)); }
.tafel .px-on .row { padding: 0 var(--cell); min-height: var(--rowh); overflow-wrap: normal; }
.tafel .px-on .row.gap { min-height: calc(var(--rowh) / 2); }
.tafel .px-on .row.kv { grid-template-columns: calc(var(--kw, 12) * var(--cell)) 1fr; column-gap: var(--cell); }
html[data-lang="zh"] .tafel .px-on .row.kv { grid-template-columns: calc(var(--kwz, 12) * var(--cell)) 1fr; }
html[data-lang="en"] .tafel .px-on .row.kv { grid-template-columns: calc(var(--kwe, 12) * var(--cell)) 1fr; }
html[data-lang="ja"] .tafel .px-on .row.kv { grid-template-columns: calc(var(--kwj, 12) * var(--cell)) 1fr; }
.tafel .px-on .row.num { grid-template-columns: calc(4 * var(--cell)) 1fr; }
.tafel .px-on .row.in { padding-left: calc(3 * var(--cell)); }
.tafel .px-on .fx { padding: calc(10 * var(--u)) var(--cell) 0; gap: 0 calc(3 * var(--cell)); }
.tafel .px-on .karte { bottom: calc(-3 * var(--u)); padding: calc(4 * var(--u)) var(--cell); }
.tafel .px-on .sign { width: calc(24 * var(--u)); height: calc(22 * var(--u)); }
.tafel .page.px-on.eng { --lead: var(--u); }
@media (min-width: 900px) and (max-width: 923px) { .tafel .vt { left: 36px; right: 36px; } }

@media (max-width: 899px) {
  .tafel .vt { position: relative; inset: auto; z-index: 4; display: block; margin: 8px var(--pad) 0; container-type: inline-size; }
  .tafel .page { --fs: calc(100cqw / 30 / var(--ch)); width: 100%; min-height: 0; }
  .tafel .page:not(.px-on) .row.kv { display: block; }
  .tafel .page:not(.px-on) .row.kv .k { display: block; }
  .tafel .page.px-on { --cols: 39; --lead: calc(4 * var(--u)); width: calc(var(--cols) * var(--cell)); max-width: 100%; margin: 0 auto; min-height: 0; }
  .tafel .ent, .tafel .px-on .ent { min-height: 44px; align-content: center; align-items: center; }
  .tafel .row.in, .tafel .px-on .row.in { padding-left: calc(2 * var(--cell, 1ch)); }
  .tafel .fx, .tafel .px-on .fx { gap: 8px; padding: 12px 0 0; }
  .tafel .fk { flex: 1 1 40%; min-height: 44px; border: 1px solid var(--k); padding: 0 var(--cell, 1ch); text-align: left; align-content: center; }
  .tafel .karte, .tafel .px-on .karte { --p: 1px; position: relative; right: auto; bottom: auto; align-self: flex-end; height: 44px; margin: 12px 0 0; padding: 5px var(--cell, 1ch) 6px; }
  .tafel .sign, .tafel .px-on .sign { width: 36px; height: 33px; }
  .tafel.fewbars .karte { position: absolute; right: 0; top: calc(100% + 12px); margin: 0; }
}
@media (max-width: 899px) and (max-height: 600px) { .tafel.fewbars .karte { top: calc(100% + 8px); } }
@media print {
  .tafel .fx, .tafel .karte { display: none; }
  .tafel .vt { position: static; }
  .tafel .page, .tafel .row .k, .tafel .row .n { color: #000; }
  .tafel .ent.on { background: none; }
  .px-g, .tafel .band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.tafel .ent[data-copy] { padding-right: calc(4 * var(--cell, 1ch)); }
.tafel .ent[data-copy]::after {
  content: ""; position: absolute; right: var(--cell, 1ch); top: 50%; width: calc(16 * var(--u, 2px)); height: calc(16 * var(--u, 2px)); margin-top: calc(-8 * var(--u, 2px)); background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath d='M2 5h9v1h-9zM2 13h9v1h-9zM2 5h1v9h-1zM10 5h1v9h-1zM5 2h9v1h-9zM13 2h1v9h-1zM5 2h1v3h-1zM11 10h3v1h-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath d='M2 5h9v1h-9zM2 13h9v1h-9zM2 5h1v9h-1zM10 5h1v9h-1zM5 2h9v1h-9zM13 2h1v9h-1zM5 2h1v3h-1zM11 10h3v1h-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.tafel .ent[data-copy].on::after { background: #000; }

.tafel .band { justify-content: flex-start; }
.tafel .band h1, .tafel .band h2 { margin-right: auto; }
.tafel .band .back { width: 3ch; margin: 0 -1ch; }
.tafel .band .back svg { width: auto; height: .8em; }
.tafel .px-on .band .back { width: calc(3 * var(--cell)); margin: 0 calc(-1 * var(--cell)); box-shadow: inset calc(-1 * var(--u)) 0 #08080a; }
.tafel .px-on .band .back svg { width: calc(7 * var(--u)); height: calc(13 * var(--u)); }
@media (max-width: 899px) {
  .tafel .band, .tafel .px-on .band { min-height: 44px; align-items: center; }
  .tafel .band .back, .tafel .px-on .band .back { width: 44px; align-self: stretch; margin: 0 4px 0 calc(-1 * var(--cell, 1ch)); box-shadow: inset -2px 0 #08080a; }
  .tafel .band .back svg, .tafel .px-on .band .back svg { width: 14px; height: 26px; }
}
@media (min-width: 900px) and (pointer: coarse) {
  .tafel .band, .tafel .px-on .band { min-height: 44px; align-items: center; }
  .tafel .band .back, .tafel .px-on .band .back { align-self: stretch; min-width: 44px; }
}

.tafel .spin { --s: .8em; --spin: 1.2s; flex: none; align-self: center; width: var(--s); height: var(--s); background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 14' shape-rendering='crispEdges'%3E%3Cpath d='M6 0h2v1h-2zM6 1h2v1h-2zM6 2h2v1h-2zM6 3h2v1h-2zM6 4h2v1h-2zM6 5h2v1h-2zM6 6h2v1h-2zM6 7h2v1h-2zM6 8h2v1h-2zM6 9h2v1h-2zM6 10h2v1h-2zM6 11h2v1h-2zM6 12h2v1h-2zM6 13h2v1h-2zM22 1h2v1h-2zM22 2h2v1h-2zM21 3h3v1h-3zM21 4h2v1h-2zM21 5h2v1h-2zM20 6h2v1h-2zM20 7h2v1h-2zM19 8h2v1h-2zM19 9h2v1h-2zM18 10h3v1h-3zM18 11h2v1h-2zM18 12h2v1h-2zM38 2h2v1h-2zM37 3h3v1h-3zM36 4h3v1h-3zM35 5h3v1h-3zM34 6h3v1h-3zM33 7h3v1h-3zM32 8h3v1h-3zM31 9h3v1h-3zM30 10h3v1h-3zM30 11h2v1h-2zM52 4h3v1h-3zM50 5h5v1h-5zM48 6h5v1h-5zM45 7h5v1h-5zM43 8h5v1h-5zM43 9h3v1h-3zM56 6h14v1h-14zM56 7h14v1h-14zM71 4h3v1h-3zM71 5h5v1h-5zM73 6h5v1h-5zM76 7h5v1h-5zM78 8h5v1h-5zM80 9h3v1h-3zM86 2h2v1h-2zM86 3h3v1h-3zM87 4h3v1h-3zM88 5h3v1h-3zM89 6h3v1h-3zM90 7h3v1h-3zM91 8h3v1h-3zM92 9h3v1h-3zM93 10h3v1h-3zM94 11h2v1h-2zM102 1h2v1h-2zM102 2h2v1h-2zM102 3h3v1h-3zM103 4h2v1h-2zM103 5h2v1h-2zM104 6h2v1h-2zM104 7h2v1h-2zM105 8h2v1h-2zM105 9h2v1h-2zM105 10h3v1h-3zM106 11h2v1h-2zM106 12h2v1h-2z'/%3E%3C/svg%3E") 0 0 / calc(8 * var(--s)) var(--s) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 14' shape-rendering='crispEdges'%3E%3Cpath d='M6 0h2v1h-2zM6 1h2v1h-2zM6 2h2v1h-2zM6 3h2v1h-2zM6 4h2v1h-2zM6 5h2v1h-2zM6 6h2v1h-2zM6 7h2v1h-2zM6 8h2v1h-2zM6 9h2v1h-2zM6 10h2v1h-2zM6 11h2v1h-2zM6 12h2v1h-2zM6 13h2v1h-2zM22 1h2v1h-2zM22 2h2v1h-2zM21 3h3v1h-3zM21 4h2v1h-2zM21 5h2v1h-2zM20 6h2v1h-2zM20 7h2v1h-2zM19 8h2v1h-2zM19 9h2v1h-2zM18 10h3v1h-3zM18 11h2v1h-2zM18 12h2v1h-2zM38 2h2v1h-2zM37 3h3v1h-3zM36 4h3v1h-3zM35 5h3v1h-3zM34 6h3v1h-3zM33 7h3v1h-3zM32 8h3v1h-3zM31 9h3v1h-3zM30 10h3v1h-3zM30 11h2v1h-2zM52 4h3v1h-3zM50 5h5v1h-5zM48 6h5v1h-5zM45 7h5v1h-5zM43 8h5v1h-5zM43 9h3v1h-3zM56 6h14v1h-14zM56 7h14v1h-14zM71 4h3v1h-3zM71 5h5v1h-5zM73 6h5v1h-5zM76 7h5v1h-5zM78 8h5v1h-5zM80 9h3v1h-3zM86 2h2v1h-2zM86 3h3v1h-3zM87 4h3v1h-3zM88 5h3v1h-3zM89 6h3v1h-3zM90 7h3v1h-3zM91 8h3v1h-3zM92 9h3v1h-3zM93 10h3v1h-3zM94 11h2v1h-2zM102 1h2v1h-2zM102 2h2v1h-2zM102 3h3v1h-3zM103 4h2v1h-2zM103 5h2v1h-2zM104 6h2v1h-2zM104 7h2v1h-2zM105 8h2v1h-2zM105 9h2v1h-2zM105 10h3v1h-3zM106 11h2v1h-2zM106 12h2v1h-2z'/%3E%3C/svg%3E") 0 0 / calc(8 * var(--s)) var(--s) no-repeat;
  animation: stab var(--spin) steps(8) infinite; }
.tafel .px-on .spin { --s: calc(14 * var(--u)); }
@keyframes stab { to { -webkit-mask-position: calc(-8 * var(--s)) 0; mask-position: calc(-8 * var(--s)) 0; } }
@media (prefers-reduced-motion: reduce) { .tafel .spin { animation: none; } }
@media print { .tafel .spin, .tafel .ent[data-copy]::after { display: none; } }
