/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

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

/**
Use a more readable tab size (opinionated).
*/

:root {
  -moz-tab-size: 4;
  -o-tab-size: 4;
     tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
  margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/

body {
  font-family:
		system-ui,
		-apple-system, /* Firefox supports this but not yet `system-ui` */
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/

button,
select { /* 1 */
  text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

/**
Restore the focus styles unset by the previous rule.
*/

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/**
 * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
 * A thin layer on top of normalize.css that provides a starting point more
 * suitable for web applications.
 */

/**
 * Removes the default spacing and border for appropriate elements.
 */

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

button {
  background-color: transparent;
  background-image: none;
}

/**
 * Work around a Firefox/IE bug where the transparent `button` background
 * results in a loss of the default `button` focus styles.
 */

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
 * Tailwind custom reset styles
 */

/**
 * 1. Use the user's configured `sans` font-family (with Tailwind's default
 *    sans-serif font stack as a fallback) as a sane default.
 * 2. Use Tailwind's default "normal" line-height so the user isn't forced
 *    to override it to ensure consistency even when using the default theme.
 */

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 1 */
  line-height: 1.5; /* 2 */
}

/**
 * Inherit font-family and line-height from `html` so users can set them as
 * a class directly on the `html` element.
 */

body {
  font-family: inherit;
  line-height: inherit;
}

/**
 * 1. Prevent padding and border from affecting element width.
 *
 *    We used to set this in the html element and inherit from
 *    the parent element for everything else. This caused issues
 *    in shadow-dom-enhanced elements like <details> where the content
 *    is wrapped by a div with box-sizing set to `content-box`.
 *
 *    https://github.com/mozdevs/cssremedy/issues/4
 *
 *
 * 2. Allow adding a border to an element by just adding a border-width.
 *
 *    By default, the way the browser specifies that an element should have no
 *    border is by setting it's border-style to `none` in the user-agent
 *    stylesheet.
 *
 *    In order to easily add borders to elements by just setting the `border-width`
 *    property, we change the default border-style for all elements to `solid`, and
 *    use border-width to hide them instead. This way our `border` utilities only
 *    need to set the `border-width` property instead of the entire `border`
 *    shorthand, making our border utilities much more straightforward to compose.
 *
 *    https://github.com/tailwindcss/tailwindcss/pull/116
 */

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

/*
 * Ensure horizontal rules are visible by default
 */

hr {
  border-top-width: 1px;
}

/**
 * Undo the `border-style: none` reset that Normalize applies to images so that
 * our `border-{width}` utilities have the expected effect.
 *
 * The Normalize reset is unnecessary for us since we default the border-width
 * to 0 on all elements.
 *
 * https://github.com/tailwindcss/tailwindcss/issues/362
 */

img {
  border-style: solid;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #9ca3af;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/**
 * Reset links to optimize for opt-in styling instead of
 * opt-out.
 */

a {
  color: inherit;
  text-decoration: inherit;
}

/**
 * Reset form element properties that are easy to forget to
 * style explicitly so you don't inadvertently introduce
 * styles that deviate from your design system. These styles
 * supplement a partial reset that is already applied by
 * normalize.css.
 */

button,
input,
optgroup,
select,
textarea {
  padding: 0;
  line-height: inherit;
  color: inherit;
}

/**
 * Use the configured 'mono' font family for elements that
 * are expected to be rendered with a monospace font, falling
 * back to the system monospace stack if there is no configured
 * 'mono' font family.
 */

pre,
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/**
 * Make replaced elements `display: block` by default as that's
 * the behavior you want almost all of the time. Inspired by
 * CSS Remedy, with `svg` added as well.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

/**
 * Constrain images and videos to the parent width and preserve
 * their instrinsic aspect ratio.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */

img,
video {
  max-width: 100%;
  height: auto;
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
}

.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
}

.bg-blue-200 {
  --tw-bg-opacity: 1;
  background-color: rgba(191, 219, 254, var(--tw-bg-opacity));
}

.hover\:bg-gray-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
}

.hover\:bg-gray-400:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(156, 163, 175, var(--tw-bg-opacity));
}

.hover\:bg-blue-400:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
}

