@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #000;
  overflow: hidden;
  height: 100vh;
  user-select: none;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.badges-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.badge {
  background: #fff;
  border: 2px solid #000;
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 160px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease-out;
  flex-shrink: 0;
}

.badge.show {
  opacity: 1;
  transform: scale(1);
}

.badge-icon {
  font-size: 24px;
}

.badge-info {
  flex: 1;
}

.badge-name {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 2px;
}

.badge-desc {
  font-size: 10px;
  color: #666;
}

.badge-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.badge-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.notif-icon {
  font-size: 24px;
}

.shoe-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  margin-bottom: 16px;
}

.shoe {
  cursor: pointer;
  transition: transform 0.1s;
}

.shoe:active {
  transform: scale(0.95);
}

.shoe img {
  width: 160px;
  height: auto;
  display: block;
}

.upgrades {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upgrade {
  background: #f5f5f5;
  border: 2px solid #000;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 60px;
}

.upgrade:active {
  background: #e0e0e0;
}

.upgrade.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.upgrade.disabled:active {
  background: #f5f5f5;
}

.upgrade-info {
  flex: 1;
}

.upgrade-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.upgrade-count {
  color: #666;
  font-size: 14px;
}

.upgrade-desc {
  font-size: 12px;
  color: #666;
}

.upgrade-cost {
  font-weight: 700;
  font-size: 18px;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border-radius: 4px;
}