body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #222;
}

.top-header {
  background: white;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

h1 {
  margin-top: 0;
  text-align: center;
}

#progressContainer {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(180px, 1fr));

  gap: 10px;

  margin-top: 16px;
}

.progress-card {

  background: #fafafa;

  border-radius: 10px;

  padding: 10px 12px;

  border: 1px solid #ddd;
  
  font-size: 14px
}

.progress-bar {

  width: 100%;

  height: 10px;

  background: #ddd;

  border-radius: 999px;

  overflow: hidden;

  margin-top: 6px;
}

.progress-fill {

  height: 100%;

  background: #4caf50;
}

.trade-section {
  padding: 20px;
}

.trade-card {

  background: white;

  padding: 14px;

  border-radius: 10px;

  margin-bottom: 14px;

  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

#stickers {
  padding: 20px;
}

.team-section {

  margin-bottom: 20px;

  background: white;

  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.team-header {

  background: #1f2937;

  color: white;

  padding: 16px;

  cursor: pointer;

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 18px;

  font-weight: bold;
}

.team-content {

  padding: 16px;

  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(320px, 1fr));

  gap: 16px;
}

.team-content.collapsed {
  display: none;
}

.sticker-card {

  background: #f9f9f9;

  border-radius: 12px;

  padding: 16px;

  border: 1px solid #e3e3e3;

  box-sizing: border-box;

  transition: transform 0.15s ease;
}

.sticker-card:hover {
  transform: translateY(-2px);
}

.sticker-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.user-buttons {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 14px;
}

.user-btn {

  border: none;

  padding: 8px 12px;

  border-radius: 8px;

  cursor: pointer;

  font-weight: bold;

  transition: opacity 0.15s ease;
}

.user-btn:hover {
  opacity: 0.9;
}

.missing {
  background: #d6d6d6;
}

.owned {
  background: #4caf50;
  color: white;
}

.duplicate {
  background: #ff9800;
  color: white;
}

@media (max-width: 1200px) {

  .team-content {

    grid-template-columns:
      repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {

  #progressContainer {

    display: flex;

    overflow-x: auto;

    gap: 10px;

    padding-bottom: 8px;
  }

  .progress-card {

    min-width: 160px;

    flex-shrink: 0;
  }
}

@media (max-width: 768px) {

  .team-content {
    grid-template-columns: 1fr;
  }

  .sticker-card {
    padding: 12px;
  }

  .trade-section {
    padding: 10px;
  }

  #stickers {
    padding: 10px;
  }

  .top-header {
    padding: 14px;
  }
}