.border-black {
  --tw-border-opacity: 1;
  border-color: rgba(0, 0, 0, var(--tw-border-opacity));
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border-2 {
  border-width: 2px;
}

.border {
  border-width: 1px;
}

.border-t-2 {
  border-top-width: 2px;
}

.cursor-pointer {
  cursor: pointer;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-2 {
  flex: 2 2 0%;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.font-bold {
  font-weight: 700;
}

.h-full {
  height: 100%;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.list-square {
  list-style-type: square;
}

.m-2 {
  margin: 0.5rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-8 {
  margin-top: 2rem;
}

.p-8 {
  padding: 2rem;
}

.p-16 {
  padding: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pl-16 {
  padding-left: 4rem;
}

* {
  --tw-shadow: 0 0 #0000;
}

* {
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
}

.text-center {
  text-align: center;
}

.text-black {
  --tw-text-opacity: 1;
  color: rgba(0, 0, 0, var(--tw-text-opacity));
}

.text-gray-100 {
  --tw-text-opacity: 1;
  color: rgba(243, 244, 246, var(--tw-text-opacity));
}

.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgba(229, 231, 235, var(--tw-text-opacity));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgba(31, 41, 55, var(--tw-text-opacity));
}

.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgba(59, 130, 246, var(--tw-text-opacity));
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.visible {
  visibility: visible;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.w-12 {
  width: 3rem;
}

.w-full {
  width: 100%;
}

.gap-4 {
  gap: 1rem;
}

.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}

.gap-y-16 {
  row-gap: 4rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.col-span-3 {
  grid-column: span 3 / span 3;
}

.col-span-4 {
  grid-column: span 4 / span 4;
}

.col-span-5 {
  grid-column: span 5 / span 5;
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-7 {
  grid-column: span 7 / span 7;
}

@-webkit-keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@-webkit-keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@-webkit-keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
            animation-timing-function: cubic-bezier(0.8,0,1,1);
  }

  50% {
    transform: none;
    -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
            animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
            animation-timing-function: cubic-bezier(0.8,0,1,1);
  }

  50% {
    transform: none;
    -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
            animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}

.bg-hero-wiggle {
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.2'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cardpuzzle {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.LETTER {
  --tw-border-opacity: 1;
  border-color: rgba(251, 191, 36, var(--tw-border-opacity));
  border-bottom-width: 8px;
}

.cardpuzzle > li {
  margin-left: 2rem;
  margin-right: 2rem;
  padding-bottom: 0.5rem;
  padding-top: 2rem;
  text-align: center;
  --tw-border-opacity: 1;
  border-color: rgba(251, 191, 36, var(--tw-border-opacity));
  border-bottom-width: 8px;
  width: 3em;
}

.cardpuzzle.hint > li {
  border-bottom-width: 0px;
}

body {
  width: 100%;
}

@media (min-width: 640px) {
  body {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  body {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  body {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  body {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  body {
    max-width: 1536px;
  }
}

body {
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
}

body.puzzle {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.25rem;
  line-height: 1.75rem;
  max-width: 1024px;
}

@media (min-width: 768px) {
  body.puzzle {
    font-size: 3rem;
    line-height: 1;
  }
}

.index-section {
  --tw-bg-opacity: 1;
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
  --tw-bg-opacity: 0.75;
  --tw-border-opacity: 1;
  border-color: rgba(0, 0, 0, var(--tw-border-opacity));
  border-width: 1px;
  flex: 1 1 0%;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .index-section {
    min-height: 100vh;
  }
}

.index-section > h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 2rem;
  text-align: center;
}

.index-section > ul.info {
  list-style-type: disc;
  padding-left: 2rem;
}

.index-section > ul.puzzles {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.index-section > ul.puzzles > li {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.index-section > ul.puzzles > li > a:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(191, 219, 254, var(--tw-bg-opacity));
}

.index-section > ul.puzzles > li > a {
  border-radius: 0.25rem;
  display: block;
  height: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  --tw-text-opacity: 1;
  color: rgba(59, 130, 246, var(--tw-text-opacity));
  text-decoration: underline;
  width: 100%;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  transition-duration: 500ms;
}

body > footer {
  --tw-bg-opacity: 1;
  background-color: rgba(156, 163, 175, var(--tw-bg-opacity));
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

body > footer a {
  text-decoration: underline;
}

body > footer a[rel*="license"] > img {
  display: inline-block;
  height: 2rem;
}

.blurred {
  position: relative;
}

.blurred > .reveal {
  --tw-bg-opacity: 1;
  background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgba(255, 255, 255, var(--tw-text-opacity));
}

.blurred > .hideagain {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgba(37, 99, 235, var(--tw-text-opacity));
  font-style: italic;
  text-decoration: underline;
}

.blurred:target > .reveal {
  display: none;
}

#submitsolution > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

#submitsolution {
  display: flex;
  flex-direction: row;
}

#submitsolution input[type="text"] {
  border-radius: 0.5rem;
  border-width: 1px;
  flex: 1 1 0%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#submitsolution input[type="text"][size] {
  --steps: 1;
  background-image: repeating-linear-gradient(to right, white, white calc(100%/var(--steps)), rgb(251, 191, 36) calc(100%/var(--steps)), rgb(251, 191, 36) calc(200%/var(--steps)));
  background-size: 100% 8px;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* XXX I don't know why but I can't seem to use --steps: calc(2 * attr(size) + 1) */

#submitsolution input[type="text"][size="4"]  {
  --steps: calc(2 * 4 + 1)
}

#submitsolution input[type="text"][size="5"]  {
  --steps: calc(2 * 5 + 1)
}

#submitsolution input[type="text"][size="6"]  {
  --steps: calc(2 * 6 + 1)
}

#submitsolution input[type="text"][size="7"]  {
  --steps: calc(2 * 7 + 1)
}

#submitsolution input[type="text"][size="8"]  {
  --steps: calc(2 * 8 + 1)
}

#submitsolution input[type="text"][size="9"]  {
  --steps: calc(2 * 9 + 1)
}

#submitsolution input[type="text"][size="10"] {
  --steps: calc(2 * 10 + 1)
}

#submitsolution input[type="text"][size="11"] {
  --steps: calc(2 * 11 + 1)
}

#submitsolution input[type="text"][size="12"] {
  --steps: calc(2 * 12 + 1)
}

#submitsolution input[type="text"][size="13"] {
  --steps: calc(2 * 13 + 1)
}

