.memory-card{--u:calc(100cqw / 240);text-align:center;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:url(/examples/ink/sg-memory-card-console.svg) 0 0/100% no-repeat;width:100%;max-width:28rem;margin:0 auto;font-family:Shantell Sans,sans-serif;position:relative;container-type:inline-size}.memory-card:focus-visible{outline:none}.memory-card>i,.memory-card>canvas,.memory-card .readout,.memory-card .banner,.memory-card .pad,.memory-card .a{box-sizing:border-box;background-repeat:no-repeat;margin:0;position:absolute}.memory-card .readout,.memory-card .banner{color:#2f3a1f;font:700 calc(10 * var(--u)) / 1 ui-monospace, Menlo, monospace;text-transform:uppercase}.memory-card .readout{top:calc(27 * var(--u));left:calc(50 * var(--u));width:calc(140 * var(--u));text-align:left}.memory-card .readout b{float:right}.memory-card .grid{top:calc(39 * var(--u));left:calc(50 * var(--u));width:calc(140 * var(--u));height:calc(60 * var(--u))}.memory-card .banner{top:calc(70 * var(--u));padding:calc(3 * var(--u)) calc(6 * var(--u));outline:calc(1 * var(--u)) solid;font-size:calc(12 * var(--u));white-space:nowrap;background:#c5d6a0;left:50%;translate:-50% -50%}.memory-card .ram{top:calc(122 * var(--u));left:calc(28 * var(--u));width:calc(84 * var(--u));aspect-ratio:84/48;background:url(/examples/ink/sg-memory-card-ram.svg) 100% 0/200% 100%}.memory-card[data-score="0"] .ram{background-position-x:0}.memory-card .access{top:calc(180 * var(--u));left:calc(166 * var(--u));width:calc(16 * var(--u));aspect-ratio:1;background:url(/examples/ink/sg-memory-card-light.svg) 100% 0/200% 100%}.memory-card .pad{top:calc(218 * var(--u));left:calc(34 * var(--u));width:calc(64 * var(--u));aspect-ratio:1}.memory-card .pad button{cursor:pointer;touch-action:none;background:0 0;border:0;padding:0;position:absolute;inset:0}.memory-card [aria-label=up]{clip-path:polygon(0 0,100% 0,50% 50%)}.memory-card [aria-label=down]{clip-path:polygon(0 100%,100% 100%,50% 50%)}.memory-card [aria-label=left]{clip-path:polygon(0 0,0 100%,50% 50%)}.memory-card [aria-label=right]{clip-path:polygon(100% 0,100% 100%,50% 50%)}.memory-card .a{top:calc(226 * var(--u));left:calc(146 * var(--u));width:calc(48 * var(--u));aspect-ratio:1;padding:0 0 calc(4 * var(--u));color:#fbf6ea;font:inherit;font-size:calc(20 * var(--u));cursor:pointer;touch-action:manipulation;background:url(/examples/ink/sg-memory-card-a.svg) 0 0/200% 100%;border:0;border-radius:50%;font-weight:700}.memory-card .a:active{padding-top:calc(2 * var(--u));background-position-x:100%}.memory-card .a:focus-visible{outline-offset:3px;outline:2px dashed}.memory-card .said{margin:calc(332 * var(--u)) 0 0;font-weight:700}@keyframes memory-card-odd{0%,to{background-position-x:0}}@keyframes memory-card-even{0%,to{background-position-x:0}}.memory-card .odd{animation:.25s step-end memory-card-odd}.memory-card .even{animation:.25s step-end memory-card-even}.memory-card:not([data-phase=new\ best]) .access{animation:none}
