html {
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Press Start 2P', cursive;
  color: #f8efe0;
  background: #2f281c;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

*,
*::before,
*::after {
  font-family: 'Press Start 2P', cursive;
}

li {
  list-style-type: none;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.top-bar__title {
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}

.back-link,
.top-bar__button,
.difficulty-btn,
.start-btn,
.action-btn {
  font: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: inherit;
  background: rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.back-link,
.top-bar__button {
  padding: 10px 14px;
}

.back-link:hover,
.top-bar__button:hover,
.difficulty-btn:hover,
.start-btn:hover,
.action-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.app {
  height: 90%;
  min-height: 0;
  padding: 18px;
  box-sizing: border-box;
}

.screen {
  height: 100%;
  min-height: 0;
}

.hidden {
  display: none !important;
}

.screen--menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  align-content: start;
}

.screen--mode {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 805px;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(102, 196, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(13, 17, 24, 0.98), rgba(8, 10, 14, 0.98));
}

.hero-card,
.game-card,
.difficulty-card,
.challenge-panel,
.board-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 14, 10, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card--menu {
  width: 97%;
  max-width: none;
  margin-bottom: 10px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f0c86d;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-card h1 {
  margin: 0 0 16px;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.4;
}

.hero-card__text {
  margin: 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(248, 239, 224, 0.92);
}

.menu-stack.custom-menu-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(980px, 100%);
}

.game-card--wide {
  min-width: 1800px;
  margin: 0;
}

.arcade-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  width: 100%;
}

.arcade-row .game-card {
  flex: 1 1 0;
  min-width: 600px;
  margin-top: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

@media (max-width: 1500px) {
  .arcade-row .game-card {
    min-width: 320px;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .arcade-row {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .arcade-row .game-card {
    max-width: 100%;
  }
}

.game-card,
.difficulty-card {
  padding: 22px;
}

.game-card,
.difficulty-card,
.mode-card__hero {
  text-align: center;
}

.game-card ul {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

.game-card__action {
  display: inline-flex;
  margin-top: 8px;
}

.mode-card {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  box-sizing: border-box;
}

.mode-card__hero,
.mode-card .difficulty-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 14, 10, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.mode-card__hero {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.mode-card__hero h2 {
  margin: 0 0 14px;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.45;
}

.mode-card__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(248, 239, 224, 0.88);
}

.mode-card .difficulty-card {
  padding: 22px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.mode-card__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.mode-card__actions .start-btn,
.mode-card__actions .action-btn {
  min-width: 0;
  flex: 1 1 0;
}

.mode-card .difficulty-group {
  width: 100%;
}

.mode-card .difficulty-btn {
  width: 100%;
}

.game-card--active {
  border-color: rgba(243, 194, 91, 0.28);
  background: linear-gradient(180deg, rgba(92, 68, 28, 0.92), rgba(28, 20, 13, 0.78));
}

.game-card--potion {
  border-color: rgba(102, 196, 255, 0.22);
  background: linear-gradient(180deg, rgba(21, 41, 53, 0.9), rgba(14, 18, 28, 0.82));
}

.game-card--bat {
  background: linear-gradient(180deg, rgba(58, 51, 39, 0.92), rgba(22, 18, 13, 0.82));
}

.game-card--ifrit {
  border-color: rgba(255, 151, 64, 0.24);
  background: linear-gradient(180deg, rgba(65, 32, 20, 0.94), rgba(22, 13, 10, 0.88));
  margin-bottom: 20px;
}

.game-card--arcade .game-card__action {
  width: 90%;
  justify-content: center;
}

.game-card__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(243, 194, 91, 0.12);
  color: #f7d78d;
  font-size: 10px;
}

.game-card h2,
.difficulty-card h3,
.challenge-panel h2,
.board-panel h3 {
  margin: 0 0 10px;
  font-family: 'Press Start 2P', cursive;
  font-size: 13px;
  line-height: 1.5;
}

.game-card p,
.difficulty-card p,
.board-panel p,
#challenge-description {
  margin: 0;
  line-height: 1.5;
  color: rgba(248, 239, 224, 0.88);
}

.game-card ul {
  margin: 14px 0 0 18px;
  padding: 0;
  line-height: 1.5;
}

.difficulty-card {
  display: grid;
  gap: 14px;
}

.difficulty-card__header p {
  margin-top: 8px;
}

.difficulty-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.difficulty-btn {
  padding: 12px 10px;
  cursor: pointer;
}

.difficulty-btn.active {
  background: linear-gradient(180deg, rgba(243, 194, 91, 0.28), rgba(92, 68, 28, 0.52));
  border-color: rgba(243, 194, 91, 0.52);
  color: #fff7df;
}

.start-btn {
  padding: 14px 16px;
  cursor: pointer;
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  color: #fff7df;
  background: linear-gradient(180deg, rgba(95, 170, 76, 0.34), rgba(35, 84, 26, 0.76));
}

.screen--game {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.challenge-panel,
.board-panel {
  padding: 20px;
  min-height: 0;
  overflow: auto;
}

.challenge-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.target-box,
.recipe-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.target-box__animation {
  margin-bottom: 12px;
}

.target-box__video {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.24);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.target-box__title,
.recipe-card__title,
.board-panel__header h3 {
  margin: 0 0 10px;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
}

.target-box__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.target-box__item .block {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex: 0 0 48px;
}

.target-box__name {
  font-size: 18px;
  line-height: 1.4;
}

.recipe-cell,
.inventory-slot,
.craft-slot {
  position: relative;
  border-radius: 0;
  border: 2px solid #2a2a2a;
  background: #8e8e8e;
  box-shadow: inset 2px 2px 0 #d6d6d6, inset -2px -2px 0 #6f6f6f;
  min-width: 0;
}

.craft-slot:hover {
  background: #a8a8a8;
  border-color: #3a3a3a;
}

.status-message {
  min-height: 26px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-btn {
  padding: 12px 14px;
  cursor: pointer;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
}

.action-btn--primary {
  background: linear-gradient(180deg, rgba(243, 194, 91, 0.3), rgba(138, 93, 18, 0.76));
  border-color: rgba(243, 194, 91, 0.38);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.board-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-height: 0;
}

.workspace--brewing {
  grid-template-columns: 1fr;
  justify-items: center;
}

.workspace--brewing .board-panel {
  width: min(100%, 860px);
}

.board-panel--ingredients {
  border-color: rgba(102, 196, 255, 0.18);
  background: linear-gradient(180deg, rgba(19, 30, 38, 0.88), rgba(12, 16, 24, 0.84));
}

.board-panel--ingredients .board-panel__header,
.board-panel--craft .board-panel__header {
  width: 100%;
  text-align: center;
}

.board-panel--ingredients .board-panel__header h3,
.board-panel--craft .board-panel__header h3 {
  font-size: 16px;
  line-height: 1.4;
}

.board-panel--ingredients .board-panel__header p,
.board-panel--craft .board-panel__header p {
  font-size: 14px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.board-panel--ingredients .inventory-grid {
  justify-content: center;
  justify-items: center;
  align-content: start;
  justify-self: center;
  margin-inline: auto;
  width: fit-content;
}

.board-panel--craft .crafting-grid {
  justify-content: center;
  justify-self: center;
  margin-inline: auto;
}

.board-panel--brewing {
  position: relative;
  overflow: hidden;
  border-color: rgba(102, 196, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(18, 14, 10, 0.18), rgba(18, 14, 10, 0.58)),
    radial-gradient(circle at 50% 10%, rgba(102, 196, 255, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(37, 28, 20, 0.92), rgba(17, 14, 12, 0.92));
}

.board-panel--brewing::before {
  content: '';
  position: absolute;
  inset: auto 16px 18px;
  height: 64px;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(60, 45, 30, 0.28), rgba(10, 8, 6, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.board-panel--brewing .board-panel__header,
.board-panel--brewing .crafting-grid {
  position: relative;
  z-index: 1;
}

.board-panel--brewing .crafting-grid {
  width: 100%;
  min-height: 230px;
  justify-content: center;
  align-content: end;
  padding-bottom: 22px;
}

.inventory-grid--brewing {
  grid-template-columns: repeat(9, 48px);
  grid-auto-rows: 48px;
  justify-content: center;
}

.crafting-grid--potion {
  grid-template-columns: repeat(3, 56px);
  grid-template-rows: 56px;
  justify-content: center;
}

.craft-slot--potion {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
}

.result-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 6, 4, 0.72);
  backdrop-filter: blur(10px);
}

.result-overlay.hidden {
  display: none !important;
}

.result-overlay__card {
  width: min(720px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(31, 24, 18, 0.98), rgba(15, 11, 8, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.result-overlay__label {
  margin: 0 0 10px;
  color: #f0c86d;
  text-transform: uppercase;
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1;
  letter-spacing: 1px;
}

.result-overlay[data-tone="success"] .result-overlay__label {
  color: #7ee081;
}

.result-overlay[data-tone="error"] .result-overlay__label {
  color: #ff7b7b;
}

.result-overlay__title {
  margin: 0 0 12px;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(14px, 2vw, 22px);
  line-height: 1.4;
}

.result-overlay[data-tone="success"] .result-overlay__title {
  color: #bff7c0;
}

.result-overlay[data-tone="error"] .result-overlay__title {
  color: #ffb4b4;
}

.result-overlay__text {
  margin: 0 auto;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(248, 239, 224, 0.88);
}

.result-overlay__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 768px) {
  .result-overlay__title {
    font-size: clamp(26px, 8vw, 44px);
  }

  .result-overlay__text {
    font-size: 13px;
  }
}

.board-panel__header p {
  margin: 0;
  color: rgba(248, 239, 224, 0.82);
}

.inventory-grid {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  height: 60px;
}

.crafting-grid {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  grid-template-rows: repeat(3, 48px);
  gap: 0;
  width: fit-content;
  align-content: start;
  justify-content: center;
  margin-inline: auto;
}

.crafting-grid--potion {
  grid-template-columns: repeat(3, 56px);
  grid-template-rows: 56px;
}

.inventory-slot,
.craft-slot {
  width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.inventory-slot.empty {
  display: none;
}

.craft-slot--potion {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
}

.inventory-slot.drag-over,
.craft-slot.drag-over {
  background: rgba(243, 194, 91, 0.16);
  border-color: rgba(243, 194, 91, 0.48);
}

.block {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  cursor: pointer;
  image-rendering: pixelated;
}

.block--floating {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  pointer-events: none;
  width: 48px;
  height: 48px;
  opacity: 0.98;
  transform: translate(-50%, -50%);
}

.block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/sprite.webp') no-repeat;
  background-position: var(--bg-x) var(--bg-y);
  image-rendering: pixelated;
  border-radius: 0;
}

.block-count {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
  user-select: none;
}

.block.dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.recipe-cell .block-count {
  display: none;
}

@media (max-width: 1024px) {
  body {
    overflow: auto;
  }

  .app {
    height: auto;
    min-height: calc(100vh - 69px);
  }

  .screen--menu,
  .screen--game,
  .workspace {
    grid-template-columns: 1fr;
  }

  .mode-card {
    grid-template-columns: 1fr;
  }

  .screen--game {
    align-content: start;
  }

  .workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 12px 14px;
  }

  .top-bar__title {
    font-size: 12px;
  }

  .hero-card,
  .game-card,
  .difficulty-card,
  .mode-card__hero,
  .mode-card .difficulty-card,
  .challenge-panel,
  .board-panel {
    border-radius: 20px;
  }

  .hero-card {
    padding: 22px;
  }

  .mode-card {
    padding: 16px;
  }

  .menu-stack {
    grid-template-columns: 1fr;
  }

  .menu-stack .game-card:nth-child(3) {
    grid-column: auto;
  }

  .hero-card__text,
  .game-card p,
  .difficulty-card p,
  .board-panel p,
  #challenge-description {
    font-size: 16px;
  }

  .difficulty-group {
    grid-template-columns: 1fr;
  }

  .mode-card__actions .start-btn,
  .mode-card__actions .action-btn {
    width: 100%;
    min-width: 0;
  }

  .crafting-grid {
    grid-template-columns: repeat(3, 48px);
  }

  .inventory-grid {
    grid-template-columns: repeat(auto-fit, 48px);
  }
}

@media (max-width: 425px) {
  .app {
    padding: 12px;
  }

  .top-bar {
    gap: 8px;
  }

  .top-bar__title {
    font-size: 10px;
  }

  .back-link,
  .top-bar__button {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-card,
  .game-card,
  .difficulty-card,
  .challenge-panel,
  .board-panel {
    padding: 16px;
  }

  .hero-card h1 {
    font-size: 16px;
  }

  .hero-card__text,
  .game-card p,
  .difficulty-card p,
  .board-panel p,
  #challenge-description {
    font-size: 14px;
  }

  .game-card h2,
  .difficulty-card h3,
  .challenge-panel h2,
  .board-panel h3 {
    font-size: 11px;
  }

  .action-row {
    flex-direction: column;
  }

  .inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  }

  .crafting-grid {
    grid-template-columns: repeat(3, 48px);
  }

  .inventory-slot,
  .craft-slot {
    width: 48px;
    height: 48px;
    min-height: 48px;
  }
}

@media (min-width: 2560px) {
  .app {
    padding: 26px;
  }

  .top-bar {
    padding: 18px 34px;
  }

  .hero-card h1 {
    font-size: 44px;
  }

  .hero-card__text,
  .game-card p,
  .difficulty-card p,
  .board-panel p,
  #challenge-description {
    font-size: 22px;
  }

  .game-card h2,
  .difficulty-card h3,
  .challenge-panel h2,
  .board-panel h3 {
    font-size: 16px;
  }

  .inventory-grid {
    grid-template-columns: repeat(auto-fit, 48px);
  }

  .crafting-grid {
    grid-template-columns: repeat(3, 48px);
  }

  .inventory-slot,
  .craft-slot {
    width: 48px;
    height: 48px;
    min-height: 48px;
  }
}

.game-layout-flex {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  gap: 20px;
  min-height: 600px;
}

.game-left-full {
  flex: 0 0 420px;
  max-width: 480px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 650px;
  gap: 10px;
  background: rgba(18, 14, 10, 0.76);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  padding: 32px 24px 32px 32px;
}

.game-right-stack {
  position: static;
  min-width: 1290px;
  height: 650px;
  margin: 0 0 0 0;
  border-radius: 24px;
  padding: 32px 48px 32px 32px;
  background: rgba(18, 14, 10, 0.76);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 1400px) {
  .game-right-stack {
    min-width: 340px;
    max-width: 98vw;
    padding: 18px 10px 18px 14px;
  }
}
@media (max-width: 1024px) {
  .game-right-stack {
    width: 100vw;
    min-width: 0;
    border-radius: 0;
    padding: 12px 4vw;
    height: auto;
  }
}

.crafting-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 64px) !important;
  grid-template-rows: repeat(3, 64px) !important;
  gap: 0;
  width: fit-content;
  min-width: 192px;
  min-height: 192px;
  max-width: 300px;
  max-height: 300px;
  margin: 0 auto 18px auto;
  justify-content: center;
  align-content: start;
}

@media (max-width: 600px) {
  .crafting-grid {
    grid-template-columns: repeat(3, 48px) !important;
    grid-template-rows: repeat(3, 48px) !important;
    min-width: 144px;
    min-height: 144px;
    max-width: 200px;
    max-height: 200px;
  }
}

.crafting-grid--craft {
  display: grid !important;
  grid-template-columns: repeat(3, 64px) !important;
  grid-template-rows: repeat(3, 64px) !important;
  gap: 0;
  width: fit-content;
  min-width: 192px;
  min-height: 192px;
  max-width: 300px;
  max-height: 300px;
  margin: 0 auto 18px auto;
  justify-content: center;
  align-content: start;
}
@media (max-width: 600px) {
  .crafting-grid--craft {
    grid-template-columns: repeat(3, 48px) !important;
    grid-template-rows: repeat(3, 48px) !important;
    min-width: 144px;
    min-height: 144px;
    max-width: 200px;
    max-height: 200px;
  }
}

.crafting-grid, .crafting-grid--craft {
  gap: 0 !important;
  border-spacing: 0 !important;
  padding: 0 !important;
  background: none !important;
}
.crafting-grid .craft-slot, .crafting-grid--craft .craft-slot {
  margin: 0 !important;
  border-radius: 0 !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #fff #222 #222 #fff !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background-clip: border-box !important;
  background: #909090 !important;
  box-shadow: none !important;
  filter: none !important;
}
.crafting-grid .craft-slot {
  margin: -1px 0 0 -1px !important;
}