#submitsolution input[type="text"][size="14"] {
  --steps: calc(2 * 14 + 1)
}

#submitsolution input[type="text"][size="15"] {
  --steps: calc(2 * 15 + 1)
}

#submitsolution input[type="text"][size="16"] {
  --steps: calc(2 * 16 + 1)
}

#submitsolution button[type="submit"] {
  --tw-bg-opacity: 1;
  background-color: rgba(37, 99, 235, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"]:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"] {
  border-radius: 0.5rem;
  border-width: 1px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  --tw-text-opacity: 1;
  color: rgba(255, 255, 255, var(--tw-text-opacity));
}

#submitsolution button[type="reset"] {
  --tw-bg-opacity: 1;
  background-color: rgba(220, 38, 38, var(--tw-bg-opacity));
}

#submitsolution button[type="reset"]:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
}

#submitsolution button[type="reset"] {
  border-radius: 0.5rem;
  border-width: 1px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  --tw-text-opacity: 1;
  color: rgba(255, 255, 255, var(--tw-text-opacity));
}

#submitsolution button[type="submit"].loading {
  --tw-bg-opacity: 1;
  background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"].loading:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"].loading {
  cursor: not-allowed;
  --tw-text-opacity: 1;
  color: rgba(0, 0, 0, var(--tw-text-opacity));
}

#submitsolution button[type="submit"].loading:before {
  border-radius: 9999px;
  border-width: 2px;
  border-top-width: 0px;
  border-right-width: 0px;
  display: inline-block;
  height: 2rem;
  margin-right: 1rem;
  width: 2rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 700ms;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
  content: ' ';
}

#submitsolution button[type="submit"].success {
  --tw-bg-opacity: 1;
  background-color: rgba(110, 231, 183, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"].success:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(110, 231, 183, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"].success {
  --tw-text-opacity: 1;
  color: rgba(5, 150, 105, var(--tw-text-opacity));
}

#submitsolution button[type="submit"].success:before {
  display: inline-block;
  height: 2rem;
  margin-right: 1rem;
  width: 2rem;
  content: '\2713';
}

#submitsolution button[type="submit"].error {
  --tw-bg-opacity: 1;
  background-color: rgba(252, 165, 165, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"].error:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(252, 165, 165, var(--tw-bg-opacity));
}

#submitsolution button[type="submit"].error {
  --tw-text-opacity: 1;
  color: rgba(220, 38, 38, var(--tw-text-opacity));
}

#submitsolution button[type="submit"].error:before {
  display: inline-block;
  height: 2rem;
  margin-right: 1rem;
  width: 2rem;
  content: '\2716';
}

