*{box-sizing:border-box}body{margin:0;background:#f7f6f1;color:#22231e;font:16px Arial,Helvetica,sans-serif}button,textarea,select{font:inherit;color:inherit}button,select{cursor:pointer}button{border:0;background:transparent}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7856ac;outline-offset:3px}.wrap{width:min(1216px,90vw);margin:auto}header{border-bottom:1px solid #d5d4cd}.mast,.mast-tools,.brand,.intro,.model,.caption,.actions,.swatches,#palette{display:flex;align-items:center}.mast{height:68px;justify-content:space-between}.brand{font-size:25px;font-weight:750;letter-spacing:-1.7px;gap:11px}.brand i{width:30px;height:30px;background:#d65732;border-radius:7px;display:grid;align-content:center;gap:2px;padding:6px;transform:rotate(-5deg)}.brand b{height:4px;border-radius:1px;background:#fff4e5}.brand b:first-child{width:64%}.brand b:last-child{width:82%}.mast-tools{gap:12px}.mast-tools button{display:flex;align-items:center;gap:8px;font-size:14px;padding:8px 5px}.mast-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.mast-tools #expand{border-left:1px solid #cfcec5;border-radius:0;padding-left:17px}.intro{justify-content:space-between;gap:20px;margin:32px 0 21px}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(46px,5.4vw,78px);letter-spacing:-.065em;line-height:1;margin:0}h1 em{font-weight:400;color:#a24732}.model{gap:12px;font-size:14px}.model span,.swatches span,#status{color:#595a53}.model select{border:1px solid #c7c7bd;background:#f7f6f1;border-radius:24px;padding:9px 26px 9px 14px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#555 50%),linear-gradient(135deg,#555 50%,transparent 50%);background-size:4px 4px;background-position:calc(100% - 14px) 52%,calc(100% - 10px) 52%;background-repeat:no-repeat}
.stage{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;padding:clamp(38px,4.7vw,72px) 7%;border-radius:5px;background:linear-gradient(119deg,#bbb9c8 0%,#d2d0d9 24%,#dbdae1 49%,#b5b2bf 74%,#94909e 100%)}.stage:before,.stage:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}.stage:before{background:linear-gradient(121deg,transparent 18%,#fffc 19% 23%,transparent 24% 26%,#fffa 27% 37%,transparent 38% 40%,#fffa 41% 49%,transparent 50%);filter:blur(7px);opacity:.32}.stage:after{background:url(grain.png);opacity:.065;mix-blend-mode:multiply}.case{width:min(100%,960px);padding:clamp(7px,1vw,15px);border-radius:8px;background:linear-gradient(160deg,#51514e,#262724 22%,#171815 68%,#373734);border:1px solid #20211d;box-shadow:inset 0 1px 1px #94948b,inset 2px 0 3px #60615b,0 3px 0 #191a17,2px 6px 3px #29262980,7px 16px 13px -6px #29262a99,16px 29px 29px -11px #29252c80}.board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:clamp(1px,.16vw,3px);background:#0c0d0d;padding:3px;border-radius:3px;box-shadow:0 0 0 2px #171816,inset 1px 2px 3px black;container-type:inline-size}.cell{position:relative;overflow:hidden;border-radius:2px;aspect-ratio:.77;perspective:120px;background:#171817}.face{position:absolute;left:0;width:100%;height:50%;overflow:hidden;background-color:var(--paint,#282927);background-image:linear-gradient(#ffffff0c,#0001);box-shadow:inset 0 1px 0 #ffffff0d}.face:before{content:attr(data-char);position:absolute;left:0;width:100%;height:200%;display:grid;place-items:center;font:650 calc(98cqw / var(--cols))/1 'Arial Narrow',Arial,sans-serif;color:#efede3;letter-spacing:-.05em;transform:scaleX(.86)}.upper{top:0;border-bottom:1px solid #101110}.lower{bottom:0;background-image:linear-gradient(#0003,#ffffff03)}.upper:before{top:0}.lower:before{bottom:0}.moving{z-index:1;transform-origin:bottom;backface-visibility:hidden;pointer-events:none}.caption{justify-content:space-between;font:12px ui-monospace,monospace;letter-spacing:.065em;text-transform:uppercase;margin:12px 0 0;color:#55574f}.caption b{display:inline-block;width:7px;height:7px;background:#4c7054;border-radius:50%;margin-right:7px}
.controls{display:grid;grid-template-columns:1fr 1fr;gap:5%;padding:26px 0 44px}.library{padding-left:9%;border-left:1px solid #d4d3cb}h2{font-size:clamp(29px,2.6vw,39px);letter-spacing:-.055em;line-height:1;margin:0 0 19px}.field{border:1px solid #c6c6bc;border-radius:5px;overflow:hidden;background:#fffef9}textarea{display:block;border:0;background:transparent;width:100%;height:87px;padding:13px 16px;resize:vertical;font:15px/1.35 ui-monospace,monospace}.swatches{border-top:1px solid #e4e2d9;gap:14px;padding:9px 14px}.swatches span{font-size:13px}#palette{gap:5px}#palette button{width:18px;height:19px;border-radius:3px;border:1px solid #1112;background-image:linear-gradient(transparent 47%,#0004 48% 52%,transparent 53%)}.actions{justify-content:space-between;margin-top:11px;font-size:14px}.actions button,#exit{background:#23241f;color:#fff;border-radius:4px;padding:11px 19px}.actions button:hover{background:#414239}.actions button:disabled{opacity:.5}
#presets{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.preset{text-align:left;padding:0;font-size:14px;font-weight:600}.art{display:block;width:100%;height:auto;border-radius:4px;margin-bottom:10px;image-rendering:pixelated;transition:transform .2s,box-shadow .2s}.preset:hover .art,.preset:focus-visible .art{transform:translateY(-3px);box-shadow:0 4px 8px #27261d24}.stage:fullscreen,.stage.enlarged{width:100%;height:100%;border-radius:0}.stage.enlarged{position:fixed;inset:0;z-index:5}#exit{display:none;position:absolute;top:15px;right:15px}.stage:fullscreen #exit,.stage.enlarged #exit{display:block}@media(max-width:750px){.wrap{width:92vw}.intro{margin:24px 0 18px}.model span{display:none}.stage{padding:44px 3%}.controls{grid-template-columns:1fr;gap:24px}.library{border-left:0;border-top:1px solid #d4d3cb;padding:22px 0 0}.mast{height:56px}.caption{font-size:11px}.art{max-height:135px;object-fit:cover}.cell{border-radius:1px}}@media(max-width:460px){h1{font-size:43px}.intro{gap:6px}.model select{font-size:12px}.board{gap:1px;padding:1px}.case{padding:5px}.upper{border-bottom-width:.5px}.stage{padding:38px 2%}}@media(prefers-reduced-motion:reduce){.art{transition:none}}

.login{max-width:920px}.sign-in-panel{padding:clamp(32px,6vw,80px);background:#e9e6db;border:1px solid #d4d2c7;border-radius:5px}.sample-flaps{display:flex;gap:3px;margin:0 0 26px}.sample-flaps b{display:grid;place-items:center;width:40px;height:53px;border-radius:3px;font:700 30px Arial;color:#f7f6f1;background:linear-gradient(#343531 48%,#151613 49% 51%,#282925 52%)}#login-status{font-size:14px;color:#505149}#login-status:empty{display:none}

#pager{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;background:#242521;color:#fff;border-radius:24px;padding:2px 8px;box-shadow:0 2px 5px #0002}#pager[hidden]{display:none}#pager button{color:inherit;min-width:32px;min-height:28px;padding:2px 6px;border-radius:16px}#pager button:hover{background:#494a43}#page-number{font:13px ui-monospace,monospace;white-space:nowrap}#pager #playback{font-size:13px;margin-left:4px;min-width:48px}#pager button:focus-visible{outline:2px solid white;outline-offset:0}

/* The presentation surface is the grid itself, including in the fullscreen fallback. */
.stage:is(:fullscreen,.enlarged) {
  display: block;
  padding: 0;
  background: #0c0d0d;
}
.stage:is(:fullscreen,.enlarged) .case,
.stage:is(:fullscreen,.enlarged) .board {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.stage:is(:fullscreen,.enlarged) .board {
  container-type: size;
  grid-template-rows: repeat(var(--rows), minmax(0, 1fr));
}
.stage:is(:fullscreen,.enlarged) .cell {
  aspect-ratio: auto;
  min-height: 0;
}
.stage:is(:fullscreen,.enlarged) .face::before {
  font-size: min(calc(114cqw / var(--cols)), calc(106cqh / var(--rows)));
}
.stage:is(:fullscreen,.enlarged) :is(#exit,#pager) {
  z-index: 2;
}
.stage.display-idle {
  cursor: none;
}
.stage.display-idle :is(#exit,#pager):not(:focus-within) {
  opacity: 0;
  pointer-events: none;
}
