:root {
	--tile-gap: 10px;
}

body {
  background: oklch(0.88 0 0);
  user-select: none;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    avenir next,
    avenir,
    segoe ui,
    helvetica neue,
    Adwaita Sans,
    Cantarell,
    Ubuntu,
    roboto,
    noto,
    helvetica,
    arial,
    sans-serif;
  font-size: 18px;
  color: oklch(0.4202 0 0);
}
#top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  color: oklch(0.4202 0 0);
  box-sizing: border-box;
  display: flex;
  padding: 0 20px;
  font-size: 24px;
}

.text-button {
  height: 100%;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    avenir next,
    avenir,
    segoe ui,
    helvetica neue,
    Adwaita Sans,
    Cantarell,
    Ubuntu,
    roboto,
    noto,
    helvetica,
    arial,
    sans-serif;
  font-size: inherit;
  border: 0;
  background: transparent;
  color: oklch(0.4202 0 0);
  outline: 0;
  margin: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
	text-decoration: none;
}
.text-button:hover {
  text-decoration: underline;
}

#main {
  gap: var(--tile-gap);

  position: fixed;
  inset: 0;
  padding-top: 62px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 42px;
  overflow: hidden;
  display: flex;
}
#main.main-full {
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}

.vertical {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 10px;
}
.horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  gap: 10px;
}
.tile {
	flex: 1;
  border-radius: 8px;
  height: 100%;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    avenir next,
    avenir,
    segoe ui,
    helvetica neue,
    Adwaita Sans,
    Cantarell,
    Ubuntu,
    roboto,
    noto,
    helvetica,
    arial,
    sans-serif;
  font-size: 32px;
  font-weight: bold;
  border: solid 1px oklch(0.84 0 0);
  background: oklch(0.96 0 0);
  color: oklch(0.5202 0 0);
  outline: 0;
  margin: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px oklch(0 0 0 / 10%), inset 0 2px 4px oklch(1 0 0);
  text-decoration: none;
}
.tile:hover {
  background: oklch(1 0 0);
}
.tile:active {
  background: oklch(0.82 0 0);
  color: oklch(0.6202 0 0);
  box-shadow: none;
}
#poster {
  background-position: 50% 50%;
  background-image: url("/lib/cho.svg");
  background-size: auto 80%;
  background-repeat: no-repeat;
}

.flex {
  flex: 3;
}
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  color: oklch(0.8 0 0);
  padding: 0 20px;
  box-sizing: border-box;
  gap: 10px;
}