#puzzle.alphacube {
  --cell-size: 3rem;
  display: grid;
  grid-template-columns: repeat(3, calc(var(--cell-size) * 13 / 4)); /* Take margin into account: 3 + 1/4 */
  place-content: center;
}

@media (min-width: 768px) { #puzzle.alphacube { --cell-size: 4rem;
  }
}

#puzzle.alphacube > li:nth-child(1) {
  border-width: 2px 2px 0 2px;
}

#puzzle.alphacube.hint1 > li:nth-child(1) {
  border-bottom: 1px dashed;
}

#puzzle.alphacube > li:nth-child(4),
#puzzle.alphacube > li:nth-child(8) {
  border-width: 0 0 2px 2px;
}

#puzzle.alphacube.hint1 > li:nth-child(4),
#puzzle.alphacube.hint1 > li:nth-child(8) {
  border-top: 1px dashed; border-right: 1px dashed;
}

#puzzle.alphacube > li:nth-child(5),
#puzzle.alphacube > li:nth-child(9) {
  border-width: 2px 2px 0 0;
}

#puzzle.alphacube.hint1 > li:nth-child(5),
#puzzle.alphacube.hint1 > li:nth-child(9) {
  border-bottom: 1px dashed; border-left: 1px dashed;
}

#puzzle.alphacube > li:nth-child(12) {
  border-width: 0 2px 2px 2px;
}

#puzzle.alphacube.hint1 > li:nth-child(12) {
  border-top: 1px dashed;
}

#puzzle.alphacube > li > ul {
  display: grid;
  grid-template-columns: repeat(3, var(--cell-size));
}

#puzzle.alphacube > li > ul > li {
  margin: calc(var(--cell-size) / 8);
  text-align: center;
  width: var(--cell-size);
  height: var(--cell-size);
  line-height: var(--cell-size);
}

#puzzle.alphacube > li:nth-child(1) > ul > li:nth-child(4), #puzzle.alphacube > li:nth-child(1) > ul > li:nth-child(8), #puzzle.alphacube > li:nth-child(4) > ul > li:nth-child(3), #puzzle.alphacube > li:nth-child(5) > ul > li:nth-child(4), #puzzle.alphacube > li:nth-child(5) > ul > li:nth-child(8), #puzzle.alphacube > li:nth-child(8) > ul > li:nth-child(3), #puzzle.alphacube > li:nth-child(9) > ul > li:nth-child(4), #puzzle.alphacube > li:nth-child(9) > ul > li:nth-child(8), #puzzle.alphacube > li:nth-child(12) > ul > li:nth-child(3) {
  --tw-border-opacity: 1;
  border-color: rgba(251, 191, 36, var(--tw-border-opacity));
  border-radius: 9999px;
  border-width: 2px;
}

#puzzle.pz-20210401 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#puzzle.pz-20210401 > li {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding: 0.5rem;
  padding-left: 5rem;
  background-repeat: no-repeat;
  background-size: auto 0;
  background-position: 0 50%;
}

#puzzle.pz-20210401.hint2 > li {
  background-size: auto 100%;
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-10 -10 20 20"><circle r="8" stroke-width="1" stroke-dasharray="1,1" stroke="rgb(251, 191, 36)" fill="none"/></svg>');
  transition: background-size 1s ease-in;
}

#puzzle.pz-20210408 {
  --cell-size: 10rem;
  display: grid;
  grid-template-columns: repeat(5, var(--cell-size));
  grid-template-rows: repeat(4, var(--cell-size));
  margin: 0 auto;
  width: calc(var(--cell-size) * 5);
  border: 1px solid #000;
}

#puzzle.pz-20210408 > li {
  text-align: center;
  line-height: var(--cell-size);
  border: 1px solid #ddd;
}

#puzzle.pz-20210415 {
  text-align: center;
}

#puzzle.pz-20210415 > li::first-letter {
  --tw-text-opacity: 1;
  color: rgba(251, 191, 36, var(--tw-text-opacity));
}

#puzzle.pz-20210422 > li {
  --tw-border-opacity: 1;
  border-color: rgba(251, 191, 36, var(--tw-border-opacity));
  border-width: 1px;
  margin: 1rem;
  padding: 1rem;
  text-align: center;
}

#puzzle.pz-20210422 > li > svg {
  height: 4rem;
  margin-left: auto;
  margin-right: auto;
  width: 4rem;
}

