#mysteryBoxList {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  scrollbar-width: none;
}

#mysteryBoxList::-webkit-scrollbar {
  display: none;
}

#mysteryBoxList .seller-left {
  margin: 6px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

#mysteryBoxList .seller-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2px;
  border: 1px solid #e2e8f0;
}

#mysteryBoxList .seller-name {
  font-size: 11px;
  color: #475569;
  line-height: 1;
  display: inline-block;
  font-weight: 500;
}

#mysteryBoxList .fb-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #1877f2;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  background: #e7f3ff;
  padding: 2px 6px;
  border-radius: 12px;
  transition: background 0.2s;
  line-height: 1;
}

#mysteryBoxList .fb-link-btn:hover {
  background: #d0e5ff;
}

#mysteryBoxList .fb-link-btn svg {
  width: 12px;
  height: 12px;
  fill: #1877f2;
  display: block;
}

#boxItemsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 8px;
}

.box-item-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  position: relative;
}

.box-item-row input[type="text"],
.box-item-row input[type="number"] {
  width: 100%;
  padding: 8px 10px !important;
  margin: 0 !important;
  font-size: 12px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f8fafc;
  outline: none;
}

.box-item-row input[type="text"]:focus,
.box-item-row input[type="number"]:focus {
  background: #ffffff;
  border-color: #16a34a !important;
}

.item-setting-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
}

.section-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  display: block;
  margin-bottom: 6px;
}

.knob-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}

.knob-container {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.knob-container:active {
  cursor: grabbing;
}

.knob-svg {
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
  border-radius: 50%;
  fill: none !important;
}

.knob-bg {
  fill: none !important;
  stroke: #e2e8f0;
  stroke-width: 8;
}

.knob-progress {
  fill: none !important;
  stroke: #16a34a;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
}

.knob-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  margin-top: -50%;
  margin-left: -50%;
  pointer-events: none;
  transform: rotate(0deg);
}

.knob-pointer::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #16a34a;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.knob-center {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  pointer-events: none;
}

.knob-center span {
  font-size: 24px;
  font-weight: 800;
  color: #16a34a;
  line-height: 1;
}

.knob-center small {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}

.knob-label {
  font-size: 9px;
  color: #94a3b8;
  margin-top: 2px;
}

.mystery-card-choice {
  cursor: pointer;
  flex: 1;
  background: #f8fafc;
  border: 2px dashed #16a34a;
  border-radius: 12px;
  padding: 12px;
  transition: transform 0.2s, background-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mystery-card-choice:active {
  transform: scale(0.95);
  background: #f1f5f9;
}

.mystery-card-choice img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.mystery-card-choice .box-label {
  font-size: 12px;
  font-weight: bold;
  margin-top: 6px;
}
 