/* src/catalog/component/catalog.css */
#catalog {
  color: var(--fg1);
  height: 100%;
  background-color: var(--bg1);
}
#catalog .entries {
  display: flex;
  flex-direction: column;
  overflow: scroll;
  height: 100%;
}
.catalog-entry {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  align-content: end;
  justify-content: space-between;
  justify-items: end;
  gap: 5px;
  padding: 10px 10px 2px 10px;
  height: fit-content;
  background-color: var(--bg2);
  border: none;
  border-bottom: 1px solid var(--border-color);
  user-select: none;
  font-family:
    "Times New Roman",
    Times,
    serif;
}
.catalog-entry:active,
.catalog-entry:hover {
  background-color: color-mix(in srgb, var(--bg2) 90%, black 10%);
}
.catalog-entry .name {
  grid-row: 1;
  grid-column: 1;
  justify-self: left;
  font-size: 11pt;
  color: var(--fg1);
}
.catalog-entry .size {
  grid-row: 1;
  grid-column: 2;
  display: inline-block;
  line-height: 1;
  height: fit-content;
  text-align: right;
  font-size: 26pt;
  font-style: italic;
  color: var(--fg1);
}
.catalog-entry .progress {
  grid-row: 1;
  grid-column: 3;
  font-size: 11pt;
  font-style: italic;
  color: var(--fg2);
}

/* src/menu/menu.css */
#menu {
  position: absolute;
  inset: 0px;
  top: var(--header-size);
  z-index: 10;
  background-color: #00000080;
}
#menu .entries {
  height: fit-content;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: row;
  border: 1px solid var(--border-color);
  background-color: var(--header-gradient-color);
}
#menu .entry {
  appearance: none;
  border: none;
  height: 50px;
  width: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  font-family: system-ui;
  font-size: 11pt;
  font-weight: bold;
  text-align: center;
  color: var(--fg1);
  padding: 5px;
}
#menu .entry:active {
  background-color: #00000010;
}
#menu .entry.border-right {
  border-right: 1px solid var(--border-color);
}
#menu .entry.border-top {
  border-top: 1px solid var(--border-color);
}

/* src/header/header.css */
#header {
  width: 100%;
  height: var(--header-size);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  user-select: none;
  background:
    linear-gradient(
      to bottom,
      var(--bg1),
      var(--bg1) 0%,
      var(--header-gradient-color) 100%);
  box-shadow: 0px 0px 10px #00000080;
  z-index: 5;
}
#header .logo {
  padding: 10px;
}
#header .menu {
  --header-menu-button-color: rgb(168, 168, 168);
  position: relative;
  appearance: none;
  border: none;
  border-radius: 5px;
  margin: 5px;
  margin-right: 10px;
  aspect-ratio: 1;
  background-color: transparent;
}
#header .menu::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 1;
  background-color: var(--header-menu-button-color);
  mask: url(/images/menu.png) no-repeat center / 24px;
  -webkit-mask: url(/images/menu.png) no-repeat center / 24px;
}
#header .menu:active {
  background-color: rgba(0, 0, 0, 0.05);
}

/* src/playfield/control-pad/control-pad.css */
#control-pad {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  width: fit-content;
  height: 100%;
  padding-bottom: 0px;
  border-radius: 10px;
  background-color: transparent;
}
#control-pad .button {
  position: relative;
  display: block;
  appearance: none;
  background-color: transparent;
  margin: 0;
  border: none;
  border-radius: 5px;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-position: center center;
  background-size: 24px;
  background-repeat: no-repeat;
}
#control-pad .button:active {
  background-color: #00000010;
}
#control-pad .checkbox[data-checked=true] {
  background-color: #00000010;
}
#control-pad .button::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 1;
  background-color: var(--fg1);
  mask-position: center center;
  mask-size: 24px;
  mask-repeat: no-repeat;
}
#control-pad #control-left {
  grid-row: 2;
  grid-column: 2;
}
#control-pad #control-left::before {
  mask-image: url(/images/left.png);
}
#control-pad #control-right {
  grid-row: 2;
  grid-column: 4;
}
#control-pad #control-right::before {
  mask-image: url(/images/right.png);
}
#control-pad #control-up {
  grid-row: 1;
  grid-column: 3;
}
#control-pad #control-up::before {
  mask-image: url(/images/up.png);
}
#control-pad #control-down {
  grid-row: 2;
  grid-column: 3;
}
#control-pad #control-down::before {
  mask-image: url(/images/down.png);
}
#control-pad #control-black {
  grid-row: 1;
  grid-column: 4;
}
#control-pad #control-black::before {
  mask-image: url(/images/black.png);
}
#control-pad #control-white {
  grid-row: 1;
  grid-column: 2;
}
#control-pad #control-white::before {
  mask-image: url(/images/cross.png);
}
#control-pad #control-erase {
  grid-row: 1;
  grid-column: 1;
}
#control-pad #control-erase::before {
  mask-image: url(/images/eraser.png);
}
#control-pad #control-undo {
  grid-row: 2;
  grid-column: 1;
}
#control-pad #control-undo::before {
  mask-image: url(/images/undo.png);
}
#control-pad #control-redo {
  grid-row: 2;
  grid-column: 5;
}
#control-pad #control-redo::before {
  mask-image: url(/images/redo.png);
}

/* src/playfield/message-box/message-box.css */
#message-box {
  position: absolute;
  inset: 20px;
  left: auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 3;
}
.message {
  position: relative;
  background-color: var(--bg1);
  padding: 10px;
  width: fit-content;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  pointer-events: all;
  font-family: system-ui;
  font-size: 11pt;
}

/* src/playfield/playfield.css */
#playfield {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
}
#playfield > * {
  min-width: 0;
  min-height: 0;
}
#nonogram-root {
  grid-row: 1;
  width: 100%;
  height: 100%;
  background-color: var(--bg2);
}
#footer {
  grid-row: 2;
  height: 140px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
  box-sizing: border-box;
  background-color: var(--bg1);
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}
/*# sourceMappingURL=bundle.css.map */