@media (min-width: 768px) {
  #puzzle.pz-20210422 > li > svg {
    height: 8rem;
    width: 8rem;
  }
}

#puzzle.pz-20210422 > li > svg {
  color: black;
  stroke: black;
}

#puzzle.pz-20210422.hint1 > li > svg {
  stroke: lime;
}

table.hint-20210422 tr td {
  border-color: black; padding: 1rem;
}

table.hint-20210422.hint1 tr td {
  border-color: lime;
}

table.hint-20210422 tr:nth-child(1) td:nth-child(1) {
  border-width: 0 2px 2px 0;
}

table.hint-20210422 tr:nth-child(1) td:nth-child(2) {
  border-width: 0 0 2px 2px; transform: scaleX(-1);
}

table.hint-20210422 tr:nth-child(2) td:nth-child(1) {
  border-width: 2px 2px 0 0; transform: scaleY(-1);
}

table.hint-20210422 tr:nth-child(2) td:nth-child(2) {
  border-width: 2px 0 0 2px; transform: rotate(180deg);
}

#puzzle.pz-20210429 {
  --cell-size: 4rem;
  display: grid;
  grid: repeat(7, var(--cell-size)) / repeat(13, var(--cell-size));
  justify-content: center;
}

#puzzle.pz-20210429 > li {
  --tw-border-opacity: 1;
  border-color: rgba(0, 0, 0, var(--tw-border-opacity));
  border-radius: 9999px;
  border-width: 2px;
  text-align: center;
  line-height: var(--cell-size);
  position: relative;
}

#puzzle.pz-20210429 > li:nth-last-child(-n+7){
  --tw-border-opacity: 1;
  border-color: rgba(251, 191, 36, var(--tw-border-opacity));
}

#puzzle.pz-20210429 > li:nth-child(1) {
  grid-area: 1 / 7
}

#puzzle.pz-20210429 > li:nth-child(2) {
  grid-area: 2 / 6
}

#puzzle.pz-20210429 > li:nth-child(3) {
  grid-area: 2 / 8
}

#puzzle.pz-20210429 > li:nth-child(4) {
  grid-area: 3 / 5
}

#puzzle.pz-20210429 > li:nth-child(5) {
  grid-area: 3 / 7
}

#puzzle.pz-20210429 > li:nth-child(6) {
  grid-area: 3 / 9
}

#puzzle.pz-20210429 > li:nth-child(7) {
  grid-area: 4 / 4
}

#puzzle.pz-20210429 > li:nth-child(8) {
  grid-area: 4 / 6
}

#puzzle.pz-20210429 > li:nth-child(9) {
  grid-area: 4 / 8
}

#puzzle.pz-20210429 > li:nth-child(10) {
  grid-area: 4 / 10
}

#puzzle.pz-20210429 > li:nth-child(11) {
  grid-area: 5 / 3
}

#puzzle.pz-20210429 > li:nth-child(12) {
  grid-area: 5 / 5
}

#puzzle.pz-20210429 > li:nth-child(13) {
  grid-area: 5 / 7
}

#puzzle.pz-20210429 > li:nth-child(14) {
  grid-area: 5 / 9
}

#puzzle.pz-20210429 > li:nth-child(15) {
  grid-area: 5 / 11
}

#puzzle.pz-20210429 > li:nth-child(16) {
  grid-area: 6 / 2
}

#puzzle.pz-20210429 > li:nth-child(17) {
  grid-area: 6 / 4
}

#puzzle.pz-20210429 > li:nth-child(18) {
  grid-area: 6 / 6
}

#puzzle.pz-20210429 > li:nth-child(19) {
  grid-area: 6 / 8
}

#puzzle.pz-20210429 > li:nth-child(20) {
  grid-area: 6 / 10
}

#puzzle.pz-20210429 > li:nth-child(21) {
  grid-area: 6 / 12
}

#puzzle.pz-20210429 > li:nth-child(22) {
  grid-area: 7 / 1
}

#puzzle.pz-20210429 > li:nth-child(23) {
  grid-area: 7 / 3
}

#puzzle.pz-20210429 > li:nth-child(24) {
  grid-area: 7 / 5
}

#puzzle.pz-20210429 > li:nth-child(25) {
  grid-area: 7 / 7
}

#puzzle.pz-20210429 > li:nth-child(26) {
  grid-area: 7 / 9
}

#puzzle.pz-20210429 > li:nth-child(27) {
  grid-area: 7 / 11
}

