/* Vorschau der Wallpaper-Modi (ui/src/views/wpscene.ts). Maße in cqh wie im Renderer (scene.rs). */
.desk.scene { display: grid; place-items: center; color: rgba(235, 232, 226, .8); }
.scene.theme-night { --sd: #2f3439; --sl: #4b525a; --lm: rgba(240, 217, 181, .22); }
.scene.theme-brown { --sd: #b58863; --sl: #f0d9b5; --lm: rgba(155, 199, 0, .41); }
.scene.theme-blue { --sd: #8ca2ad; --sl: #dee3e6; --lm: rgba(155, 199, 0, .41); }
.scene .cg-wrap.mini { position: relative; flex: none; filter: brightness(var(--dim));
  background: repeating-conic-gradient(var(--sd) 0 25%, var(--sl) 0 50%) 0 0 / 25% 25%; }
.scene .mini piece, .scene .mini i.lm { position: absolute; width: 12.5%; height: 12.5%; background-size: cover; transform: none; }
.scene .mini i.lm { background: var(--lm); }
.scene .yr { font-family: Menlo, monospace; font-size: .8em; letter-spacing: .2em; color: rgba(235, 232, 226, .5); }

.sc-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: 6cqw; }
.sc-stage.left { justify-content: flex-start; }
.sc-stage.right { justify-content: flex-end; }
.sc-row { display: flex; align-items: center; gap: 7cqh; }
.sc-tile { display: flex; flex-direction: column; align-items: center; gap: .55em; white-space: nowrap; }

.sc-grid { display: flex; flex-wrap: wrap; justify-content: center; flex: none; }
.sc-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45em; min-width: 0; filter: brightness(.3); transition: filter 1.2s; }
.sc-cell.lit { filter: none; transition: none; }
.sc-cell.lit .mini { box-shadow: 0 0 2.6cqh rgba(240, 217, 181, .28); }
.sc-cell .ln { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sc-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 .35cqh rgba(255, 255, 255, .35)); }

.sc-sheet { overflow: hidden; display: flex; flex-direction: column; flex: none; }
.sc-sheet .hd { font-size: 1.2em; color: rgba(235, 232, 226, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-sheet .yr { font-size: .8em; margin-top: .3em; }
.sc-sheet .rows { margin-top: 1.4em; font-family: Menlo, monospace; }
.sc-sheet .row { display: grid; grid-template-columns: 2.6em 1fr 1fr; line-height: 1.65em; }
.sc-sheet .n { color: rgba(235, 232, 226, .3); }
.sc-sheet .cur { color: #fff; text-shadow: 0 0 1.2cqh rgba(240, 217, 181, .55); }

.sc-poster { gap: 6cqh; }
.sc-poster .text { position: relative; flex: none; }
.sc-poster .num { position: absolute; right: 0; top: -21cqh; font-weight: 100; font-size: 62cqh; line-height: .8; color: rgba(235, 232, 226, .06); pointer-events: none; }
.sc-poster .bar { position: relative; display: block; width: 7cqh; height: .8cqh; background: #00865B; margin-bottom: 3cqh; }
.sc-poster .name { position: relative; font-weight: 200; font-size: 10.5cqh; line-height: 1.05; color: rgba(235, 232, 226, .92); white-space: nowrap; overflow: hidden; }
.sc-poster .yr { position: relative; font-size: 2cqh; letter-spacing: .3em; color: rgba(235, 232, 226, .4); margin: 1.5cqh 0; }
.sc-poster .san { position: relative; margin-top: 4cqh; font-family: Menlo, monospace; font-size: 2.4cqh; letter-spacing: .1em; color: rgba(235, 232, 226, .7); }

/* Lernmodus (ui/src/views/wplearn.ts), Schriftgrößen relativ zu --px der Tafel */
.lm-row { align-items: flex-start; }
.lm-bar { position: relative; flex: none; background: #2b2d31; border-radius: .3cqh; overflow: hidden; filter: brightness(var(--dim)); }
.lm-bar i { position: absolute; left: 0; right: 0; bottom: 0; background: #e8e6e1; transition: height .8s cubic-bezier(.65, 0, .35, 1); }
.lm-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 64, 64, .5); }
.lm-panel { display: flex; flex-direction: column; flex: none; color: rgba(235, 232, 226, .85); }
.lm-panel .kicker { display: flex; gap: 1.1em; align-items: baseline; white-space: nowrap; overflow: hidden; }
.lm-panel .kicker .eco { font-family: Menlo, monospace; font-size: .9em; letter-spacing: .25em; color: #00865B; }
.lm-panel .kicker .who { font-size: .8em; letter-spacing: .12em; text-transform: uppercase; color: rgba(235, 232, 226, .5); }
.lm-panel .family { margin-top: 1.4em; font-weight: 200; font-size: 2.6em; line-height: 1.1; color: rgba(235, 232, 226, .96); }
.lm-panel .variation { margin-top: .25em; font-weight: 200; font-size: 1.6em; line-height: 1.2; color: rgba(235, 232, 226, .62); }
.lm-panel .theory { margin-top: 1.3em; font-size: .92em; color: rgba(235, 232, 226, .62); }
.lm-panel .theory small { display: block; margin: .45em 0 0 1.1em; font-family: Menlo, monospace; font-size: .87em; color: rgba(235, 232, 226, .4); }
.lm-panel .dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: #00865B; margin-right: .5em; }
.lm-panel .dot.off { background: #606060; }
.lm-panel .rule { display: block; width: 2.4em; height: max(.16em, 2px); background: #00865B; margin-top: 1.5em; }
.lm-panel .score { margin-top: .9em; display: flex; align-items: baseline; gap: .9em; }
.lm-panel .score .n { font-weight: 200; font-size: 3.4em; line-height: 1; color: #fff; }
.lm-panel .score .mv, .lm-panel .score .pending { font-family: Menlo, monospace; font-size: 1.05em; color: rgba(235, 232, 226, .7); }
.lm-panel .verdict { margin-top: .9em; font-size: 1.05em; }
.lm-panel .verdict small { display: block; margin-top: .3em; font-family: Menlo, monospace; font-size: .82em; color: rgba(235, 232, 226, .55); }
.lm-panel .inaccuracy { color: #56b4e9; }
.lm-panel .mistake { color: #e69f00; }
.lm-panel .blunder { color: #db3031; }
