:root {
  --ut-yellow: #ffe100;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: #000;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: 'VT323', monospace;
}
img { image-rendering: pixelated; }

/* UT-style box with thick white border */
.ut-box {
  border: 4px solid #ffffff;
  background: #000;
  position: relative;
}
.ut-box-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #ffe100;
  padding: 8px 10px 4px;
  letter-spacing: 1px;
}

/* generic button */
.ut-btn {
  font-family: 'VT323', monospace;
  font-size: 16px;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.1s;
  line-height: 1.1;
}
.ut-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* orange FIGHT-style button */
.ut-fightbtn {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  background: #000;
  color: #ff9d00;
  border: 3px solid #ff9d00;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.1s;
  letter-spacing: 1px;
}
.ut-fightbtn:hover:not(:disabled) {
  background: #ff9d00;
  color: #000;
  box-shadow: 0 0 12px rgba(255,157,0,0.6);
}
.ut-fightbtn:disabled { opacity: 0.4; cursor: not-allowed; }

/* dpad */
.ut-dpad {
  width: 46px;
  height: 46px;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}
.ut-dpad:active { background: #ffe100; color: #000; }

/* input */
.ut-input {
  font-family: 'VT323', monospace;
  font-size: 16px;
  background: #111;
  color: #fff;
  border: 2px solid #fff;
  padding: 4px 8px;
}
.ut-input:focus { outline: none; border-color: #ffe100; }
select.ut-input { cursor: pointer; }

.ut-label {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: #ffe100;
  display: block;
}

.ut-card {
  border: 3px solid #fff;
  background: #0a0a0a;
  padding: 8px;
  text-align: center;
}

.ut-empty {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: #666;
  padding: 16px;
  text-align: center;
  border: 2px dashed #444;
}

.ut-tag {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: #fff;
  border: 2px solid #555;
  padding: 2px 8px;
  display: inline-block;
}

.ut-hpbar {
  height: 16px;
  background: #400;
  border: 2px solid #fff;
}

/* nav active override */
nav .ut-fightbtn.\!bg-yellow-300 { background: #ffe100 !important; color: #000 !important; border-color: #ffe100 !important; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #fff; border: 2px solid #000; }