#puzzle.pz-20210429 > li:nth-child(28) {
  grid-area: 7 / 13
}

#puzzle.pz-20210429.hint1 > li:nth-child(-n+21):after {
  position: absolute;
  top: var(--cell-size);
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image:
    url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-5 -5 10 10"><path d="M -5,0 l 5,-1 5,1 M 0,-1 v -4" fill="none" stroke="rgb(96, 165, 250)"/></svg>');
}

#puzzle.pz-20210429.hint2 > li:nth-child(-n+21) {
  color: rgb(96, 165, 250);
  font-size: 80%;
}

#puzzle.pz-20210506 {
  padding-left: 13rem;
}

#puzzle.pz-20210506 > li {
  --size: 3rem;
  --hint-margin: .5rem;
  height: var(--size);
  line-height: var(--size);
  transition: margin .5s ease-in;
  position: relative;
}

#puzzle.pz-20210506 > li:nth-child(odd):nth-child(n+2) {
  margin-top: .5rem
}

#puzzle.pz-20210506.hint1 > li:nth-child(odd):nth-child(n+2) {
  margin-top: 2rem
}

#puzzle.pz-20210506.hint2 > li:before {
  width: calc(2 * var(--size));
  height: calc(2 * var(--size));
  border: 4px dashed rgb(251, 191, 36);
  position: absolute;
  display: block;
  content:'';
}

#puzzle.pz-20210506.hint2 > li:nth-child(even):before {
  top: calc(-1 * var(--size));
  left: calc(-2 * var(--size) - var(--hint-margin));
}

#puzzle.pz-20210506.hint2 > li:nth-child(odd):before{
  top: 0;
  left: calc(-4 * var(--size) - 2 * var(--hint-margin));
}

#puzzle.pz-20210513,
#puzzle.pz-20210527 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#puzzle.pz-20210513 > li,
#puzzle.pz-20210527 > li {
  margin: .5rem 0;
  padding: 0 .5rem;
  box-sizing: border-box;
}

#puzzle.pz-20210513.hint1 > li,
#puzzle.pz-20210527.hint1 > li {
  /* using box-shadow instead of border to avoid shifting the <li> */
  box-shadow: -8px 0 rgb(251, 191, 36);
}

#puzzle.pz-20211023 {
  margin: 1rem auto;
}

#puzzle.pz-20211030 {
  margin: 1rem auto;
}

#puzzle.pz-20211030 .metaclue {
  --yellow: #edf406;
  --black: #000;
  background: repeating-linear-gradient(to bottom, var(--yellow), var(--yellow) .5rem, var(--black) .5rem, var(--black) 1rem);
}

#puzzle.pz-20211030 .metaclue p {
  color: #fff;
  background: rgba(0, 0, 0, .3);
}

#puzzle.pz-20211031.activated td.metaclue input {
  background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        #eee 10px,
        #eee 20px
    );
}

#puzzle.pz-20211108.crosswords td.clue li {
  font-size: 25%;
}

#puzzle.pz-20211109 td.clue li.metaclue-D {
  background: #995AA0;
}

#puzzle.pz-20211109 td.clue li.metaclue-L {
  background: #00AAE6;
}

#puzzle.pz-20211109 td.clue li.metaclue-M {
  background: #EA9500;
}

#puzzle.pz-20211109 td.clue li.metaclue-R {
  background: #E3331C;
}

#puzzle.pz-20211110 td.clue li.metaclue {
  background: #0d9263;
}

#puzzle.pz-20211113 td.clue li.metaclue {
  --blue: #169dd9;
  --yellow: #ffe300;
  --red: #e42126;
  background: repeating-linear-gradient(
      45deg
      , var(--yellow), var(--yellow) .5rem
      , var(--blue) .5rem, var(--blue) 1.5rem
      , var(--red) 1.5rem, var(--red) 2rem
    );
}

#puzzle.pz-20211113 td.clue li.metaclue p {
  color: white;
  background: rgba(0, 0, 0, .3);
}

#puzzle.pz-20211208 .clue .metaclue {
  background: #007D44;
}

#puzzle.pz-20211220 .clue .metaclue {
  font-size: 50%;  /* regular clue is 30% */
}

@media (min-width: 640px) {
}

@media (min-width: 768px) {
  .md\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }

  .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:mx-16 {
    margin-left: 4rem;
    margin-right: 4rem;
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }

  .lg\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .lg\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1280px) {
}

@media (min-width: 1536px) {
}
